Introduction

This stand-alone website widget lists the best traders 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-trading-leaders/cooma-trading-leaders.js"></script>

Widget Attributes

The widget supports the following attributes:

AttributeTypeMandatoryDescription
data-rowsNumberNoRows to show, from 1 to 3
data-pathStringNoLink to the social trading platform page

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-trading-leaders top-menu-table"
	data-path="/trading-platform-page-link/"
	data-rows="2"
></div>

Live Example

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