Using AB's built-in Buy/Sell Order

I've just discovered the Insert -> Buy/Sell Order in AB.

I have the IBC installed and it works. However, when I use the AB Buy/Sell Order command, the pop-up window appears. However, it indicates that "Broker Interface is not installed / not available". The Brokerage box is also empty.

Have I done something wrong?

Looing at the displayed pop-up, the pop-up window also doesn't take into account the tick size amounts for futures, when it displays the Limit Price, Stop Price, Stop Loss and Take Profit fields.

Many thanks.

I found the reason for the "Broker Interface is not installed / not available" issue.
The IBC unlock code wasn't entered.

Checking further, I've discovered that the tick and point values have to be entered using the Symbol->Information window, as described here

When I do this, I see the following chart

Hopwever, when I click on Accept, I get a "Type mismatch" popup window. When I click on OK, the popup reappears. Eventually, AB crashes.

I'll raise a separate bug report.

Are you sure that @MESU24 is valid symbol for Interactive Brokers?
It does not conform to IB symbology:

No, @MESU24 is DTN/IQ-Feed's symbol for the micro ES.

Does this mean that a conversion is needed to convert the DTN/IQ-Feed symbol to the corresponding IB symbol? Also, that the on-screen BUY and SELL commands can only be used when using IB for the data feed, where no symbol transformation is needed?

Yes, you need conversion, but this can be handled automatically by IBDictionary.txt

Thanks Tomasz, I had forgotten about the IBDictionary.txt file.

Hello again Tomascz,

I added the symbol translation entries to the IBDictionary.txt file.
It still doesn't work.

@ESU24,ESU4-CME-FUT
@MESU24,MESU4-CME-FUT
@NQU24,NQU4-CME-FUT
@MNQU24,MNQU4-CME-FUT

It would be nice if you could add the translated symbol name in the BUY/SELL pop-up dialog window, to confirm that the translation is done.

Look at the IBController window, "Messages" tab for any errors.

No error messages in IBC messages window.
I set a breakpoint in IBC at the PlaceOrder() method. It wasn't reached.

As an extra check, I also repeated the test for INTC and ARM, same problem.
I have the following entry for INTC in IBDictionary.txt, from previous

INTC,INTC-!NASDAQ, This one is because INTC is now traded on multiple exchanges, so we need to set primary exchange

Maybe you don't have IBController properly registered as OLE server. To fix that you might need to run IBController once "As Administrator"

Tomascz,

I ran BrokerIB once as administrator. No difference.
The IBC commands GetTradingInterface(), PlaceOrder(), etc are all working. So I assume that the OLE registration is working OK.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.