81
Triggered betting / Re: Help needed with trigger on bets getting matched
« Last post by djmotion on 12 Apr 2024, 02:47 »Hi
"live" traded volume per price is not available in time machine historical data. But if backing for example if you use:
BACK, Price: back_price, Amount: back_amount
It will give a matched back bet to the amount offered at best back price at the time of triggering.
If you wanted this could be extended for example to the amount offered at the best 2 back prices:
BACK, Price: r_ticks(back_price, -1), Amount: back_amount2+back_amount
In test mode and real mode (not in time machine) you could use live API data on traded volume per price to keep a running total as the £10k gets matched in bits.
So could I use this to place say a £50 bet only if there is £50 available? It won't be as accurate as I'd like but at least I would have an idea of how scalable my strategy is.