{"id":13762415,"url":"https://github.com/lmvdz/zo-mm","last_synced_at":"2025-05-10T15:31:22.540Z","repository":{"id":150605804,"uuid":"489528042","full_name":"lmvdz/zo-mm","owner":"lmvdz","description":"01.xyz Market Maker - Solana","archived":false,"fork":false,"pushed_at":"2022-07-14T19:30:48.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-12T17:33:56.446Z","etag":null,"topics":["bot","cryptocurrency","solana","web3js"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmvdz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-07T00:30:59.000Z","updated_at":"2024-01-24T10:19:02.000Z","dependencies_parsed_at":"2023-04-25T06:17:21.499Z","dependency_job_id":null,"html_url":"https://github.com/lmvdz/zo-mm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmvdz%2Fzo-mm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmvdz%2Fzo-mm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmvdz%2Fzo-mm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmvdz%2Fzo-mm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmvdz","download_url":"https://codeload.github.com/lmvdz/zo-mm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253436431,"owners_count":21908326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","cryptocurrency","solana","web3js"],"created_at":"2024-08-03T14:00:42.036Z","updated_at":"2025-05-10T15:31:22.279Z","avatar_url":"https://github.com/lmvdz.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# 01.xyz Perp DEX Market Making Bot  \n\n\u003e Should be easily configurable by anyone, plug and play  \n\u003e Should place both ask and bid orders around some mid price  \n\u003e The spread should be configurable  \n\u003e Should automatically rebalance, and be able to maintain 24/7 liquidity  \n\u003e Written in either TS, Python, or Rust  \n\u003e Should be Open Sourced and available to all  \n\n\n### Install  \n\n`git clone git@github.com:lmvdz/zo-mm.git`  \n`cd zo-client`  \n`git clone git@github.com:01protocol/zo-client.git`  \n`yarn`  \n`yarn build`  \n`cd ..`  \n`yarn`\n\n### Setup  \n\n`cp .env .env.local`  \n\n```.env\n# the private key of the bot can be UInt8Array or base58\nBOT_KEY=\n\n# the RPC url\nRPC_URL=https://ssc-dao.genesysgo.net/\n\n# the delimiter which separates the markets to make\nACTIVE_MARKETS_DELIMITER=,\n\n# the pairs which the bot should act on ( BTC,ETH,SOL,LUNA,AVAX,APE,NEAR,GMT )\nACTIVE_MARKETS=BTC,ETH\n\n# how often in seconds the bot should cancel open orders and open fresh orders using the MM_SPREAD_PERCENTAGE to determine the distance from mark price\nREBALANCE_INTERVAL=60\n\n# the total distance from short to long with mark price residing in the middle\nMM_SPREAD_PERCENTAGE=0.1\n\n# the maximum loss percentage to allow before closing an open position\nMAX_LOSS=0.25\n\n# the maximum gain percentage to allow before closing an open position\nMAX_GAIN=0.25\n```\n\n\n### Running\n\n`yarn start`\n\n![image](https://user-images.githubusercontent.com/2179775/167247190-00387c13-f40c-4368-86dc-2e9107a7a16e.png)\n![image](https://user-images.githubusercontent.com/2179775/167247194-69d451c4-9155-4b79-bd82-5acf02d012c0.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmvdz%2Fzo-mm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmvdz%2Fzo-mm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmvdz%2Fzo-mm/lists"}