OK, I am doing lay at SP for dogs.
Is there any way that I can get the actual_sp, and place it in a trigger to log in a text file? I would ideally like to get the stake that the SP bet made, as well?
I can see that the csv statement gives the price, after the event. So, I tried to write a trigger as ["market_name"],["sel_name"],[actual_sp], at market settle, but it's 0.00 every time, so that doesn't work. I then tried to write a log whilst inplay or suspended, again, it's 0.00, so that also doesnt work.
The csv statement logs the price and profit, so why can't I do that manually?
I can get what I need if I just send the statement at the end of the day, by email, but that is more painful than just sending the log files that I write?
Can I do what I require, or is it somehow not possible, and if its not possible, how does the csv statement get written, and can I reproduce this in a trigger?
Thanks