开云体育

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

Re: How to get the maintenance margin of one symbol, containing multiple STK and/or OPT positions


 

I don't know if the API will be able to calculate what you're looking for.? It doesn't seem like a good sign if you are unsure about your margin/buying power while trying to open multiple stk/opt positions at once... Do all of these positions need to be opened simultaneously?? If done sequentially IB will tell you exactly what your margin requirements are for each trade.? I wonder if you might consider rethinking your strategy...

On Mon, Sep 6, 2021 at 7:14 AM <groups@...> wrote:
yes exactly.? For example closing the short call on a covered call position is actually increasing margin.? ?I can see the information with what-if window in TWS or from margin report, but so far I am not sure how to get the programatically.

Join twsapi@groups.io to automatically receive all group messages.