Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Limit order size to percent of volume

I know I've seen this before, but for some reason I can't dig it up. What is the code to limit an order size to x% of the period's volume?

Thanks

1 response

Hello Ben,

When you say "period's volume" do you mean the prior trading minute? Or something else?

Grant