You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 327, in get_stock_account_unreal_profitloss
stock_type, currency, filter_rule, account
File "shioaji\backend\http\main.pyx", line 62, in shioaji.backend.http.main.HttpApi.get_stock_account_unreal_profitloss
File "shioaji\backend\http\account.pyx", line 214, in shioaji.backend.http.account.AccountUnRealProfitLoss.init
File "shioaji\backend\http\account.pyx", line 217, in shioaji.backend.http.account.AccountUnRealProfitLoss.update
File "shioaji\backend\http\stock\account.pyx", line 52, in shioaji.backend.http.stock.account._query_unreal_profitloss
AttributeError: 'NoneType' object has no attribute 'broker_id'
The text was updated successfully, but these errors were encountered:
bejoechen
changed the title
Just can run sinopac_gateway
Just can't run sinopac_gateway
Feb 7, 2021
Lots of errors, below is one of them.
line 327, in get_stock_account_unreal_profitloss
stock_type, currency, filter_rule, account
File "shioaji\backend\http\main.pyx", line 62, in shioaji.backend.http.main.HttpApi.get_stock_account_unreal_profitloss
File "shioaji\backend\http\account.pyx", line 214, in shioaji.backend.http.account.AccountUnRealProfitLoss.init
File "shioaji\backend\http\account.pyx", line 217, in shioaji.backend.http.account.AccountUnRealProfitLoss.update
File "shioaji\backend\http\stock\account.pyx", line 52, in shioaji.backend.http.stock.account._query_unreal_profitloss
AttributeError: 'NoneType' object has no attribute 'broker_id'
The text was updated successfully, but these errors were encountered: