Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants