Page 1 of 1

Import contracts and IB Symbol Limit

Posted: Tue Oct 13, 2020 10:39 pm
by HarrisonProgramming
Hi, Thank you for your new creation IBPlugin!

Could you help with some questions with IBPlugin?

I see what one can import contracts one by one manually from Admin Panel. Is there a way that users can import a list of symbols, e.g. SP 500 symbols in US stocks without going through this manual process?

Let's say my account has 100 symbol limit with IB. I may be monitoring 500 symbols and can place order any time for any of the 500 symbols, but limit the number of positions to less than 100. Can this be done without increasing my symbol limit with IB?

Thank you!

Re: Import contracts and IB Symbol Limit

Posted: Sun Dec 13, 2020 10:48 pm
by board_admin
Hello Sir,
sorry for late answer - got no notification.
As you paid for support you can ask per email.

Just to clarify: Import contracts is not really required.
When you have a conid, so a unique id for contract provided by InteractiveOrders,
you just can use this conid as 2nd parameter for function:

ibgORDER_SEND(..,conid,...)

The symbol database purpose is to map a symbol of another symbology to an IB contract.
So for instance symbols of TradeStation or MetaTrader.

Once you mapped a symbol, you can get conid required by calling the function:

conid=ibgNAME_TO_UID(my_TradeStation_Symbol_mapped_in_db)

You can import multiple IB contracts in one step into database, but how should you automated the mapping ?
I see no way than set the mapped symbol manually.

---
2nd question. Not clear about what you mean.
What do you mean by limit of 100 positions ?

Thank you

Re: Import contracts and IB Symbol Limit

Posted: Tue Dec 15, 2020 2:45 pm
by HarrisonProgramming
Thank you! You have answered my questions.