开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Quantity for MIDPRICE orders


 

Hello,

When placing a Midprice order via the TWS API, I do not have the quantity, since the actual price isn't known yet. But I do have the $ amount to use for the order.

I know that TWS, mobile app etc. allow placing the order using $ amount, and then the app calculates the quantity, rounded down to the nearest integer. Is this also possible via the API i.e. provide the $ amount instead of quantity?

Thank you!

Join [email protected] to automatically receive all group messages.