Skip to content

Bug fixes + Enhancements

Compare
Choose a tag to compare
@taniman taniman released this 10 Apr 18:04
· 2 commits to master since this release
87c97fd

Please make sure to backup your data before upgrading.

Change log

  • New

    • Strategy formulas now support ternary operations (if/then/else -> ? : )
      • DEFAULT_trailing_profit_strategy = ATRPERCENTAGE
        DEFAULT_trailing_profit = V < 1 ? V : 1
      • If value of ATR% smaller than 1 we use it's value else we use 1 as our trailing profit
    • Strategy formulas can use the values from active buy/sell strategies
      • DEFAULT_A_buy_strategy = RSI
        DEFAULT_trailing_buy_strategy = ATRPERCENTAGE
        DEFAULT_trailing_buy = V < 1 ? V : SA/50
      • If Value of ATR% smaller than 1 we use it's value else we use value of SA (Strategy A) divided by 50
  • Fixes

    • Fix bot crashing when doing a clean setup
    • Fix LASTPENDING and LASTSELL should return false if there is no last entry
    • Fix sticky buy timeout

2.4.25 Change log

  • New Futures

    • Binance Futures Auto Detect Hedging setting
      • Restart your bot when you change the setting on exchange
    • Binance Futures get correct available balance when using collateral
  • New

    • Implement buy_strategy_level(X)_formula and sell_strategy_level(X)_formula
    • Implement buy_strategy_level(X)_formula_timeout and sell_strategy_level(X)_formula_timeout
    • Implement property DEFAULT_cancel_pending_prevent_balance_merge and DCA equivalent
      • Prevent a pending pair from being cancelled if we already have a balance in PAIRS or DCA
    • Implement max_trading_pairs_include_pending (true/false)
      • default false
      • set to true so that max_trading_pairs counts your pending orders also towards your max trading pairs limit
    • Implement MACDPERCENTAGE strategy.
      • Still uses the histogram values
      • Works the same as MACD only we use the 1 EMA to normalize the MACD values so it can be better used for all coins
    • Implement LASTSELL strategy (can be used to buy based on our last sell price)
    • Implement LASTPENDING strategy (can be used to buy based on avg price of last coin send to pending )
    • Implement only_closed_candles_period
      • Define period to be used to refresh the current closed price
      • Default period is same as your indicator period
    • Deprecate rebuy_timeout (It will not spam)
    • Implement DEFAULT_DCA_buy_timeout (Use in DCA)
      • Will stick even after a reboot, reads the Buy log
    • Implement DEFAULT_buy_timeout_after_sell (Use in PAIRS)
      • Will stick even after a reboot, reads the Sales log
    • The bot no longer will estimate the price of pending orders.
      • If you create a pending order directly on the exchange, avg price will be (target price - fee)
      • So make sure the bot created the pending orders, if you plan to cancel from bot
    • Slow down the bot after buy/sell as currently it's too fast causing some issues
    • Cache pending history data to reduce load
    • Use a different library to parse our formulas
    • Optimize chartData logic
  • Fixes

    • Fix dust calculation problem
    • Fix liquidation recording records margin type incorrectly
    • Fix LASTDCABUY strategy ignoring buy_value_limit
    • Fix COMMBIMASPREAD sell strategy not working correctly
    • Fix liquidation price is not being refreshed correctly
    • Fix Advanced Notification error message loop when invalid error message is read from the log file
    • Fix telegram bot listening to commands even if disabled
    • Fix formula errors should be cached and caught correctly
    • Fix Binance balance when using collateral
    • Fix kucoin open orders limit
    • Small fixes and improvements

IMPORTANT 2.4.0 RELEASE NOTES

  • Breaking changes

    • Removed trailing_stop_loss_strategy_formula define your formula inside trailing_stop_loss_trigger
    • Change STOCHRSICROSS formula to K% - D%
      • More accurate representation
      • Previous calculation was exaggerating the actual movement of a cross
  • Deleted (After being deprecated in 2.3.0)

    • Removed start_balance (PAIRS config)
      • Use Hotconfig to set the balance for a test bot
      • Use Settings cog start balance to set a balance used for Profit calculation purposes only
  • Deprecated (Still works but remove as soon as possible)

    • Deleted application.properties. Use the settings cog to change your application settings
    • Deprecate reserve_amount (Use new button in GUI)
    • Deprecate default_initial_cost_percentage in favor of default_initial_cost = 2%
      • Just give your value a % at the end to make it behave as a percentage.
    • Deprecate keep_balance_percentage in favor of keep_balance = 25%
    • Deprecate default_dca_ignore_sell_only_mode
      • Use DEFAULT_DCA_sell_only_mode_enabled to enable to enable/disable SOM manually
    • Deprecate dca_buy_trigger, use PROFITPERCENTAGE strategy instead
    • Deprecate som_dca_buy_trigger (No alternative)
    • Deprecate LOSS strategy use CHANGEPERCENTAGE strategy instead
    • Deprecate ANDERSON strategy use PROFITPERCENTAGE strategy instead
  • New Exchanges

    • Binance JERSEY (binace.je)
    • Binance US (binance.us)
    • Binance DEX (binance.org)
    • HUOBIUS (Huobi.com - for US users)
      • NOTE: Huobi Global is HBG.com
  • Major GUI changes (See wiki link for more)

    • Removed Basic config (Our settings cannot be interpreted into a basic config and thus it lacks)
    • Add PT Asssistant to the GUI
    • Add Profit Calculation Method to settings screen. Choose between MARKUP or TCV
    • Add new advanced stats data
    • Add button to buy log and sell log to manually add a record
    • Merge PTNotifications into ProfitTrailer (PRO and ADVANCED users only)
      • Enable by clicking the Adv Notifications button
    • Remove the sidebar and move it's buttons to different places around the GUI
    • Move Hot Config and create a page for it
    • Access public configs from other configs page
    • Manual buy and sell now gives you the option between IOC or MARKET. Not all exchanges support market orders though.
  • Major Changes Bot

    • Reversal Trading
    • Auto Switch config based on market conditions
    • Scale Out profit taking. Sell in multiple stages
    • Support Binance Margin trading
      • Note: The bot does not borrow/repay your debt for you and is currently unaware of how much you borrowed
    • Trailing profit is no longer linked to profit/GAIN% but to the price when trailing started
      • if the user restarts within 5 minutes trailing can continue where it left off
      • you can trail without having a GAIN specified and thus trailing profit now works for users using formulas too
    • SOM (Sell Only Mode) Overhaul
      • Global SOM can be turned on/off with a button in the footer
      • Global SOM will persist after a restart
      • No more complicated SOMO
    • price rise / drop and consecutive triggers now work as filters.
      • You will see them blocking a buy on the GUI below the PAIR and no longer as part of SOM in footer
    • If you change the setting it immediately invalidates and all coins will check again for validity (No more restarting bot etc)
  • There are many more changes

  • PT API Changes

    • Created a new V2 API that can do a lot more
    • Old V1 api is now deprecated and will be removed in 2.5

Check the wiki for the full list of available features and settings

Compatibility

  • Operating system

    • Windows
    • Linux
    • MacOS
  • Browsers

    • Chrome
    • Firefox
    • Safari
    • Edge (Limited)