Those of you who can, go to start() and find the block of code that begins:
int h = TimeHour(TimeLocal() );
Copy this block over the existing one, or make the two changes manually. These are:
if (h == BasketSendHour && !BasketSent)
if (m >= BasketSendMinute)
Code: Select all
int h = TimeHour(TimeLocal() );
int m = TimeMinute(TimeLocal() );
if (h != BasketSendHour) BasketSent = false;
if (h == BasketSendHour && !BasketSent)
{
if (m >= BasketSendMinute)
{
ReadTable();
LookForTradingOpportunities();
}//if (m >= BasketSendMinute)
}//if (m != BasketSendMinute)