Repository navigation
Pre-trade risk check hooks — independent risk governance for strategies #2454
likidodefi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Idea
bbgo's dependency injection architecture is clean — strategies embed
OrderExecutor,ExchangeSession, etc. and the framework injects them at runtime.One thing that could complement this: a pre-order hook that strategies can call before
OrderExecutor.SubmitOrders()to check if current market conditions support the proposed order size.What it looks like
All reactions