Skip to content

TotalDcaCurrentValue not populated when live trading futures #350

Description

@mstephano

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions