Hi all,
I feel a bit daft having to post this as it seems like it should be quite straightforward but I can't get it working accurately. I want to see the price (LTP) of a selection from the win market in the place market. Initially I hoped it would be as simple as storing the price as a shared stored value for the selection from the win market and referencing that from the place market but no such luck. I figure values stored for the selection are limited to the market in which they are created
I used a work around to save a different stored value for each selection at the event level and then lookup the correct value for each selection in the place market. That SEEMED to be working but often I appear to get some wildly different values. Example attached, as is the rules file I've used if anyone wants to point out any glaring mistakes!
I then thought a smarter, and more accurate way would be to use the API to extract the price from the win market and pass it to the place market. I don't have a great understanding of how to use the API but I have successfully doctored a file @sniffer66 once posted for a couple of different tasks but can't get one working for this (again, file attached if anyone smarter than me can figure out why - had to put in a zip file as it wouldn't let me attach otherwise).
Any help would be gretly appreciated.
Many thanks
Price from win market as SV in place market
-
- Posts: 42
- Joined: Mon Jun 05, 2017 3:38 pm
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
Re the Guardian method, is it because you're using Betfair order? This changes throughout the day as prices change, and of course there will be impact from withdrawal of non-runners.
-
- Posts: 42
- Joined: Mon Jun 05, 2017 3:38 pm
Yes, I'm using betfair order but I fix the order in both markets as soon as the file runs (same file used on both markets so this is done simultaneously) so I don't believe price changes or non-runners should affect anything
- jamesedwards
- Posts: 4366
- Joined: Wed Nov 21, 2018 6:16 pm
I would use saddle cloths. See attached how I would do it. I've not tested anything.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 42
- Joined: Mon Jun 05, 2017 3:38 pm
Ah yes, that would be a more accurate approach, thank you. Still doesn't fully explain the inaccurate figures though, the figures it produced didn't belong to any selection (and there weren't enough non-runners for them to come from there either). I'll implement the changes you have suggested and monitor again throughout tomorrow. Thanks again