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
- Strategy formulas now support ternary operations (if/then/else -> ? : )
- 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
https://download.profittrailer.com/ProfitTrailer-2.4.26.zip
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
- Binance Futures Auto Detect Hedging setting
- New
- Implement
buy_strategy_level(X)_formula
andsell_strategy_level(X)_formula
- Implement
buy_strategy_level(X)_formula_timeout
andsell_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
- Implement
- 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