Hi Steve,
I have been reading this thread for a while now (it's amazing, many thanks to you and Scoob!), but this is my first post.
I think I have found a bug in version 2.3.
CheckBasketTradesExpiry states "//This function is only called if TradesWillExpire is set to true and there are open trades".
I think the line
if (NoOfTrades > 0) CheckBasketTradesExpiry();
shoud be changed to
if (TradesWillExpire && NoOfTrades > 0) CheckBasketTradesExpiry();
Regards
I have been reading this thread for a while now (it's amazing, many thanks to you and Scoob!), but this is my first post.
I think I have found a bug in version 2.3.
CheckBasketTradesExpiry states "//This function is only called if TradesWillExpire is set to true and there are open trades".
I think the line
if (NoOfTrades > 0) CheckBasketTradesExpiry();
shoud be changed to
if (TradesWillExpire && NoOfTrades > 0) CheckBasketTradesExpiry();
Regards