How to iframe Autochartist’s Our Favourites into your website
There are two possible ways of implementing the Our Favourites Component into your website:
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>
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/of/?broker_id=<brokerid>&account_type=<account_type>&token=<token>&expire=<expiry>&locale=<language>&user=<user>&layout=<layout>&css=<css>
The 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 user ID of the person accessing the link.
<token> – md5([UserID]|[Account Type]|[Expiry][Secret Key]). See this article for details.
<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: