Skip to content

Conversation

@whankinsiv
Copy link
Contributor

This PR introduces a symmetrical grid trading strategy that places static price levels above and below an initial center price and executes batched fills as those levels are crossed.

The strategy relies on StrategyAuthorization remaining constant in the datum for self destination orders. This authorization is used as the stable key for persisting GridState in the kv store, allowing the strategy to retain its initial deposit amounts, center price, and grid progress across executions.

Partial fills are supported when available inventory is insufficient to cover all crossed grid levels, and the grid offset is advanced only for levels that are actually filled.

Signed-off-by: William Hankins <william@sundae.fi>
Signed-off-by: William Hankins <william@sundae.fi>
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