I will try again.
I would like to use the back price from O 2.5 market to set the amount to win (amount_to_win/ back_price) on the correct score market in the same event (game).
Ex. This is how it should work
AC Milan - Barcelona O 2.5 back_price=1.9
amount_to_win=55
AC Milan - Barcelona correct score to dutch lay 0-2 (10.5) and 0-3 (12.5)
So the amount to win will be 55/1.9 = 28.94
At this point is working like this:
- let's say, I am monitoring in the same time Juventus - Real Madrid and Chelsea - Steaua.
- the trigger will randomly use the O 2.5 back_price from these games too to calculate the amount to win for the AC Milan correct score market.
The trigger should not cross games (O2.5 back_price from AC Milan - Barca should be used just on AC Milan Barca correct score and not on the other games. Same for the Juventus - Real and Chelsea - Steaua).
I hope not it make more sense ... if not ... I don't know how to explain it better