Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Individual stock's margin?

Hi there, I am wondering if there is an API or a way to calculate individual stock's margin requirement?
For example, this morning I was trying to enter a long position in $LJPC for 40% of my portfolio but the order was rejected. But I was able to go long in $FB for 40% of my portfolio. This is with Interactive Brokers btw.

I contacted their support and they said that the margin requirement for $LJPC is 100%, while for $FB is only 25%.

Thank you.

1 response