I have some automation that fires in a back bet at the 3rd best reverse market price and I'm trying to log the lowest price hit between when the bet is triggered and when it gets matched but I'm not sure how I can achieve this. I already have a rule that sets a signal when the bet is placed and one that sets another signal once the bet price is reached so was thinking I could reference these some how.
If anyone has any suggestions that would be great.
Stored Values - How to log the low price between bet placement and bet matched?
Is it just to log the lowest price to look at later or is it to be used by another rule/condition later in the market?
also are you just betting the once each market so just need to one low price or will you be placing multiple bets on the same selection and want each low between placement and match?
also are you just betting the once each market so just need to one low price or will you be placing multiple bets on the same selection and want each low between placement and match?
-
- Posts: 65
- Joined: Thu Nov 19, 2020 4:52 pm
It's just for me to analyse later, for the time being at least.
I think i've managed to sort it though in a round about way.
I've set up a history list to record the back prices and then two stored values which both calculate the minimum value in the last 90 secs from the history list, one triggers when the bet is placed and the other when the last traded price is equal to the bet price.
I think i've managed to sort it though in a round about way.
I've set up a history list to record the back prices and then two stored values which both calculate the minimum value in the last 90 secs from the history list, one triggers when the bet is placed and the other when the last traded price is equal to the bet price.
-
- Posts: 282
- Joined: Sun Feb 18, 2018 12:53 am
Hi plasteredric,
I have attached a simple rules file for you.
It will place a £2 back bet on fav at 3 ticks above market best price, two mins before start time. (this has been done purely to start the stored values that you would be interested in).
As soon as that bet is placed, a value (named lowest traded price) is stored in the log with the last traded price. Every time the last traded price is lower than the value stored, it will be logged.
I have tested in pratice mode and it seems to work fine, and I think you will find the values you want in the log.
Hope it helps,
have a nice day!

I have attached a simple rules file for you.
It will place a £2 back bet on fav at 3 ticks above market best price, two mins before start time. (this has been done purely to start the stored values that you would be interested in).
As soon as that bet is placed, a value (named lowest traded price) is stored in the log with the last traded price. Every time the last traded price is lower than the value stored, it will be logged.
I have tested in pratice mode and it seems to work fine, and I think you will find the values you want in the log.
Hope it helps,
have a nice day!

You do not have the required permissions to view the files attached to this post.