Skip to content
On this page

Trades

Simple trades

Data Format

js
[<timestamp>, <dir>, <price>, <?label>]
 <dir> :: 1 for buy -1 for sell
 <price> :: trade price
 <?label> :: trade label

Trades.buyColor

  • Type: color
  • Default: '#08b2c6'

Trades.sellColor

  • Type: color
  • Default: '#e42633'

Trades.radius

  • Type: number
  • Default: 4

Trades.showLabels

  • Type: boolean
  • Default: true

Trades.markerOutline

  • Type: boolean
  • Default: true

Trades.outlineWidth

  • Type: number
  • Default: 4

Released under the MIT License.