function naming issue #48
jianwang0212
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in trading_engine
def get_order_book(self, stock_code):
ret_code, order_list_data = self.trade_ctx.order_list_query(order_id="",
status_filter_list=self.status_filter_list,
code=stock_code, start='', end='',
trd_env=self.trd_env,
acc_id=self.acc_id, refresh_cache=False)
if ret_code != RET_OK:
self.default_logger.error(f"Cannot acquire order list {order_list_data}")
return None
return order_list_data
why do we call it get_order_book? its getting our private order list right? orderbook is a totally different thing
Beta Was this translation helpful? Give feedback.
All reactions