-
Notifications
You must be signed in to change notification settings - Fork 28
Order
Thiago W. Alves edited this page Mar 16, 2019
·
10 revisions
-
type : shift::Order::Type
. 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
size : int
executed_size : int
price : float
executed_price : float
id : str
-
status : shift::Order::Status
. The possible values are:- shift.Order.PENDING_NEW
- shift.Order.NEW
- shift.Order.PARTIALLY_FILLED
- shift.Order.FILLED
- shift.Order.CANCELED
- shift.Order.PENDING_CANCEL
- shift.Order.REJECTED
timestamp : datetime.datetime
-
type : shift::Order::Type
The type of the order.
-
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