Hi,
I'm getting "Cash needed for this order" error from IB with a real live account and a market order.
I've set SetBrokerageModel(BrokerageName.InteractiveBrokersBrokerage, AccountType.Cash);.
I'm using CalculateOrderQuantity(symbol, 0.93m) to get the proper quantity.
.93m is a totally random percentage that seems to work most of the time.
I'm buying TVIZ, a very volatile but low volume stock.
Since I don't have a margin, is there any ohter setting I have to use?
Do or can quant connect use current AskPrice only to evaluate market order quantity?
My goal is to always use 1m without any rejected orders.
Thanks
David E
I called IB yesterday about a margin question. The volitility products like you're mentioning have a variable initial margin require ment which can actually go over 100% meaning even if you had 50k in account you may not be able to buy 50k in the volitility product
Maly Lemire
Hi,
Thanks for the info. I'm trying to find numbers for the initial margin requirement but found nothing.
David E
You won't. You have to attempt a trade in the workstation and view the order confirmation or call them. It's a total pain. They don't display margin information in any user friendly way
Maly Lemire
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!