A line of bug that wastes 2 months of testing time

 

Hey,

Just this morning I spot a silly bug in FXF Server that wastes up to 2 months of our testing time. All signals that made by systems not based on 30Mins timeframe were spoiled. That means Mekong's signals are still ok while TonleSap's signals are now spoiled. Hmm... This is my silly mistake...

A line of bug:

PriceFeed.GetHistoricalRates(.CurrencySymbol, Timeframe.30M, .MinHistoricalBars + 50, DateTime.UtcNow)

Fixed:

PriceFeed.GetHistoricalRates(.CurrencySymbol, .Timeframe, .MinHistoricalBars + 50, DateTime.UtcNow)

I hope this fix would lead to better result.

 

I don't think you have waste 2 months, at least you have soft the problem, and make the program run better.

 

I gotta learn this mistake, so this week I am verifying all blocks of code if in case there are hidden bugs like this one.

Hehe... All TonleSap systems are performing much better! No single pip lost so far. Winnings are everywhere!

Reason: