There was a problem loading the comments.

IFraming the Trading Opportunities web component

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
How to IFrame Autochartist’s  Trading Opportunities into your website

You can embed the Trading Opportunities web component directly into your website by IFraming the following URL into the relevant section of your site:


If you received a URL after September 2022:




During your onboarding process, our onboarding team provided you with a URL. Simply embed this URL in an <IFrame> tag on your website as follows:

<iframe src="url_from_autochartist"></iframe>

If you received a URL before September 2022:



During your onboarding process, our onboarding team provided you with a URL. Simply embed this URL in an <IFrame> tag on your website as follows:


https://component.autochartist.com/to/?broker_id=<brokerid>&account_type=<account_type>&token=<token>&expire=<expiry>&locale=<language>&user=<user>&trade_now=<trade_now>&layout=<layout>&css=<css>

Parameters are as follows:
<brokerid> – the broker id provided to you in the onboarding pack.
<account_type> – This parameter governs whether this report is slightly delayed or not. Valid values are LIVE or DEMO
<expiry> – Unix timestamp of when this links will expire.
<locale> – Report display language. Browser language preference will be used if not specified. For example en = English, ru = Russian
<user> – a userid of the person accessing the link.
<token> – md5([UserID]|[Account Type]|[Expiry][Secret Key]). See this article for details.
<trade_now> – (Only valid to brokers that subscribe to the TradeNow “trade from email” feature).
<layout> – specifies the layout of the component. Valid options include “vertical”, “horizontal” and “inline”.
<css> – a url to a custom css for style adjustment (optional parameter)

Notes:
  1. The Secret Key component of the <token> parameter is provided to you in your onboarding pack
  2. If you are going to embed a delayed (DEMO) Market Report on a publicly available part of your website, then it would be advisable to set the <user> parameter to a generic username, set the <expiry> to a date far into the future, and the <account_type> to DEMO
  3. If you are going to embed a live (LIVE) Market Report on a private (login required) part of your website, then it would be better to set the <user> parameter to a userid that uniquely identifies the authenticated user, set the <expiry> to a date far into the future, and the <account_type> to LIVE. The reason for using a real userid is to enable Autochartist to provide you with real usage analytics.

Share via

Related Articles

© Autochartist