Re: Building an Advanced Historical Stock Screener
No, I manually (and quite tediously) scraped the symbols from a website and then edited them into a file in the format that my downloader command line program can use for input.
You can get such a
By
Richard L King
·
#49313
·
|
Re: Building an Advanced Historical Stock Screener
It's vastly improved. There are still combinations of bar size and duration that cause lengthy waits, and my implementation takes care to avoid them. Though I've just realised that at least some of
By
Richard L King
·
#49312
·
|
Re: Building an Advanced Historical Stock Screener
Richard, did you manually enter every symbol into a list for the contract.symbol = “ticker”
I don’t know if there is a way to scan all stocks in nasdaq in one go.
By
tagerrish@...
·
#49311
·
|
Re: Building an Advanced Historical Stock Screener
Yikes. Things have changed for the better. I know they relaxed the pacing limits but didn't think it was so dramatic for daily bars.
Thanks for the info!
By
Nick <news1000@...>
·
#49310
·
|
Re: Building an Advanced Historical Stock Screener
Nick, I think you're dismissing the historical data mechanism too easily.
I downloaded 10 daily bars for each of the S&P 500 stocks using my downloader program, and it did the lot in just 30
By
Richard L King
·
#49309
·
|
Re: Building an Advanced Historical Stock Screener
Your best bet is the built-in scanners since you probably can't download history for those markets (around 6,000 stocks) in a timely manner with the tws api. The pacing limits are a moving target so
By
Nick <news1000@...>
·
#49308
·
|
Building an Advanced Historical Stock Screener
I am trying to build an advanced stock screener using tws API and I am not sure if what I am trying to do is possible. I want to scan the entire NYSE and NASDAQ for a set of historical criteria to
By
tagerrish@...
·
#49307
·
|
Re: TWS API for FUTURE response 200 No security definition has been found for the request
The required fields are incorrect.? Take a look at the samples in the API, in the ContractSample.cpp file from the C++ project, and the? FutureWithLocalSymbol() function.
contract.secType =
By
rossh_yh
·
#49305
·
|
Re: TWS API for FUTURE response 200 No security definition has been found for the request
The financial futures trade calendar quarter-end deliveries: March, June, September, December
Commodity futures deliveries coincide with production or consumption cycles (e.g. growing season in
By
rwk
·
#49304
·
|
TWS API for FUTURE response 200 No security definition has been found for the request
Hi,
I am trying to get the FUTURE data of some indexes like ES,?NQ, so I write the following code:
contract = Contract()
contract.symbol = "ES"
contract.secType = "FUT"
contract.exchange =
By
breakout.soul@...
·
#49303
·
|
Re: Conditions on twsactivex API.... AGAIN :)
Just for whoever finds this thread and because they had the same problem as
me, to circumvent this issue I had to cancel the order and send it again
with a new order Id, every day. Hope there will be
By
joanmarcel119
·
#49302
·
|
Conditions on twsactivex API.... AGAIN :)
First of all, I hope this message finds you well.
Here we go again with an issue related to price conditions. It seems that
I'm the only one person in the world using these conditions on
By
joanmarcel119
·
#49301
·
|
Re: Pairs trading: Parent vs Child order placement
I want to add my experience with combo orders. I also was at the beginning worried because they were not guaranteed. However it happened extremely seldom that not both legs filled almost
By
Despair
·
#49300
·
|
Re: Pairs trading: Parent vs Child order placement
Thank you for your support, I had a read at this page:
By
John
·
#49299
·
|
Re: Pairs trading: Parent vs Child order placement
I do use this type of orders for one special effect, which excludes trading
in different securities (it's more of a simpler reversion trade). There are
a some quirks to all of varieties of IB's
By
ds-avatar
·
#49298
·
|
Problem with specific symbols
Hi all,
I am using ib_insync to buy/sell NYSE stocks, and generally the script works fine.
In some cases, when I buy or sell specific symbols - orders are not filled.
This happens with those symbols
By
cohenkobi1@...
·
#49297
·
|
Re: TWS order has reqId=0; how to cancel it from API?
This is weird for sure.? I just call reqAllOpenOrders() and reqOpenOrders() and store everything that gets returned in the callbacks.? That seems to grab them all and I then have the correct
By
FreeGoldRush
·
#49296
·
|
Re: Pairs trading: Parent vs Child order placement
For context, the goal is pairs trading, but one of the two securities is somewhat less liquid than the other,
hence the desired prioritization/conditionality of the most liquid order on the execution
By
John
·
#49295
·
|
Re: Pairs trading: Parent vs Child order placement
Thank you very much both.
With trial and error, I found that Transmit=False is of no use in this case, as I need the orders transmitted; the child order got blocked in the current format as not on
By
John
·
#49294
·
|
Re: TWS order has reqId=0; how to cancel it from API?
Thanks for the reply. I found the root cause of this.
I used ‘reqAllOpenOrders’ instead of ‘reqOpenOrders’ and that does not receive the ‘orderBound’ callback.
The confusing thing is that
By
Bart D
·
#49293
·
|