Unable to connect
Unable to connect
After installing the new TWS 1.20.1.6 version required by them for CBOE data, I am unable to connect using broker interface. Price data comes through via API but chart trading is not available. I've reviewed all settings -- all check out. I'll open a ticket. Anyone else having this problem?
Re: Unable to connect
I see the same problem with any version greater than 9.x of TWS. (I use DTN IQfeed for my data so I haven't been forced to upgrade yet...)
Re: Unable to connect
Did you manage to solve the issue? As i am having the same problem with IB
Re: Unable to connect
I was able to solve this on my own.
I ended up going through the IB API section line by line a toggling everything. (Ofcourse the setting that fixed it was at the bottom.)
Here is a screenshot of TWS 10.23. Everything works *except* I cannot use the "quick" button in Wave59. It is not a huge concern for me since I am not a scalper, but I did find that functionality useful at times.
I ended up going through the IB API section line by line a toggling everything. (Ofcourse the setting that fixed it was at the bottom.)
Here is a screenshot of TWS 10.23. Everything works *except* I cannot use the "quick" button in Wave59. It is not a huge concern for me since I am not a scalper, but I did find that functionality useful at times.
Re: Unable to connect
sbank wrote: ↑Mon Aug 21, 2023 12:39 pmI was able to solve this on my own.
I ended up going through the IB API section line by line a toggling everything. (Ofcourse the setting that fixed it was at the bottom.)
Here is a screenshot of TWS 10.23. Everything works *except* I cannot use the "quick" button in Wave59. It is not a huge concern for me since I am not a scalper, but I did find that functionality useful at times.
2023-07-31_12-28-31.png
You are a star mate! Thank you very much!!
Re: Unable to connect
Yes there seems to be a transmit issue with market orders. IBPLACEORDER transmits limit orders but not market ones. The market order is placed in IB but never transmits but i think this is an IB issue. Just to updatesbank wrote: ↑Mon Aug 21, 2023 12:39 pmI was able to solve this on my own.
I ended up going through the IB API section line by line a toggling everything. (Ofcourse the setting that fixed it was at the bottom.)
Here is a screenshot of TWS 10.23. Everything works *except* I cannot use the "quick" button in Wave59. It is not a huge concern for me since I am not a scalper, but I did find that functionality useful at times.
2023-07-31_12-28-31.png
Re: Unable to connect
My QScripts are able to place Market orders (FWIW). ¯\_(ツ)_/¯
Re: Unable to connect
Ya know, you might be on to something about all market orders. I looked at all my code, and I place limit orders, wait, then convert to market if the order doesn't fill.
Here is my boilerplate code I use for everything (this is out of Earik's Mechanical Trading book):
This is for daily bars. Make sure you set the chart up with the option to "run scripts 1 minute before the close."
Here is my boilerplate code I use for everything (this is out of Earik's Mechanical Trading book):
Code: Select all
if (barnum == barsback) {
bs=0;
signal=0;
gomarket_hour=15;
gomarket_minute=59;
gomarket_second=40;
}
position = ib_marketposition();
# implement trading system
if ((signal>0) and (bs<=0)) {
buy(1,close,"market","onebar");
bs=1;
# live orders
if ((position <= 0) and (autotrade == true)){
contracts = cts + abs(position);
IB_CancelAll();
ref=IB_PlaceOrder("buy",contracts,close,"limit","day","");
ib_gomarketattime(ref,year,month,day,gomarket_hour,gomarket_minute,gomarket_second);
}
}
Re: Unable to connect
Market orders no longer works with W59....has to be MKT PRT, however that need Earik to update the software.
- Attachments
-
- combine_images.jpg (275.97 KiB) Viewed 9757 times
-
- combine_images.jpg (275.97 KiB) Viewed 9757 times
Who is online
Users browsing this forum: No registered users and 114 guests