Thank you, I am working on it, but I need some help.
I am trying to explain the algorithm, but one part of it is harder for me to explain and I don't even know if this is possible to be set like this:
If there is no gap between back and lay odds (example: 3,25 is the blue field on Betfair site, 3,30 is in the red one; than back bet is placed @3,30, when it's matched a lay bet is placed at 3,25)
If there is 1 tick gap between blue and red (example: 3,25/3,35 -> place back bet@3,35, when it's matched, lay @3,30)
If there is 2 or more ticks gap (example: 3,25/3,50 -> place back @3,45, when it's matched, lay @3,30)
If this is possible to be set Could you please help me how to describe it for the developers to be easy for them to understand and execute, if not possible - please let me know to think how to change it. Thank you very much!!