• Development
  • Why doesn't Stellar match the other order after matching the first one?

Hello guys, I have a question about Stellar exchange matching engine.

Scenario: I want to trade AA coin for BB coin
(2 Buy orders & 1 Sell order)

Buy Orders (Buy BB | Price 1 BB = 90 AA)

Order#1 Volume 10 AA --> 0.1111111 BB

Order#2 Volume 10 AA --> 0.1111111 BB

Sell Order (Sell BB | Price 1 BB = 90 AA)

Order#3 Volume 0.2222222 BB --> 19.999998 AA

<br>
Result After matching.

Order#1 (Matched) Remainder 0.0000010 AA (0.0000000 B?

Order#2 (Not matched ) Volume 10 AA

Order#3 Remainder 0.1111111 BB

Why doesn't Stellar match the other order after matching the first one?

Thanks,