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

tdaBroker.py - build_account_position() - ERROR - No strike price found for [TICKER] #85

Open
dataartisan opened this issue Jun 7, 2021 · 1 comment

Comments

@dataartisan
Copy link

Describe the bug
2021-06-07 16:30:34,903 - cspByDeltaStrategy.py - process_closing_orders() - DEBUG - process_closing_orders
2021-06-07 16:30:34,903 - cspByDeltaStrategy.py - build_closing_orders() - DEBUG - build_closing_orders
2021-06-07 16:30:35,662 - tdaBroker.py - build_account_position() - ERROR - No strike price found for CRSR
2021-06-07 16:30:35,663 - tdaBroker.py - build_account_position() - ERROR - No strike price found for CRSR_071621C35
2021-06-07 16:30:35,663 - cspByDeltaStrategy.py - check_for_closing_orders() - DEBUG - check_for_closing_orders
2021-06-07 16:30:35,663 - botMediator.py - process_strategies() - INFO - Sleeping...

ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35
ERROR - No strike price found for CRSR
ERROR - No strike price found for CRSR_071621C35

To Reproduce
Start the bot where other positions are present.

Expected behavior
This behavior changed in the latest update. If other positions are open for puts, it spawns an error as described above. The bot was previously able to calculate the strike prices with no errors.

@pattertj
Copy link
Owner

Thanks for reporting this, I'll take a look this weekend at it!

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

2 participants