There was a problem loading the comments.

Signup Web components Developer guide

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Autochartist Email Signup Web components - Installation only

This is a guide on how to include the Autochartist Email Signup Web components into your own website or web application. These are all email subscription forms that are integrated to the relevant mass email sending systems.   

Resources (Latest version at time of writing: 2.9.7)







The above zipped bundle consists of 5 folders that correspond to these email types: 
signup-cs (Correlating Signals) 
signup-feeds (Trade of the day and Weekly Top 5) 
signup-hie (Upcoming High Impact Events
signup-main (All emails) 
signup-mr (Market Reports).

Each component consists of a Javascript and CSS file that can be included in your website to embed the Autochartist Email Signup forms as Web components.
Each component also has a demo-index.html file which has the Javascript and CSS file included already, so that you can easily view a demo of the signup component.

The Javascript and CSS file can be included with an href to the physical file downloaded to your server, or you could link to it,

Here is a snippet of how you would use it linking to the file hosted on our servers:

<head>
....
<link href="REPLACE THIS WITH ONE OF THE CSS FILES IN THE RESOURCES SECTION" media="print" onload="this.media='all'" rel="stylesheet">
</head>

<body>
...
<signup-cs|signup-feeds|signup-mr|signup-hie|signup-main bid="number"
           css="link to css file, see default-overridable.css as an example"
           demo="number"
           expire="number"
           hide="comma seperated strings"
           locale="string"
           token="string"
           user="string"></signup-cs>
<script src="REPLACE THIS WITH ONE OF THE JS FILES IN THE RESOURCES SECTION" type="module"></script>
...
</body>


Here is a snippet of how you would use it linking to the physical file:



<head>
....
<link href="signup-cs.css" media="print" onload="this.media='all'" rel="stylesheet">
</head>

<body>
...
<signup-cs|signup-feeds|signup-mr|signup-hie|signup-main bid="number"
           css="link to css file, see default-overridable.css as an example"
           demo="number"
           expire="number"
           hide="comma seperated strings"
           locale="string"
           token="string"
           user="string"></signup-cs>
<script src="signup-cs.js" type="module"></script>
...
</body>
The following parameters are required:
bid: [Broker id]. Included with the authentication parameters you should have been provided with 

  • [signup-cs] = Element tag used to include the correlating signals web component
  • [signup-feeds] = Element tag used to include the feeds web component
  • [signup-mr] = Element tag used to include the market reports web component
  • [signup-hie] = Element tag used to include the high impact news web component
  • [signup-main] = Element tag used to include the main web component which shows all available email types

  • css: [External or relative link to css file]. See default-overridable.css as example, it has all the ID selectors in one file for easy styling. 
  • demo: [Account type (1 or 0)]. Included with the authentication parameters you should have been provided with  
  • expire: [Expiry timestamp value]. Included with the authentication parameters you should have been provided with 
  • hide: [Comma seperated string list]. This is to hide specific parts of the signup component:     
  • tc: hide terms and conditions explain: hide email type explanations(content below email type) 
  • powered_by: hide Powered by autochartist footer 
  • locale: [Language locale of page]. To display in a languages other than English. 
  • token: [login token]. Included with the authentication parameters you should have been provided with 
  • user: [username]. Included with the authentication parameters you should have been provided with

CSS Styling

To override the styles of the webcomponent, use the "default-overridable.css" file , make a copy of it and start styling it as you want, the selectors all correspond to a specific section of the component. After that, host the css file on a server, and link the css property to the url of the css file.

The Autochartist Signup Web component will start up only with valid parameters given.

Example of Market Reports Signup form:
https://reports.autochartist.com/signup/market-reports 
(This link needs valid authentication URL parameters)

15899e9a45c145ea5a2a8fa635d17dea6a159a820ac783b886c8c46cf34d07ca608521ca9c58d469?t=5dba5bb065977eadd6d4d686046e896a

Example of Correlating Alerts signup form:
https://reports.autochartist.com/signup/correlating-signals
(This link needs valid authentication URL parameters)
828418c3323f1e852c1c7434ca8d297c2548fcd7225e6e4c073bbd630d02a3d7c78a5431f024e34f?t=8ef1ea13b941859a5b38fb1532df1822

Example of Feeds signup form: 
https://reports.autochartist.com/signup/feeds
(This link needs valid authentication URL parameters)

24a0649bebd94d537f74e3c30958437cbbf7e1a1bb6d447ead5fa7d6ec01ad24ad13da80fb624ba8?t=812291b0777f6bb94bb5a6be78d8e356

Example of signup form for all emails
https://reports.autochartist.com/signup/
(This link needs valid authentication URL parameters)

ca89f2650b362d4d989a0d649f27269021296c6360a5d0c1f1177cbddb84d236158e206d6eabf38d?t=b29291fa43df307e37424da887c67198

Share via

Related Articles

© Autochartist