Skip to content

Commit b26bae0

Browse files
committed
Added useful enums
1 parent 25dbf48 commit b26bae0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

async_rithmic/enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ class DataType(enum.IntEnum):
1212
OrderType = pb.request_new_order_pb2.RequestNewOrder.PriceType
1313
OrderDuration = pb.request_new_order_pb2.RequestNewOrder.Duration
1414
TransactionType = pb.request_new_order_pb2.RequestNewOrder.TransactionType
15+
OrderPlacement = pb.request_new_order_pb2.RequestNewOrder.OrderPlacement
1516

1617
LastTradePresenceBits = pb.last_trade_pb2.LastTrade.PresenceBits
1718
BestBidOfferPresenceBits = pb.best_bid_offer_pb2.BestBidOffer.PresenceBits
1819
OrderBookPresenceBits = pb.order_book_pb2.OrderBook.PresenceBits
1920

2021
ExchangeOrderNotificationType = pb.exchange_order_notification_pb2.ExchangeOrderNotification.NotifyType
22+
ExchangeOrderBracketType = pb.exchange_order_notification_pb2.ExchangeOrderNotification.BracketType
2123

2224
TimeBarType = pb.request_time_bar_replay_pb2.RequestTimeBarReplay.BarType
2325

0 commit comments

Comments
 (0)