Thank you for your bug report
Market Orders are marked as Unknown when they’re removed from the ESI return.
I have a ESI issue for it: Corp/Char Market Orders: Parity
There is nothing I can do about it until it’s fixed in ESI.
Do read Johann Hemphill’s reply too, to see how he works around it.
Email reply send