Releases: Effanuel/BitMEX-scaled-orders
Releases · Effanuel/BitMEX-scaled-orders
(v2.5.0) Cross Market Order
New features:
- Ability to add a cross order;
- if you set a sell cross price below current price, it will trigger a market sell order as soon as the price crosses your cross order price;
- if you set a buy cross price above current price, it will trigger a market buy order as soon as the price crosses your cross order price;
- if you set a sell cross order price above current price, it will trigger a market sell order when the current price crosses up and then down of the set cross price;
- if you set a buy cross order price below current price, it will trigger a market buy order when the current price crosses down and then up of the set cross price;
Bugs:
- Adjusted ETH spread, since BitMEX updated it. (maybe need to create a script that would check for updates)
(v2.0.0) Trailing Limit Order
New Features:
- Added option to place a limit order as close to market price as possible to trail it using websocket #10
- Moved display of current ticker price to separate container
- Added container for placing market orders
Bug fixes:
Technical things and goals:
- Currently on page load, it subscribes to XBTUSD, ETHUSD, XRPUSD and order topics, which may bring to some people unnecessary load on their computers and network load;
- There are no integration/e2e tests currently;
- CI needs to be added;
- Too many
any
types in the code;
Note: if you are planning to fork this repo for scaled orders, the most important code for that is in this and this file.
(v1.7.1) Fixed Snackbar not working properly
Fixed
- Fixed Snackbar;
- Added success message if order succeeded;
- Other small code cleanups
(v1.7.0) XRPUSD ticker
(v1.5.6) Bug fixing
Bug fixes:
- Fixed #6 Error:Default reported if no StopLoss used
- Added missing stop-loss check before generating orders;
(v1.5.5) Risk Percentage
Added
- Risk percentage based on current balance
- Wallet balance is fetched every refresh
- Tooltips
Random
- Redux folder structure;
(v1.5) Stop-loss order + Risk indicator
Added
- Stop-loss order placement; (Close-on-Trigger + MarketOrder + LastPrice)
- Order details (risk and average price for now).
Updated
- Updated styling of the order preview table;
- Updated code to React Hooks;
Random
- Simplified distributions code;
- Added tests for each distribution calculations;
(v1.2) Major update
Updates:
- Updated the way subscribing to a Websocket works:
- Changed subscription from
quote
toinstrument
:- Updates state when the value chages, not every 1 second.
- Subscribes to
XBTUSD
andETHUSD
at the same time on connect: (will consider adding more tickers later)- No more delay when switching tickers (now instant).
- Changed subscription from
- Updated backend requests:
- Removed CCXT dependency;
- Requests are done with request module;
- Custom error handling.
- Updated Websocket state handling: (price update is quite slow right now)
- Most important parts of the message send through websocket are saved;
- Improves scaling for later updates.
- Log messages done through custom logging to console;
- Added more error handling situations;
- Updated packages.
Fixes:
- Replaced public bootstrap version with a local one;
- Fixed tests;
TypeScript Release - v2
Updates
- Updated majority of the TypeScript types;
Safer.
TypeScript Release
New features:
- Whole code rebase:
- Transitioned to TypeScript for client and api side;
Faster!!!