An implementation of a dummy market making bot which intends to be a starting point showing a possible way of integration with Quedex Java API. Before starting to work with this code, please read the documentation of our Java API.
The implementation of the bot MUST NOT be considered complete and ready for production use. The pricing algorithms, risk management, handling of WebSocket disconnects (lack thereof), etc. are just to illustrate a simple use case.
To run the bot you need to have Java 8 installed (Oracle Java is recommended).
The following steps are for Linux (tested on Ubuntu 16.04):
./gradlew shadowJar
from the main project directory (java-market-maker
).java-market-maker/build/libs/
named java-market-maker-<version>-all.jar
.quedex-config.properties
and market-maker.properties
(examples may be found in java-market-maker/src/main/resources
) next to it.java -jar java-market-maker-<version>-all.jar quedex-config.properties market-maker.properties
. To
exit hit CTRL + C.quedex-config.properties.example
in java-market-maker/src/main/resources
to
quedex-config.properties
and fill in your details.market-maker.properties.example
in java-market-maker/src/main/resources
to
market-maker.properties
and change the configuration according to your liking.Main
class.The market making bot:
MarketMaker
class between LastFairPriceProvider
and MidFairPriceProvider
),This document and the code presented in this repository does not constitute any investment advice. By running it, you are not guaranteed to earn any bitcoins (rather the opposite).
Default channel for submitting questions regarding the bot is opening new issues. In cases when information disclosure is not possible, you can contact us at [email protected].
Pull requests containing bugfixes are very welcome!
Copyright © 2017 Quedex Ltd. The bot is released under Apache License Version 2.0.