Direction

class hokohoko.entities.Direction(value)

Bases: Enum

Specifies the requested trade direction when placing an Order.

BUY = 0

Specifies a buy trade (exchange rate expected to increase).

SELL = 1

Specified a sell trade (exchange rate expected to decrease).

DONT_BUY = 2

Lets the benchmark know not buying this symbol is deliberate. Auto-generated in the absence of an appropriate BUY.

DONT_SELL = 3

Lets the benchmark know not selling this symbol is deliberate. Auto-generated in the absence of an appropriate SELL.