example request for testing ORDER_STATE_REJECTED on demo?

 

Hi everyone,

As in the topic - any idea for an example order request (100% repeatable when testing EA logic on demo account - not happening by chance because of e.g. current market conditions), which could pass the initial validation checks for an order to be sent using OrderSend() function, but then would get rejected - so that the order would be moved to history order database with ORDER_STATE_REJECTED status?

Any suggestions appreciated.

Reason: