Hello All,
I'm new to Quantopian and trying to figure out how order execution works.
I have a statement in my code that says:
"order_value(sec, 1000)"
Let's say the current price of the security is $10
My expectation is that this will send an order to buy 100 shares of the security.
However, what I find in the logs is, something like:
Fill: 32 shares of SPZ at $10.05 on 2016-11-11 10:41:00
Fill: 47 shares of SPZ at $10.05 on 2016-11-11 10:42:00
Fill: 10 shares of SPZ at $10.05 on 2016-11-11 10:43:00
My questions:
1. How can force an order quantity of 100 to be executed immediately? In a day trading scenario, it is often critical that I get immediate execution
2. If that's not possible, what's the logic used behind splitting the order into 3 or more parts? At least I can plan better..
Please help!
Thank you,
Jimmy