Currently not being maintained
This project is a trading tool based on BitMEX API (Binance coming next). This project has a long way to go before becoming an actual usable tool. If you notice any bugs, open an issue.
Scaled orders:
Place up to 30 orders in a range at once (BitMEX limit)
Uniform, Normal, Positive or Negative order placing distributions; (see Distributions section);
(Optional) You can also add a stop-loss;
"Preview" displays your scaled order, average entry and possible risk if stop-loss is provided.
Shows current prices:
Based on the latest ask price;
Fetched via Websocket;
BTC, ETH and XRP (currently).
Market Order:
Trailing Order:
Places a trailing limit order near market price;
The order is ammended automatically, so the order moves with the price if it doesn't get filled;
You can use it to get your fills without doing a market order and paying fees, or you can push markets with it.
Cross Market Order: (currently disabled)
Open Orders:
The Backend was built using Node + Express and the Frontend, React + Redux. Styled components were taken from Chakra UI
Create a BitMEX account;
(If you are new to BitMEX, consider using my affiliate link to get 10% off the fees for 6 months. If you are someone who doesn't gets his orders filled with market orders, getting the 10% discount also reduces the money you get back for limit orders. So it is not recommended)
Get API keys:
git clone https://github.com/Effanuel/Bitmex-scaled-orders.git
cd Bitmex-scaled-orders-master/
.env
(no quotes are needed):REACT_APP___API_KEY =
REACT_APP___API_SECRET =
REACT_APP___TESTNET = false
REACT_APP___LOG_LEVEL = info
cd api/
npm run init:packages
Disclaimer: You need to set API keys before building the application. If you make a typo and only notice after a build, do
npm run clean
and npm build
Disclaimer: If you set TESTNET to true, you need to create a Testnet account and set the API keys appropriately. Your main BitMEX account API won't work with TESTNET option set to true.
npm run build
git clone https://github.com/Effanuel/Bitmex-scaled-orders.git
cd Bitmex-scaled-orders/
.env
cd api/
npm run init:packages
npm run build
npm run prod
cd Bitmex-scaled-orders/api
npm run prod
These are the available distributions to choose from:
Probability density function is used to calculate distributions:
Settings for multiple ticker subscriptions;
Distributed under the MIT License. See LICENSE
for more information.