Skip to content

BestPrice

Thiago W. Alves edited this page Feb 6, 2019 · 14 revisions

Constructors:

Member Functions:


BestPrice(globalBidPrice, globalBidSize, globalAskPrice, globalAskSize, localBidPrice, localBidSize, localAskPrice, localAskSize)

Parameters

  • globalBidPrice : float

  • globalBidSize : int

  • globalAskPrice : float

  • globalAskSize : int

  • localBidPrice : float

  • localBidSize : int

  • localAskPrice : float

  • localAskSize : int

Return Value

None


getBidPrice()

This method returns the best bid price.

Parameters

NA

Return Value

float : Current best bid price, among both global and local order books.


getBidSize()

This method returns the available volume at the best bid price level.

Parameters

NA

Return Value

int : Current available volume at the best bid price level, among both global and local order books.


getAskPrice()

This method returns the best ask price.

Parameters

NA

Return Value

float : Current best ask price, among both global and local order books.


getAskSize()

This method returns the available volume at the best ask price level.

Parameters

NA

Return Value

int : Current available volume at the best ask price level, among both global and local order books.


getGlobalBidPrice()

This method returns the best global bid price.

Parameters

NA

Return Value

float : Current best global bid price.


getGlobalBidSize()

This method returns the available volume at the best global bid price level.

Parameters

NA

Return Value

int : Current available volume at the best global bid price level.


getGlobalAskPrice()

This method returns the best global ask price.

Parameters

NA

Return Value

float : Current best global ask price.


getGlobalAskSize()

This method returns the available volume at the best global ask price level.

Parameters

NA

Return Value

int : Current available volume at the best global ask price level.


Clone this wiki locally