I have 3 accounts in my moomoo account which is simulate HK, simulate US and Real US equity accounts. However, it only returns my Real US equity account when I use this code:
trd_ctx = OpenSecTradeContext(filter_trdmarket=TrdMarket.US, host='127.0.0.1', port=11111, is_encrypt=None, security_firm=SecurityFirm.FUTUINC)
ret, data = trd_ctx.get_acc_list()
And it only return my Simulate HK account with this code
trd_ctx = OpenSecTradeContext( host='127.0.0.1', port=11111, is_encrypt=None)
ret, data = trd_ctx.get_acc_list()
None of the codes above return my simulate US account. Did I do something wrong?
I have 3 accounts in my moomoo account which is simulate HK, simulate US and Real US equity accounts. However, it only returns my Real US equity account when I use this code:
trd_ctx = OpenSecTradeContext(filter_trdmarket=TrdMarket.US, host='127.0.0.1', port=11111, is_encrypt=None, security_firm=SecurityFirm.FUTUINC)
ret, data = trd_ctx.get_acc_list()
And it only return my Simulate HK account with this code
trd_ctx = OpenSecTradeContext( host='127.0.0.1', port=11111, is_encrypt=None)
ret, data = trd_ctx.get_acc_list()
None of the codes above return my simulate US account. Did I do something wrong?