Two instruments 'first' and 'second' and one parameter "К" are used.
If bid price of the 'first' multiplied by 'K' is a multiple of 10, than add order on 'second'. Do not add in case the 'first' bid price is equal to the price that satisfied the condition the last time.
The price of the order is such that it won't make a deal. Cancel order immediately after it was added.
Write log string for every order in a format:
After that we can compare order numbers and see who wins