Skip to content

cryptopavelsan/openbook-mm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Book Market Maker

An HFT market making client for OpenBook on Solana.

  • Installation Guide: SETUP.md
  • SOL/USDC Strategy: OpenBookSolUsdc
  • Donations: skynet.sol (skynetDj29GH6o6bAqoixCpDuYtWqi1rm8ZNx1hB3vq)

Adding New Strategy

  • 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 into StrategyManager constructor.
  • Add myNewStrategy.start() call inside of StrategyManager.strategyStartup().

Architecture

  • OpenBookSolUsdc extends Strategy
    • implements start()
  • Strategy contains 1 void method start()

Future:

  • OpenBookSolUsdc extends OpenBookStrategy
    • Provides marketId
    • implements start()
  • OpenBookStrategy extends Strategy

Additional Notes

  • The current state is a proof-of-concept, but the project is being modularized in this repo.

License

  • MIT

About

HFT market making client for openbook-dex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.6%
  • Dockerfile 0.4%