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

[TradingModes] allow starting without trading mode #2709

Merged
merged 1 commit into from
Aug 21, 2024
Merged

[TradingModes] allow starting without trading mode #2709

merged 1 commit into from
Aug 21, 2024

Conversation

GuillaumeDSM
Copy link
Member

No description provided.

@GuillaumeDSM GuillaumeDSM self-assigned this Aug 20, 2024
@GuillaumeDSM GuillaumeDSM enabled auto-merge (rebase) August 20, 2024 10:09
trading_mode = trading_api.get_trading_modes(exchange_managers[0])[0]
except IndexError:
import tentacles.Trading.Mode
trading_mode = tentacles.Trading.Mode.BlankTradingMode(exchange_managers[0].config, exchange_managers[0])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should log something when we fallback to BlankTradingMode

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up

@GuillaumeDSM GuillaumeDSM merged commit bd0c251 into dev Aug 21, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants