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

feat: in-memory trading engine (WIP) #48

Merged
merged 3 commits into from
Feb 4, 2025
Merged

Conversation

piotrostr
Copy link
Owner

@piotrostr piotrostr commented Feb 4, 2025

Core Components:

  • Trading engine with pipeline-based execution flow
  • Condition evaluator for price-based triggers
  • Order executor supporting both EVM and Solana transactions
  • Price update handling with efficient pipeline evaluation

Technical Details:

  • Thread-safe state tokio::RwLock'ed
  • Support for complex condition trees (AND/OR operations)
  • Integration with Privy API for transaction signing
  • asset subscription system for filtering price updates

Key Features:

  • Multi-step trading pipelines with conditional execution
  • Real-time price monitoring and order execution
  • Configurable price conditions

@piotrostr piotrostr merged commit 0bb624c into main Feb 4, 2025
9 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.

1 participant