stargrazer has contributed to 270 posts out of 20121 total posts
(1.34%) in 5,790 days (0.05 posts per day).
20 Most recent posts:
Well, ..... the logical location for real time notifications would be the DTN Client it self. It is already used for popping up version notifications.
Wny not present system notifications as well?
Quote: It forces users who need this data to stream subscriptions and capture them in real time locally. That's an unreliable solution over the internet and something users should not be wasting their time building.
I would say that many have done so, including me.
Quote: IQ Feed could snapshot the BBO once per second
You'll find that when you use that mechanism for liquid instruments, the quality of data becomes lacking due to the high frequency aspects of the data.
FWIW, I believe DTN's choice of quote at trade storage is a reasonable trade-off.
Collecting data real-time during the day allows you to catch the stream as it happens with all its brutality and uneveness. Which is required for proving any sort of trading system 'in the natural'.
Edited by stargrazer on Apr 7, 2021 at 11:52 PM
The guts of what I use for IV then the greeks:
Calc for risk free interest using IQ symbols
What I have as a compute engine as quotes come in:
Quote: my IQML connector for Matlab) calculate the greeks internally and report them to the user
What do you use as a source of interest rate?
Edited by stargrazer on Feb 20, 2021 at 03:25 PM
Not sure by what you mean by 'but it was too slow'. But that would typically be how you would get the bid/ask, is by 'watching' the bid/ask/trade stream.
Run the 'w' with a symbol in IQFeed to obtain the live stream. You can then extract the bid/ask/trade information from this live stream.
Bid/Ask for non trades is not available on any symbol, option or equity.
If you are back testing on that kind of high frequency data, you probably don't really need a lot of history.
I simply run collections on bid/ask/trade info live during market hours. I store that each day. There is much info.
I can then back test as needed on the details collected.
On the other hand, I'll typically build models, then run them real time on paper trading. It provides a true real-time high-frequency experience. Or as close to true, as paper-trading can supply (some slipped and unmet orders).
Or maybe install the packages supplied by your distribution.
Then when you run "wine ..... ", it should use your home directory, and all your user privileges should work on your own files.
Otherwise, run chown 'user.user' <using your user> to fix up ownership.
I find that if I start news or the quote tool, the app initiates the login sequence, and serves to keep the service pinned up.
Typically the first time doesn't work. On the second try it works. Then I can connect my tools. The session seems to be reliable for me at that point.
DTN has been promising an API for many years.
At the very least, it would be nice if they could simulate a WINE session themselves, and maybe see what this issue is and at least resolve it, so that at minimum, WINE does work reliably.
And as a note, this is using x64 version of Wine with the x86 32 bit extensions.
There is some other recent activity on how to start up the agent. In addition, there needs to be a client running and connected to the agent to keep it running. I usually just startup the snapquote and select any old symbol to monitor.
On my machine:
user@here:~$ wine .wine/drive_c/Program\ Files/DTN/IQFeed/iqconnect.exe -product x1 -version x2 -login x3 -password x4 -autoconnect
Substitute your own info for x1, x2, x3, x4
A subset of what I see in today's mktsymbols_v2 file
I don't think .12 is a valid price point?
NEM1921F35 NEM JUN 2019 C 35.00 OPRA OPRA IEOPTION
NEM1921F35.12 NEM JUN 2019 C 35.12 OPRA OPRA IEOPTION
NEM1921F35.5 NEM JUN 2019 C 35.50 OPRA OPRA IEOPTION
NEM1921F36 NEM JUN 2019 C 36.00 OPRA OPRA IEOPTION
NEM1921F36.12 NEM JUN 2019 C 36.12 OPRA OPRA IEOPTION
NEM1921F36.5 NEM JUN 2019 C 36.50 OPRA OPRA IEOPTION
NEM1921F37 NEM JUN 2019 C 37.00 OPRA OPRA IEOPTION
NEM1921F37.12 NEM JUN 2019 C 37.12 OPRA OPRA IEOPTION
NEM1921F37.5 NEM JUN 2019 C 37.50 OPRA OPRA IEOPTION
NEM1921F38.12 NEM JUN 2019 C 38.12 OPRA OPRA IEOPTION
NEM1921F39.12 NEM JUN 2019 C 39.12 OPRA OPRA IEOPTION
NEM1921F40.12 NEM JUN 2019 C 40.12 OPRA OPRA IEOPTION
NEM1921F41.12 NEM JUN 2019 C 41.12 OPRA OPRA IEOPTION
NEM1921F42.12 NEM JUN 2019 C 42.12 OPRA OPRA IEOPTION
NEM1921F43.12 NEM JUN 2019 C 43.12 OPRA OPRA IEOPTION
NEM1921F44.12 NEM JUN 2019 C 44.12 OPRA OPRA IEOPTION
NEM1921F45.12 NEM JUN 2019 C 45.12 OPRA OPRA IEOPTION
NEM1921F46.12 NEM JUN 2019 C 46.12 OPRA OPRA IEOPTION
NEM1921F47.12 NEM JUN 2019 C 47.12 OPRA OPRA IEOPTION
NEM1921F48.12 NEM JUN 2019 C 48.12 OPRA OPRA IEOPTION
NEM1921F49.12 NEM JUN 2019 C 49.12 OPRA OPRA IEOPTION
NEM1921R19.12 NEM JUN 2019 P 19.12 OPRA OPRA IEOPTION
NEM1921R20.12 NEM JUN 2019 P 20.12 OPRA OPRA IEOPTION
NEM1921R21.12 NEM JUN 2019 P 21.12 OPRA OPRA IEOPTION
NEM1921R22.12 NEM JUN 2019 P 22.12 OPRA OPRA IEOPTION
NEM1921R23 NEM JUN 2019 P 23.00 OPRA OPRA IEOPTION
NEM1921R23.12 NEM JUN 2019 P 23.12 OPRA OPRA IEOPTION
NEM1921R23.5 NEM JUN 2019 P 23.50 OPRA OPRA IEOPTION
NEM1921R24 NEM JUN 2019 P 24.00 OPRA OPRA IEOPTION
I have an app which download and parses the mktsymbols_v2.txt file:
I've found some SIC and NAICS code files which I use to find certain groupings:
I have a set of tools I use for querying various IQFeed based streams: news, history, live quotes (fundamental data found in the live quote streams)
There is some one else's tool which provides easy db access to mysql:
This is all C++. Someone else in the forums has some C# libraries. I don't know what else is out there.
Do you need specific development environment, or do you just need an application rather than an API?
What are you looking to do?
I think 220.127.116.11 has some buffering/incomplete-record issues when running multiple symbols. Try the latest which is 18.104.22.168, I believe.
Try building your VM with Stretch.
Although describing a container build, the same wine configuration can be used in a regular VM (you may need to copy and paste the link rather than clicking on it):
There might be an issue with the news service. If so, see the following for a fix:
To get IQConnect 'locked in', I run the SnapQuote application twice. The first time starts IQConnect, and the second time actually makes a connection after choosing a symbol. I then close the first SnapQuote application.
If it is the server side, can you telnet to the news port and see headlines and articles?
Quote: Also, when is anybody going to get around to fixing the news display application.
Every time I click a news item all I get is "page cannot be displayed" in the bottom panel.
Dunno, if you are running in Wine, then the following may fix for you:
But I am running v22.214.171.124, which might act differently.
I'm not sure what the question is, because I think the discrepancies can be attributed to mostly physics then.
When I looked at this many moons ago, Chicago was closer then NY to the DTN servers, thus the differences in time.
Do you use NTP to sync the time of your server to the 'rest of the world'?
Oh, and one more thing. Is the iqfeed client 64 bit yet? If not, isn't that kinda stone age? My 64 bit apps are unable to start the iqfeed client, and I have to revert to starting it manually with one of the iqfeed supplied sample apps. As far as I recollect, and it was a long time ago, there is only a 32 bit api for auto-starting the iqfeed client. Or have things changed since way back then?
But having said all that, it seems as though more and more users are switching to Linux. And this goes back 'quite a number of years'.
For the DTN support people, what would be preventing the creation of a native linux based client? Or even a client which does not require a GUI login? Is it an exchange licensing problem?