Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.
This repository was 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

@dataartisan

Description

@dataartisan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions