Web Widgets
Popping Trades

Introduction

This stand-alone website widget lists profitable closed orders from the Cooma social trading platform and allows users to go to the social platform with a click of a button.

Widget script installation

Implement the widget by adding the following script to your webpage, before the closing </body> tag.

<script src="https://cooma.s3.amazonaws.com/widgets/cooma-popping-trades/cooma-popping-trades.js"></script>

Widget Attributes

The widget supports the following attributes:

AttributeTypeMandatoryDescription
data-max-timeoutNumberNoMax time for every trade pop (Default "3")
data-themeHexNoThe widget color theme (Default "00217D")
data-theme-text-colorHexNoDefault is auto Black or White
data-pathStringNoLink to the social trading platform page
data-backgroundHexNoThe widget container background (Default "FFFFFF")

Dom Integration

To add the widget on your site, just put the following div HTML tag to the desired place on your web page, and the script will draw the widget.

<div
	class="cooma-popping-trades heavy-theme"
	data-max-timeout="3"
	data-path="/trading-platform-page-link/"
	data-theme="00217D"
	data-background="ffffff"
></div>

Live Example

From the above code, you can see that the widget is responsive and can be placed anywhere on the page