{"id":15021093,"url":"https://github.com/quedexnet/java-market-maker","last_synced_at":"2025-10-27T13:30:52.658Z","repository":{"id":79452375,"uuid":"99906618","full_name":"quedexnet/java-market-maker","owner":"quedexnet","description":"Simple Market Making bot for Quedex Bitcoin Derivatives Exchange.","archived":false,"fork":false,"pushed_at":"2018-04-17T11:27:44.000Z","size":88,"stargazers_count":24,"open_issues_count":0,"forks_count":22,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-01T05:41:21.229Z","etag":null,"topics":["algo-trading","bitcoin","bitcoin-options","bitcoin-wallet","derivatives","exchange","futures","java","market-making","options","quedex"],"latest_commit_sha":null,"homepage":"https://quedex.net/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quedexnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-10T09:35:05.000Z","updated_at":"2023-09-02T09:08:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"857166d2-48b2-495b-a4bb-664e76e113db","html_url":"https://github.com/quedexnet/java-market-maker","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.5,"last_synced_commit":"7e31e703c07759cfda8cac54709437713463114c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quedexnet%2Fjava-market-maker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quedexnet%2Fjava-market-maker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quedexnet%2Fjava-market-maker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quedexnet%2Fjava-market-maker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quedexnet","download_url":"https://codeload.github.com/quedexnet/java-market-maker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238497709,"owners_count":19482301,"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":["algo-trading","bitcoin","bitcoin-options","bitcoin-wallet","derivatives","exchange","futures","java","market-making","options","quedex"],"created_at":"2024-09-24T19:56:07.548Z","updated_at":"2025-10-27T13:30:52.272Z","avatar_url":"https://github.com/quedexnet.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Market Maker in Java\n\n\u003ca href=\"https://travis-ci.org/quedexnet/java-market-maker/\"\u003e\u003cimg src=\"https://travis-ci.org/quedexnet/java-market-market.svg?branch=master\" align=right\u003e\u003c/a\u003e\n\n\nAn implementation of a dummy market making bot which intends to be a starting point showing a possible way of \nintegration with Quedex Java API. Before starting to work with this code, please read the \n[documentation][java-api-docs] of our Java API.\n\nThe implementation of the bot MUST NOT be considered complete and ready for production use. The pricing algorithms, risk\nmanagement, handling of WebSocket disconnects (lack thereof), etc. are just to illustrate a simple use case. \n\n## Running\n\nTo run the bot you need to have Java 8 installed (Oracle Java is recommended).\n\n### Standalone JAR\n\nThe following steps are for Linux (tested on Ubuntu 16.04):\n\n1. Execute `./gradlew shadowJar` from the main project directory (`java-market-maker`).\n2. Jar will be created in `java-market-maker/build/libs/` named `java-market-maker-\u003cversion\u003e-all.jar`.\n3. Copy the jar to a convenient location, place your `quedex-config.properties` and `market-maker.properties`\n   (examples may be found in `java-market-maker/src/main/resources`) next to it.\n4. Run the jar with `java -jar java-market-maker-\u003cversion\u003e-all.jar quedex-config.properties market-maker.properties`. To\n   exit hit CTRL + C.\n\n### From an IDE\n\n0. Clone the repository.\n1. Import the gradle project to your favourite IDE (tested with IntelliJ).\n2. Fetch the dependencies (should happen automatically).\n3. Rename the file `quedex-config.properties.example` in `java-market-maker/src/main/resources` to \n`quedex-config.properties` and fill in your details.\n4. Rename the file `market-maker.properties.example` in `java-market-maker/src/main/resources` to\n`market-maker.properties` and change the configuration according to your liking.\n5. Run the `Main` class.\n\n## Features\n\nThe market making bot:\n* places orders with configurable quantities on configurable number of levels,\n* has configurable spread,\n* follows a predefined Fair Price for futures (currently last price or mid - change the implementation in the \n`MarketMaker` class between `LastFairPriceProvider` and `MidFairPriceProvider`),\n* places option orders priced according to Black 76' model,\n* has configurable risk management - stops quoting one side of the order book when delta or vega limit exceeded,\n* enables risk monitoring based on greeks (delta, vega, gamma, theta), per position and in total,\n* cancels all orders when going down or on error.\n\n## Disclaimer\n\nThis document and the code presented in this repository does not constitute any investment advice. By running it, you \nare not guaranteed to earn any bitcoins (rather the opposite).\n\n## Contributing Guide\n\nDefault channel for submitting **questions regarding the bot** is [opening new issues][new-issue].\nIn cases when information disclosure is\u0026nbsp;not possible, you can contact us at support@quedex.net.\n\nPull requests containing bugfixes are very welcome!\n\n## License\n\nCopyright \u0026copy; 2017 Quedex Ltd. The bot is released under [Apache License Version 2.0](LICENSE).\n\n[java-api-docs]: https://github.com/quedexnet/java-api\n[new-issue]: https://github.com/quedexnet/python-api/issues/new\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquedexnet%2Fjava-market-maker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquedexnet%2Fjava-market-maker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquedexnet%2Fjava-market-maker/lists"}