Ticker: Ticker

TickerR Documentation

Ticker

Description

Ticker Class

Format

An R6Class generator object

Public fields

symbol

character

priceChange

character

priceChangePercent

character

prevClosePrice

character

lastPrice

character

bidPrice

character

bidQty

character

askPrice

character

askQty

character

openPrice

character

highPrice

character

lowPrice

character

volume

character

quoteVolume

character

openTime

integer

closeTime

integer

firstId

integer

lastId

integer

count

integer

Methods

Public methods


Method new()

Usage
Ticker$new(
  symbol,
  priceChange,
  priceChangePercent,
  prevClosePrice,
  lastPrice,
  bidPrice,
  bidQty,
  askPrice,
  askQty,
  openPrice,
  highPrice,
  lowPrice,
  volume,
  quoteVolume,
  openTime,
  closeTime,
  firstId,
  lastId,
  count,
  ...
)

Method toJSON()

Usage
Ticker$toJSON()

Method fromJSON()

Usage
Ticker$fromJSON(TickerJson)

Method toJSONString()

Usage
Ticker$toJSONString()

Method fromJSONString()

Usage
Ticker$fromJSONString(TickerJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Ticker$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.