18e39bc197
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com> |
||
---|---|---|
.. | ||
params | ||
Dockerfile.mm | ||
README.md | ||
log-perp-ob.ts | ||
market-maker.ts | ||
sequence-enforcer-util.ts | ||
taker.ts |
README.md
This directory contains a sample market maker (market-maker.ts
) in typescript, which can be run using ts-node.
The environment variables required are
MANGO_ACCOUNT_PK
- public key of the mango accountKEYPAIR
- private key of the owner of the mango accountMB_CLUSTER_URL
- RPC cluster url
Notes:
- Quoting is based off of kraken
- see default.json for quoting rules
Future:
- Hedging perp positions on mango-v4 spot
- Observing fills and reacting earlier
- Quoting off of binance