CSI UA API

Post Reply
User avatar
dgn2
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by dgn2 »

I haven't tried the RCSI package, but I also live in the 'NUX world. I had to resort to virtualbox + Windows XP 64 to run both eSignal and CSI
...WARNING: I am an optimal f'er
User avatar
Tradenator
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by Tradenator »

I still use python for all my CSI data acquisition needs.  You should be able to get it to run on an older machine.
User avatar
quantz
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by quantz »

jungle, at my previous firm we always got SFE data direct from SFE rather than CSI. (there's a way to download from SFE website, not sure if you have to pay them.) I was not particularly impressed with CSI in my experience of downloading futures data, also their customer service was bad/non-existant
User avatar
jungle
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by jungle »

Today I got this error message:



[i]COMException was unhandled: Creating an instance of the COM component with CLSID {6F2F99A3-6600-11D3-B331-525400E8C92C} from the IClassFactory failed due to the following error: 80010105.[/i]



which occured at this line of code which is part of a program that downloads data from CSI and uploads it to my db:



API2Class uaApi2 = new API2Class();



Any ideas? 



EDIT: HTML formatting removed.
it's axiomatic, deal with it.
User avatar
Dizzy
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by Dizzy »

Tried rebooting? Cool



"An engineer, a mathematician, and a computer programmer are driving down the road when the car they are in gets a flat tire. The engineer says that they should buy a new car. The mathematician says they should sell the old tire and buy a new one. The computer programmer says they should drive the car around the block and see if the tire fixes itself."
"Although the code snippet makes taking over the earth look fairly easy, you don't see all the hard work going on behind the scenes." - Programming F#, Chris Smith
User avatar
jungle
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by jungle »

Dizzy 1, MSFT 0.



Thank you!
it's axiomatic, deal with it.
User avatar
dgn2
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by dgn2 »

Has anyone managed to use the CSI API to extract their options data? I wrote code to do this years ago and posted it, but I don't think it works correctly. I can't seem to figure out how to determine the expiry of the options. I have contacted CSI but so far they have not been much help. Somehow I think one has to index into the underlying contract (symbol, delivery), then iterate over the options (strike,expiry). The field for the underlying futures delivery then becomes the option expiry.



Can anyone give me a hand here?
...WARNING: I am an optimal f'er
User avatar
Tradenator
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by Tradenator »

There is a CSV file "...\UA\archives\cdbfacts.adm" containing the expiry dates (yyyymmdd) for the nearest few running futures contract months that lets you look forward for a short time.  Looking backwards, I think the data simply stops at the last trade.  I'm not sure how this maps precisely over to the options on those futures.  You should be able to get the recipe from the exchange.
User avatar
dgn2
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by dgn2 »

Has anyone managed to extract CSI data using the CSI UA API via Python? I have recently started to rewrite much of my old Perl code in Python and a simple example would really speed things up.
...WARNING: I am an optimal f'er
User avatar
Scotty
Posts: 0
Joined: Thu Jan 01, 2004 12:00 am

CSI UA API

Post by Scotty »

Hi dgn2,



Why are you rewriting your code? Are you moving to an all Python environment?
“Whatever you do, or dream you can, begin it. Boldness has genius and power and magic in it.”
Post Reply