Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just can't run sinopac_gateway #1

Open
bejoechen opened this issue Feb 6, 2021 · 0 comments
Open

Just can't run sinopac_gateway #1

bejoechen opened this issue Feb 6, 2021 · 0 comments

Comments

@bejoechen
Copy link

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'

@bejoechen bejoechen changed the title Just can run sinopac_gateway Just can't run sinopac_gateway Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant