corr start scan h

This commit is contained in:
dimxy
2019-05-18 02:58:34 +05:00
parent 1a5f486916
commit 2117941bb3

View File

@@ -1599,7 +1599,7 @@ int32_t prices_scanchain(std::vector<OneBetData> &bets, int16_t leverage, std::v
return -1;
bool stop = false;
for (int32_t height = bets[0].firstheight; ; height++) // the last datum for 24h is the costbasis value
for (int32_t height = bets[0].firstheight+1; ; height++) // the last datum for 24h is the costbasis value
{
int64_t totalposition = 0;
int64_t totalprofits = 0;