Skip to content

BestPrice

Thiago W. Alves edited this page Sep 11, 2019 · 14 revisions

Constructors:

Member Functions:


Parameters

  • global_bid_price : float

    Current best global bid price.

  • global_bid_size : int

    Current available volume at the best global bid price level (1 size = 100 shares).

  • global_ask_price : float

    Current best global ask price.

  • global_ask_size : int

    Current available volume at the best global ask price level (1 size = 100 shares).

  • local_bid_price : float

    Current best local bid price.

  • local_bid_size : int

    Current available volume at the best local bid price level (1 size = 100 shares).

  • local_ask_price : float

    Current best local ask price.

  • local_ask_size : int

    Current available volume at the best local ask price level (1 size = 100 shares).

Return Value

None


This method returns the best bid price.

Parameters

NA

Return Value

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


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 (1 size = 100 shares).


This method returns the best ask price.

Parameters

NA

Return Value

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


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 (1 size = 100 shares).


This method returns the best global bid price.

Parameters

NA

Return Value

float : Current best global bid price.


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 (1 size = 100 shares).


This method returns the best global ask price.

Parameters

NA

Return Value

float : Current best global ask price.


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 (1 size = 100 shares).


This method returns the best local bid price.

Parameters

NA

Return Value

float : Current best local bid price.


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

Parameters

NA

Return Value

int : Current available volume at the best local bid price level (1 size = 100 shares).


This method returns the best local ask price.

Parameters

NA

Return Value

float : Current best local ask price.


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

Parameters

NA

Return Value

int : Current available volume at the best local ask price level (1 size = 100 shares).