-
Notifications
You must be signed in to change notification settings - Fork 28
Order
Thiago W. Alves edited this page Feb 6, 2019
·
10 revisions
- type
- symbol
- size
- price
- id
- timestamp
-
type : shift::Order::Type
The type of the order. The possible values are:
- shift.Order.LIMIT_BUY
- shift.Order.LIMIT_SELL
- shift.Order.MARKET_BUY
- shift.Order.MARKET_SELL
- shift.Order.CANCEL_BID
- shift.Order.CANCEL_ASK
-
symbol : str
The symbol of the order.
-
size : int
The size of the order (1 size = 100 shares).
-
price : float
The price of the order. It is only required for market orders.
-
id : str
The ID of the order. It is only required for the cancellation of orders.
None
Overview
Classes