Newbie question what is Buy Limit

 

Hi,

I have been experimenting with using OrderSend and the CTrade class to submit orders.

As an example I want to submit a buy order at a specific price regardless which direction the price is moving. 

When I tested the Buy method it doesn't always observe the price specified in the order and can use the current Ask price. Anyone know the reason?

BuyLimit seems to work but I want a better understanding. My understanding from the doc is that the price submitted in the order is lower than the current Ask price. So when the Ask price drops to the order price it may get executed. Is my understanding correct?

Thanks.

 
dakr2019: Is my understanding correct?

Yes, time for school