There was a problem loading the comments.

IFraming the Autochartist Risk Calculator

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

How to IFrame Autochartist’s Risk Calculator into your website

 

There are two possible ways of implementing the Risk Calculator into your website:

  • The first option is where you can embed the Risk Calculator web component directly into your website by iFraming the following URL into the relevant section of your site:

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>

  • The second option is to create user specific URLs (Recommended):

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/rc/?broker_id=<brokerid>&account_type=<account_type>&token=<token>&expire=<expiry>&locale=<language>&user=<user>

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.

Notes:

  1. The Secret Key component of the <token> parameter is provided to you in your onboarding pack

Share via

Related Articles

© Autochartist