mehtadone / PTFeeder

Official GitHub for ProfitTrailer's best buddy, PT Feeder. Be sure to visit their GitHub too.
https://wiki.ptfeeder.co/
183 stars 33 forks source link

TotalDcaCurrentValue not populated when live trading futures #350

Open mstephano opened 3 years ago

mstephano commented 3 years ago

Hi,

I am using ProfitTrailer 2.4.52 (latest version as of today), and when being in LIVE mode (not in test mode) and trading on futures on Binance, the variable positions.TotalDcaCurrentValue seams to always be 0. However, in test mode, the value is populated and has the proper value.

#########################################################
###### output when trading live futures on Binance ######
#########################################################

# USING Bull. WRITTEN ON 2021-02-15T19:49:59 UTC -05:00
# PT Feeder Version: 1.8.6.1624
# DO NOT MODIFY ANYTHING IN THIS FILE. USE FEEDER CONFIG
#
# PairsCoinCount: 0 #
# DcaCoinCount: 2 #
# PendingCoinCount: 0 #
# TotalPairsBoughtCost: 0 #
# TotalDcaBoughtCost: 90.4475 #
# TotalPendingBoughtCost: 0 #
# TotalPairsCurrentValue: 0 #
# TotalDcaCurrentValue: 0 #           <=== this value is always 0
# TotalPendingCurrentValue: 0 #
# RealBalance: 6229.96379196 #
# PairsBalance: 302.909565135 #
# DcaBalance: 614.859787599 #

Because of this, I cannot use this variable in any of my custom groupings.

Can you please fix this? Thanks in advanced!

mehtadone commented 3 years ago

@mstephano I have reproduced this and will look to get this fixed in the next release.