Store the difference between the lay and back price as a number of ticks
-
- Posts: 78
- Joined: Sun May 10, 2020 11:47 am
- Location: Canberra, Australia
Is this possible? I can store the difference between the lay and back prices as the price difference but not as a number of ticks. I could just be having a Karl Pilkington moment so if there's an easy way to do this I'd much appreciate the assistance.
I can be done but you'll need an individual rule for each ticks (so depends on the approx spread you'll be storing how much setting up it would take)the4droogs wrote: ↑Fri Jul 01, 2022 4:36 amIs this possible? I can store the difference between the lay and back prices as the price difference but not as a number of ticks. I could just be having a Karl Pilkington moment so if there's an easy way to do this I'd much appreciate the assistance.
What you'll need is a 'Set Modify Stored value rule with a relative odds condition to test
a selections back price is equal to
a selections lay price minus 1 tick
then on the stored values tab store a value as an entered amount of 0
Then add another 'Set Modify Stored value rule with a relative odds condition to test
a selections back price is equal to
a selections lay price minus 2 ticks
then on the stored values tab store a value as an entered amount of 1
Then add another 'Set Modify Stored value rule with a relative odds condition to test
a selections back price is equal to
a selections lay price minus 3 ticks
then on the stored values tab store a value as an entered amount of 2
and so on