Gunbot Shop › Gunbot Forum › Javieralv
Gunbot v22.0.2.3 Stable patch preview (not websockets)
– Fix kucoin api
Gunbot v22.0.2.2 Stable patch preview (not websockets)
Added a little patch to correct:
– CEX candles.
Gunbot v22.0.2.1 Stable patch preview (not websockets)
– This build includes all newly added kraken pairs
– This build includes all HFT builds commits.
– Migrating beaxy api to tradewithbeaxy endpoint
– Tests with okex5.
Gunbot v22.1.5 HFT (with REST api option)
– Send updates to autoconfig consistently.
Gunbot v22.1.4 HFT (with REST api option)
– Sending correct balances updates to trades.
Gunbot v22.1.3 HFT (with REST api option)
– Fix balances api response after a trade occurred (fixes both ws and restful api bots).
Gunbot v22.1.2 HFT (with REST api option)
– Attempt to preserve backward compatibility for positions sizes updates with websockets: actually i suggest to only try these builds with no positions opened pairs tho.
Gunbot v22.1.1 HFT (with REST api option)
– Fix check position size for short close orders.
Gunbot v22.1.0 HFT (with REST api option)
– ParseFloat WS_SLEEP_TIME as some guys are already changing it from GUI.
– Fix a missed reference for kraken pairs.
Gunbot v22.0.9 HFT (with REST api option)
– Fix an underfined reference for config.
– Fix an undefined reference for autoconfig.
– Add ENJ, SAND, LPT coins at kraken.
Gunbot v22.0.8 HFT (with REST api option)
– You can run this build with legacy REST options by just ignoring to add WS_SLEEP_TIME in your config.
– If you add WS_SLEEP_TIME (in milliseconds) it will use the HFT process instead: first cycle of all pairs will fetch 1 single rest api call to get values and then it will cycle with websockets forever.
– I suggest you to start with WS_SLEEP_TIME 5000 and eventually tune at your wishes.
– This build can be safely run by people using stable v22.0.2 (without WS_SLEEP_TIME)
– Tested ws with binance, binance futures.
– Tested with sg and fg strategies families.
– Adds the following coins at kraken:
ANKR’ ,
‘BNT’ ,
‘SUSHI’,
‘MKR’ ,
‘REN’ ,
‘ZRX’ ,
‘RARI’ ,
‘GHST’ ,
‘MATIC’
– Fix all custom strategy gui target lines.
– Change logic for fetching candle data in trend module, for hft mode.
– Sga: improve logic to determine ct sell and ct buy amounts.
– Fix pnl not updating for new orders on gui dashboard.
– Refactor chart lines placement logic.
Gunbot v22.0.4 – HFT – alpha
– Adding binanceFutures/futures on websockets.
– Adding WS_SLEEP_TIME in GUI.
– Fixes long standing bug of pnl not showing in gui without a bot restart.
Gunbot v22.0.3 – HFT – alpha
– initial broken commit of Gunbot HFT: do not use this in production
Status:
– Entire Gunbot is now migrated to pure websockets.
– Only a very few initial api calls are sent with REST calls because exchanges do not send the entire history of an endpoint to websockets: they only send updates.
– So balances, candles, trades and many other endpoints MUST do their first call with REST api.
– PositionRisk at binance futures is not sent via websockets (and the few informations they send are not enough for our bot).
– For this reason we need to use positionRisk with REST api call at all the times (i’m throttling it with one api call when it is needed).
– You can decide the speed of your bot: set WS_SLEEP_TIME in milliseconds in bot section of your config and play with it looking at the speed of your bot changing.
– Example i start with WS_SLEEP_TIME: 2000 and the bot is throttled with 2 seconds per pair, being that you can use milliseconds, based on the ping you have to the exchange and yoru server performances, you can tune that down to 0 milliseconds if you are able to, or slower servers: use higher values up to 4/6 seconds (4000/6000).
– All pairs cycles at same time, it means if you have 300 pairs configured, each pair will cycle whenever a new websocket event comes in
– Ignore all errors that you would see on console log for now, i dont need reports, i’m giving you this just so you can start to play and i can start to have an idea of the mess that this beast will do around with thousands of different machines
– Stricly use this build with binanceFutures and/or futures_gunthy: anything else will not work
Gunbot v22.0.1 – Patch release
– SGA: fix case where CT sell should be allowed, but wasn’t.
– Fix fetching pair lists for huobi.
– Remove irrelevant KEEP_QUOTE from futuresGrid strategy editor.
Gunbot v22 – Stable release
This build includes the following changelogs:
– Improve telegram bot pnl calculations
– Fix pullback strategy.
– Fix adx strategy.
– Custom strategies: use require instead of requirejs for loading custom javascript modules
>> To use an external module, first place it in a folder called ‘user_modules’ in the Gunbot root folder.
Then require it in your strategy code, like this:
> On Linux (and likely macOS):
const cryptopanic = gb.method.requirejs(gb.modulesPath + ‘/cryptopanic’)
> On Windows:
const cryptopanic = gb.method.requirejs(gb.modulesPath + ‘\\cryptopanic’)
The above assumes you have a module in a folder called cryptopanic in the user_modules folder.
gb.modulesPath returns the path to whereever your gunbot folder is on your filesystem.
— Give custom strats the option to draw trading targets as lines on the chart.