An HFT market making client for OpenBook on Solana.
- Installation Guide: SETUP.md
- SOL/USDC Strategy: OpenBookSolUsdc
- Donations: skynet.sol (skynetDj29GH6o6bAqoixCpDuYtWqi1rm8ZNx1hB3vq)
- Create class MyNewStrategy
extends Strategy
. - Create bean of MyNewStrategy using
@Component
annotation, or in a config. - Override
void start()
from the Strategy interface with business logic. - Wire
MyNewStrategy
bean intoStrategyManager
constructor. - Add
myNewStrategy.start()
call inside ofStrategyManager.strategyStartup()
.
OpenBookSolUsdc
extendsStrategy
- implements
start()
- implements
Strategy
contains 1 void methodstart()
Future:
OpenBookSolUsdc
extendsOpenBookStrategy
- Provides
marketId
- implements
start()
- Provides
OpenBookStrategy
extendsStrategy
- The current state is a proof-of-concept, but the project is being modularized in this repo.
- MIT