Deal

Path in Local Pack include/deal.h

Description of the deal.

Methods

Name Description
aggressor_side() Direction of the aggressor order.
price() Deal price.
amount() Deal volume.
server_time() Deal server time.
orders() Orders matched in the deal.

Methods description

aggressor_side()

Returns a direction of the aggressor order, i.e. of the order which was placed later.

C++
Python
Dir aggressor_side() const;
def aggressor_side(self)

price()

Returns a price of the deal.

C++
Python
Price price() const;
def price(self)

amount()

Returns a volume of the deal, i.e. lots' volume which were executed in this deal.

C++
Python
Amount amount() const;
def amount(self)

server_time()

Returns a server time of the deal execution in microseconds.

C++
Python
Microseconds server_time() const;
def server_time(self)

orders()

Returns an array of two pointers to orders, which were matched in this deal.

C++
Python
const RawOrdersArray orders() const;
def orders(self)

results matching ""

    No results matching ""