Skip to content

Sameer's PR (simple market making bot)#1

Open
sameerlal wants to merge 18 commits into0xbigz:masterfrom
sameerlal:master
Open

Sameer's PR (simple market making bot)#1
sameerlal wants to merge 18 commits into0xbigz:masterfrom
sameerlal:master

Conversation

@sameerlal
Copy link

For full writeup, please see: https://docs.google.com/document/d/1-RLxJFIUnLdCsSEhgFzScwMichheS_FlFB17M6HmmYQ/edit#

The simple_mm.py can be run from the command line and will execute market maker style orders at specified intervals. The output is saved and can then be inspected in a jupyter notebook.

Right now, I included my own keypair secret where I airdropped SOL to the account and it’s ready to go.

Setup:
(1) Include the following in ~/.config/solana/key.json: (On google docs)
I have already airdropped tokens to this account, registered with drift, and added collateral.
(2) Set: export ANCHOR_WALLET=’~/.config/solana/key.json”
(3) Run: python3 simple_mm.py

0xbigz added a commit that referenced this pull request May 30, 2023
0xbigz added a commit that referenced this pull request Oct 27, 2023
* fixes/limit-grid-edge-cases

* add --authority param

* spacing tweak 1

* spacing tweak #1 revert

* init intialize_vault.py (wip)

* initialize_vault.py: fix signers err

* cleanup

* conditionalize

---------

Co-authored-by: 0xbigz <“83473873+0xbigz@users.noreply.github.com”>
0xbigz added a commit that referenced this pull request Jan 24, 2024
* fixes/limit-grid-edge-cases

* add --authority param

* spacing tweak 1

* spacing tweak #1 revert

* init intialize_vault.py (wip)

* initialize_vault.py: fix signers err

* cleanup

* conditionalize

* update-driftpy-7-attempt-2

* work tx send

---------

Co-authored-by: 0xbigz <“83473873+0xbigz@users.noreply.github.com”>
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

Comments