Joined: |
Mar 27, 2019 02:01 PM |
Last Post: |
Sep 14, 2020 02:03 PM |
Last Visit: |
Sep 14, 2020 02:03 PM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
Avatar: |
|
|
AIM: |
|
ICQ: |
4087020655 |
MSN IM: |
|
Yahoo IM: |
|
|
Rohan2008 has contributed to 11 posts out of 21251 total posts
(0.05%) in 1,997 days (0.01 posts per day).
20 Most recent posts:
No, it looks like my second machine at the data center had a env config issue. I re-imaged it with Ubuntu 18.04. It looks like its stable now. IQFeed was able to connect over the weekend, but I want to test it live for a few minutes during a trading session. I don't want to disturb my current production server and so this ask. A simple demo account for one symbol is more than sufficient to make sure this works. In anycase, i shall contact sales and see what they can help me with. thanks
I have reimaged the system in the data center and I am trying to figure out how to test my system that connects to iqconnect.... I have a running production system (that consumes iqfeed) locally that I don't want to disturb at this point.
My login/password allows only one connection. How can I test my the software on the second system? I don't need access to the full feed; all I need is to be able to access one symbol live for a few minutes at a time. What does everyone do in this scenario? Any pointers can help..
thanks,
Not sure, if these messages help:
(base) ats@ip83:/opt/pegasus/build-default/bin$ clear; ./iqserver --config /usr/sbin/pegasus/config/ 0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32e4d4, 0x32e4e8 0x32e4dc 0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32e4d4 0x32e4e8 0x32e4dc) returning a dummy value (current locale) 0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31eec8, 0x31eedc 0x31eed0 0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31eec8 0x31eedc 0x31eed0) returning a dummy value (current locale) 0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee74, 0x31ee88 0x31ee7c 0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee74 0x31ee88 0x31ee7c) returning a dummy value (current locale) 0009:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub! Attempting to connecting to IQ Admin port... Admin port connection UP Admin: S,CURRENT PROTOCOL,6.0, Admin: S,REGISTER CLIENT APP COMPLETED, Admin: S,CURRENT LOGINID,480166, Admin: S,CURRENT PASSWORD,(*******), S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents LVL1: 0 2020-9-09 14:24:25 S,KEY,99999 LVL1: 1 2020-9-09 14:24:25 S,SERVER DISCONNECTED LVL1: 2 2020-9-09 14:24:25 NULL message at lvl1 dialog 2020-9-09 18:24:25.158657PLVL1: S,KEY,99999 2020-9-09 18:24:25.158696PLVL1: S,SERVER DISCONNECTED Live Server Port: 7050 History Server port: 7051 Adding: AUDCAD.FXCM Adding: AUDCHF.FXCM Adding: AUDJPY.FXCM Adding: AUDNZD.FXCM Adding: AUDUSD.FXCM Adding: CADCHF.FXCM Adding: CADJPY.FXCM Adding: CHFJPY.FXCM Adding: ZARJPY.FXCM LVL1: 2 2020-9-09 14:24:25 S,CURRENT PROTOCOL,6.0, LVL1: 3 2020-9-09 14:24:25 S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade,Most Recent Trade Size,Most Recent Trade Time,Most Recent Trade Market Center,Total Volume,Bid,Bid Size,Ask,Ask Size,Open,High,Low,Close,Message Contents,Most Recent Trade Conditions LVL1: 4 2020-9-09 14:24:25 S,CURRENT LOG LEVELS,Admin,L1System,L1Error,Debug,Connectivity LVL1: 5 2020-9-09 14:24:25 S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents LVL1: 6 2020-9-09 14:24:25 S,KEYOK 2020-9-09 18:24:25.258764PLVL1: S,CURRENT PROTOCOL,6.0, 2020-9-09 18:24:25.258776PLVL1: S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade,Most Recent Trade Size,Most Recent Trade Time,Most Recent Trade Market Center,Total Volume,Bid,Bid Size,Ask,Ask Size,Open,High,Low,Close,Message Contents,Most Recent Trade Conditions 2020-9-09 18:24:25.258809PLVL1: S,CURRENT LOG LEVELS,Admin,L1System,L1Error,Debug,Connectivity 2020-9-09 18:24:25.258818PLVL1: S,CURRENT UPDATE FIELDNAMES,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents 2020-9-09 18:24:25.258829PLVL1: S,KEYOK Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.11,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.63,0.11,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.30,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.82,0.67,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.49,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.01,0.42,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.68,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.20,0.34,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,0.87,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.38,0.30,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,1.05,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, 2020-9-09 14:24:30 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.57,0.28,, Admin: S,CLIENTSTATS,0,1,PEGASUS,20200909 132424,,,0.16,1.24,0.00, Admin: S,CLIENTSTATS,1,1,PEGASUS,20200909 132425,0,0,1.60,0.52,0.00, Admin: S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,1.76,0.26,, :::::::::
^CShutting down 002c:fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0 002c:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub
log file
To give some context here: 1. This is a dedicated machine in a data center. I have disabled password login and enable ed sshkey based login.
2. I am using ufw firewall... I am having the same issue without the firewall as well.
root@ip83:/home/ats# ufw status Status: active
To Action From -- ------ ---- 22/tcp ALLOW Anywhere 22 ALLOW Anywhere 2323 ALLOW Anywhere 127.0.0.1 9300 ALLOW 127.0.0.1 127.0.0.1 9100 ALLOW 127.0.0.1 127.0.0.1 9200 ALLOW 127.0.0.1 127.0.0.1 5009 ALLOW 127.0.0.1 127.0.0.1 6000 ALLOW 127.0.0.1 127.0.0.1 7050 ALLOW 127.0.0.1 127.0.0.1 7051 ALLOW 127.0.0.1 127.0.0.1 ALLOW 127.0.0.1 Anywhere ALLOW 66.112.156.0/24 Anywhere ALLOW 66.112.148.0/24 5000:5050/tcp ALLOW 66.112.156.0/24 60000:60050/tcp ALLOW 66.112.156.0/24 60000:60050/udp ALLOW 66.112.156.0/24 5000:5050/udp ALLOW 66.112.148.0/24 22/tcp (v6) ALLOW Anywhere (v6) 22 (v6) ALLOW Anywhere (v6) 2323 (v6) ALLOW Anywhere (v6)
root@ip83:/home/ats# cat /etc/network/interfaces # ifupdown has been replaced by netplan(5) on this system. See # /etc/netplan for current configuration. # To re-enable ifupdown on this system, you can run: # sudo apt install ifupdown
Edited by Rohan2008 on Sep 9, 2020 at 11:35 AM Edited by Rohan2008 on Sep 9, 2020 at 11:36 AM
Ports
1. I have tried diagnostics on the prior machine where iqconnect works correctly and on the latest data center system that I am trying to migrate to (that I am having trouble with). Please see the attachment for the results.
2. I have enabled and ‘disabled’ the firewall in the datacenter machine. I don't see any change in the behavior. Diagnostics was able to start iqconnect, but somehow it is not able to connect to it and maintain connection.
3. Port 9100 is weird. I don’t have any application that is using that port but my application still fails. I have commented out the 9100 port usage (historic data) for now to figure out the other issues.
Not sure why I am not able to attach multiple files.. but please see the subsequent posts for attachments
Not sure, if this helps, I get the following error when I attempt to connect to the history port:
(base) ats@ip83:/opt/pegasus/build-default/bin$ ./iqserver --config /usr/sbin/pegasus/config/ 0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33e804, 0x33e818 0x33e80c 0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33e804 0x33e818 0x33e80c) returning a dummy value (current locale) 0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32ee58, 0x32ee6c 0x32ee60 0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32ee58 0x32ee6c 0x32ee60) returning a dummy value (current locale) 0081:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32ee04, 0x32ee18 0x32ee0c 0081:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32ee04 0x32ee18 0x32ee0c) returning a dummy value (current locale) 0081:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub! Attempting to connecting to IQ Admin port... Admin port connection UP S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents NULL message at lvl1 dialog Error while connecting to IQHistory: Connection refused: 127.0.0.1:9100 (base) ats@ip83:/opt/pegasus/build-default/bin$ 0081:fixme:event:wait_for_withdrawn_state window 0xe0156/400006 wait timed out 0081:fixme:msvcrt:__clean_type_info_names_internal (0x1029f8fc) stub
$ cat IQConnectLog.txt
=== IQConnect Log File Opened On Tue Sep 08 19:11:37 === Current Log Levels,Connectivity,Debug,Information,L1Error,L1System,Admin Current IQFeed Version,6.1.0.20 STATUS Connectivity 132 0 2020-09-08 19:11:37 Initializing the login thread STATUS Connectivity 130 0 2020-09-08 19:11:37 Creating trader account verification thread. Status idle STATUS Connectivity 129 0 2020-09-08 19:11:37 Getting login from registry: 480166 STATUS Connectivity 129 0 2020-09-08 19:11:37 Getting Password from registry: (8 characters) STATUS Connectivity 132 0 2020-09-08 19:11:37 Retrieving IP addresses. STATUS Connectivity 129 0 2020-09-08 19:11:37 Processing Command Line STATUS Connectivity 132 0 2020-09-08 19:11:37 Connecting to server (login.interquote.com) on port 60020. STATUS Information 129 0 2020-09-08 19:11:37 Initialization complete. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 1. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 2. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connect Process: Status 3. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connected to server 14. STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 0 (66.112.148.211:60000) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 1 (0.0.0.0:59000) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 2 (0.0.0.0:59000) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 3 (66.112.148.212:60009) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 4 (66.112.148.213:60001) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 5 (66.112.148.211:60005) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 6 (66.112.156.211:60012) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 7 (66.112.156.200:60003) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 8 (66.112.148.211:60015) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 9 (66.112.148.210:60050) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 10 (66.112.148.213:60014) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 11 (66.112.148.185:60045) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 12 (66.112.148.211:60016) STATUS Connectivity 132 0 2020-09-08 19:11:37 Processed Server 13 (66.112.148.211:60018) STATUS Connectivity 132 0 2020-09-08 19:11:37 Initiating disconnection from server 14. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connection to server 14 closed. STATUS Connectivity 132 0 2020-09-08 19:11:37 Connection to server (14) closed gracefully. STATUS Connectivity 132 0 2020-09-08 19:11:37 0 products left to authenticate. Ready STATUS Connectivity 132 0 2020-09-08 19:11:37 Resetting socket in authentication thread. STATUS Information 129 1 2020-09-08 19:11:42 ADMIN SOCKET ACCEPTED - TO CLIENT Admin 129 1 2020-09-08 19:11:42 S,CURRENT PROTOCOL,6.0,
FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET PROTOCOL,6.0 FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET CLIENT NAME,PEGASUS FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,REGISTER CLIENT APP,(P*****0) STATUS Connectivity 129 0 2020-09-08 19:11:42 Received product ID from 3rd party application: (20 characters) STATUS Connectivity 129 0 2020-09-08 19:11:42 Received product version from 3rd party application: (1.3.0.0) STATUS Connectivity 129 0 2020-09-08 19:11:42 Adding Product. Request Auth 0 FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET LOGINID,480166 FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,SET PASSWORD,(1*****8) FROM CLIENT Admin 129 1 2020-09-08 19:11:42 S,CLIENTSTATS ON TO CLIENT Admin 129 1 2020-09-08 19:11:42 S,REGISTER CLIENT APP COMPLETED, S,CURRENT LOGINID,480166, S,CURRENT PASSWORD,(1*****8),
STATUS Information 129 1 2020-09-08 19:11:43 LEVEL1 SOCKET ACCEPTED - TO CLIENT Admin 129 1 2020-09-08 19:11:43 S,CLIENTSTATS,0,1,PEGASUS,20200908 191142,,,0.16,0.11,0.00, S,CLIENTSTATS,1,1,PEGASUS,20200908 191143,0,0,1.56,0.51,0.00,
TO CLIENT Admin 129 1 2020-09-08 19:11:43 S,STATS,,,0,0,2,0,0,0,,,Not Connected,6.1.0.20,480166,0,0,,0.62,0.11,,
STATUS Connectivity 131 0 2020-09-08 19:11:51 Authorizations Thread shutting down (156384765) - Context was terminated
Hi,
I have migrated my trading system to a datacenter and I am noticing that IQConnect has issues. Any advice/comments/pointers can help
Linux Ubuntu 18.04 wine-4.0.3 Firewall details:
/home/ats/DTN/IQFeed# ufw status numbered Status: active To Action From -- ------ ---- [ 1] 22/tcp ALLOW IN Anywhere [ 2] 22 ALLOW IN Anywhere [ 3] 2323 ALLOW IN Anywhere [ 4] 127.0.0.1 9100 ALLOW IN 127.0.0.1 [ 5] 127.0.0.1 5009 ALLOW IN 127.0.0.1 [ 6] 127.0.0.1 9200 ALLOW IN 127.0.0.1 [ 7] 127.0.0.1 9300 ALLOW IN 127.0.0.1 <img src="http://forums.dtn.com/images/icon_smile_8ball.gif"> 127.0.0.1 7050 ALLOW IN 127.0.0.1 [ 9] 127.0.0.1 7051 ALLOW IN 127.0.0.1 [10] 22/tcp (v6) ALLOW IN Anywhere (v6) [11] 22 (v6) ALLOW IN Anywhere (v6) [12] 2323 (v6) ALLOW IN Anywhere (v6)
Issue 1: I run iqconnect.exe using the following command: /usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXXXXX -autoconnect I get the window, but the connect button is greyed out. I can't make it active by typing in any text boxes. The "Quit" button is fully active & functional though Issue 2: My application starts IQFeed with the following command: /usr/bin/xvfb-run -s -noreset -a /usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXX -autoconnect I see that IQFeed starts correctly, but is not getting any data from the server. I see the following log
(base) ats@ip83:/opt/pegasus/build-default/bin$ ./iqserver config /usr/sbin/pegasus/config/ /usr/bin/xvfb-run -s -noreset -a /usr/bin/wine /home/ats/.wine/drive_c/iqconnect.exe -product REDACTED -version 1.0.0.0 -login 480166 -password XXXXXXXXX -autoconnect 0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32e804, 0x32e818 0x32e80c 0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32e804 0x32e818 0x32e80c) returning a dummy value (current locale) 0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee58, 0x31ee6c 0x31ee60 0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee58 0x31ee6c 0x31ee60) returning a dummy value (current locale) 0073:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x31ee04, 0x31ee18 0x31ee0c 0073:fixme:nls:get_dummy_preferred_ui_language (0x38 0x31ee04 0x31ee18 0x31ee0c) returning a dummy value (current locale) 0073:fixme:wer:WerRegisterFile (L"C:\\users\\ats\\My Documents\\DTN\\IQFeed\\IQConnectLog.txt", 2, 0) stub! Attempting to connecting to IQ Admin port... Admin port connection UP S,SELECT UPDATE FIELDS,Symbol,Most Recent Trade Date,Most Recent Trade Time,Most Recent Trade,Most Recent Trade Size,Bid,Bid Size,Ask,Ask Size,Message Contents NULL message at lvl1 dialog Live Server Port: 7050 History Server port: 7051 Live data request... MESSAGE: futures,livestrategy,DX,CT,SB,KC,CC Registering: KC futures Registering: @KCZ20 Registering: @KCH21 Registering: CC futures Registering: @CCZ20 Registering: @CCH21 Registering: SB futures Registering: @SBV20 Registering: @SBH21 Registering: DX futures Registering: @DXU20 Registering: @DXZ20 Registering: CT futures Registering: @CTV20 Registering: @CTZ20 2020-9-08 19:15:55 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00, 2020-9-08 19:16:15 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00, 2020-9-08 19:16:35 ADMIN: S,CLIENTSTATS,1,1,PEGASUS,20200908 181549,10,0,1.84,0.52,0.00, Edited by Rohan2008 on Sep 8, 2020 at 06:24 PM Edited by Rohan2008 on Sep 8, 2020 at 06:25 PM Edited by Rohan2008 on Sep 8, 2020 at 06:26 PM Edited by DTN_Stephen on Sep 9, 2020 at 03:02 PM
Thanks appreciate it. This helps.
So technically, I can assume that if a stock XYZ splits tomorrow for the first time (3/30/2019), IQFeed shall include this info in its split factor 1 field starting from tomorrow?
I create a lot of meta data around the stock price; I don't want to recreate all this info whenever a split happens and so all this.
thanks,
Hi,
I have been scrapping off the web for economic calendar & importance of the relevant events... something like this: https://www.dailyfx.com/calendar?ref=SubNav
Is it possible to get this information through iqfeed? I am specifically interested in the expected volatility (importance) in the above link; I would shut down my trading system if need be and so this ask.
Any pointers can help...
thanks,
Hi,
Questions related to splits from fundamental messages:
I see who split factors in Fundamental messages (dev api):
Quote: Split factor 1 float[ ]MM/DD/YYYY A float a space, then MM/DD/YYYY Provided by exchange or 3rd party data provider Split factor 2 float[ ]MM/DD/YYYY A float a space, then MM/DD/YYYY Provided by exchange or 3rd party data provider
1. How can I use them... I mean what type of information is present; an example can help dramatically. 2. When can I expect this information? 3. Are there any third party data providers that can provide this info... should I add any other service ontop of IQFeed for this info?
thanks,
|
|