Forecast Widget

Introduction

You can place a small code in your web page in order to get our white label widget in your page.

Installation Steps

<html>
<head>
<script type="text/javascript">
var fxs_widget_config = {
Culture: 'en-US'
};
</script>
</head>
<body>
<div style="width:80%;margin:auto;">
<div fxs_widget fxs_name="forecast" fxs_pair="fxs-3212164" fxs_class_size="fxs_widget_big"></div>
</div>
<script type="text/javascript" src="https://markettools.fxstreet.com/v1/WidgetBaseJs/GetWidgetBaseJs"></script>
</body>
</html>

Steps

  1. Place the configuration in the head.
  2. Place a div with the attribute fxs_widget in it, the name of the widget forecast in this case, and the pair you want to show. You can get the list of assets available through our API, market tools available assets (security key needed)
  3. You need to place the script that calls to our JS on the bottom of the body.

Configuration Options

Culture (Culture)

The culture of the widget:

  • ar-AE
  • zh-CN
  • id-ID
  • tr-TR
  • fr-FR
  • de-DE
  • zh-CHT
  • en-US
  • ru-RU
  • es-ES

Class size (fxs_class_size)

We have 3 sizes of every widget:

  • fxs_widget_default
  • fxs_widget_mini
  • fxs_widget_big

Security

Widget security is done via white-list your domain, so please contact [email protected] with your domain list to be whitelisted.

Samples