TradeServer 4.0.7.130¶
Released 2026-07-26. All versions
Highlights¶
- New Home: the dashboard has been rebuilt as an adaptive cockpit: portfolio value and P&L hero with an equity chart, a 24H/7D/30D/1Y period toggle that every tile follows, your bots with per-period P&L and sparklines, a top performer / "worth your attention" list, market movers, a Fear & Greed gauge, and a market news rail. The whole page scopes itself to live or simulated trading based on where you actually have bots running
Exchanges¶
- Bitget: added UTA (v3) API support with automatic account-type detection. Classic (v2) accounts keep working unchanged, and UTA accounts are detected and routed automatically with no setting to pick
- Bitget: added COIN-M futures (inverse perpetual and delivery contracts), including live fills over the websocket, correct leverage/margin handling, delivery settlement dates, and fee signs
- Kraken Futures: multi-collateral (linear/USD) contracts are now supported directly on the existing Kraken Futures exchange
- HTX/Huobi: fixed spot sell fees being reported in the wrong currency, which inflated the fee figure on sell orders by a huge factor
- HTX/Huobi: fills delivered on the trade.clearing stream are now processed, so orders stop looking open after they've filled
- Binance: an invalid API signature (-1022) is now reported as invalid API keys instead of being retried silently
- Poloniex: fixed the price feed being rejected (HTTP 403) by the exchange's CDN
- Gate.io, Phemex, OKX, LBank, KuCoin: quieter, more accurate handling of exchange-side errors (pre-listing markets, IP-allowlist rejections, connect errors) instead of repeated failures and alert noise
Bots and trading¶
- Paper trading: USDT/USDC are now seeded, so USDT-quoted paper accounts start with a usable quote balance
- Bots: fixed bots failing to restart after being stopped (a thread-safety bug in the HaasScript engine's overload cache)
- Bots: a failed wallet/balance fetch no longer reads as a zero balance; the tick is skipped instead, so bots are no longer deactivated as "over budget" because of a temporary exchange or network hiccup
- Bots: saving bot settings no longer fails when wallet data is momentarily unavailable
- Bots: remote signals now wake the bot immediately instead of waiting for its next scheduled tick, and a signal arriving mid-execution is no longer dropped
- Grid bots: fixed minimum-amount rounding adding an extra step to order sizes
- Portfolio: large portfolio charts load in a fraction of the time (7-day charts that took ~10 seconds now return promptly)
- Fixed the bot builder crashing when the browser's auto-translate is enabled
- Bot creation now preselects a liquid default market (BTC/USDT) instead of an arbitrary one
HaasScript¶
- Reading a missing key from a result container returns nil instead of throwing
- Fixed crashes in AmountLabel/ProfitLabel when a market couldn't be resolved
- InitExportData/WriteExportData now work on cloud servers. Script export files were only ever written by the self-hosted build, so on cloud a backtest would run and trade normally while every export row was silently discarded, and the MCP get_backtest_export_data tool always came back empty. Cloud caps a script at 25 export files of 250,000 rows each (self-hosted stays unlimited) and the script log warns when a cap is hit
- Script export files are now readable immediately after a backtest finishes instead of a few seconds later, and deleting a backtest now actually removes them
- Script editor: Save stays enabled on a freshly cloned script; fixed a crash in the visual editor when saving certain block layouts
Backtests and charts¶
- Labs: downloading the export files for a lab no longer fails when any backtest in the lab produced none
- Backtests: fixed a premature "Empty response" when opening the backtest window, and re-using an existing backtest ID is now rejected instead of colliding with the running backtest
- Labs: parameters are now deselected by default when setting up an optimization, backtest settings can be exported from Backtest History, and Labs/Backtests empty states link to the tutorials
- Fixed crashes when a chart, position, or order referenced a market that no longer resolves, and on accounts with no price source set
Platform¶
- Onboarding: the first-run modal wizard is retired. Setup now happens inline on Home: create a simulated account (picking your exchange and market), deploy a starter bot in one click, and get guided to connecting a live account when you're ready. The product tour starts automatically once your first bot is running
Other changes¶
- Uninformative API error toasts are no longer shown
- Added a Status link in the footer, and video tutorials on the Help page