Discovered a bug btw:
Code from frmMain.cs, and the layAmountAvailable2 should be changed to layAmountAvailable3. As it is, the second lay level uses third level amounts, and third level is zeroed.
Hope this helps someone
if (runnerPrices.bestPricesToLay != null && runnerPrices.bestPricesToLay.Length > 2)
{
layPrice3 = runnerPrices.bestPricesToLay[2].price;
layAmountAvailable2 = runnerPrices.bestPricesToLay[2].amountAvailable;
}
{
layPrice3 = runnerPrices.bestPricesToLay[2].price;
layAmountAvailable2 = runnerPrices.bestPricesToLay[2].amountAvailable;
}
Hope this helps someone


Comment