Joined: |
Jun 6, 2022 10:33 PM |
Last Post: |
Jun 11, 2022 05:37 PM |
Last Visit: |
Jul 15, 2022 08:06 AM |
Website: |
|
Location: |
Alamo, CA |
Occupation: |
High Tech |
Interests: |
|
|
AIM: |
|
ICQ: |
|
MSN IM: |
|
Yahoo IM: |
|
|
Mark Reiten has contributed to 2 posts out of 21251 total posts
(0.01%) in 857 days (0.00 posts per day).
20 Most recent posts:
Gary,
It checked the protocol and I am using 6.1 which I had used successfully for a long time. It still does not work.
I went back to the VB source code for OptionChainSocket and ran utility to see if it worked correctly. When I set the ticker to apple and the criteria settings to both put/call checked, near months = 2, in/out of money checked and 10in and 10 out of the money contracts the OptionChainSocket utility is sending this string:
CEO,aapl,pc,,2,2,10,10,,F
The response from the system is
E !SYNTAX_ERROR! !ENDMSG!
Is my account set up correctly? The behavior of the system seems to have changed...
Regards, Mark
Mark Reiten
I am using the CEO command as documented in the attached image to retrieve equity options using TickStr as a variable and I seek 2 near months with 10 in the money and 10 out of the money options contracts for both puts and calls. This command string complies with your documentation for protocol 6.1 but the command does not generate any returned data. What am I doing wrong?
sCommand = "CEO," & TickStr & ",pc," & " ," & "2," & "2," & "10," & "10," & "MWR," & "1" & vbCrLf
Mark Reiten
|
|