mehtadone / PTFeeder

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

Pending_Order_Wait_Time was converted to Decimal #342

Closed SG2010 closed 6 years ago

SG2010 commented 6 years ago

According to Profit Trailer Wiki, Pending_Order_Wait_Time and DCA_Pending_Order_Wait_Time should be Integer. But after setting Integer "PendingOrderWaitTime" and "DcaPendingOrderWaitTime" the value is converted to decimal and not being honored by Profit Trailer.

(i.e. PendingOrderWaitTime = 2880, then in Profit Trailer Config -> Pair, Pending_Order_Wait_Time became 2880.0)

mehtadone commented 6 years ago

I can fix this in the next version. As a interim fix, you can add this to your appsettings:

"IntProperties": [
            "PendingOrderWaitTime",
                "DcaPendingOrderWaitTime"
          ],
mehtadone commented 6 years ago

Recorded on our private github. Closing on here as will be closing github issues to move to a forum