Oh no you used the right word. I just chose to use a dataframe instead of a list, basically I made a table with columns "strike | right |...
Thanks I used a dataframe instead of a list and that worked. Only problem now is I'm getting errors "Error: 641 101 Max number of tickers has...
I want to call reqContractDetails() to get many different option strikes and expiry dates. Then use those to get the option prices. So for e.g I...
Ok my bad. The error is that I'm not able to take the results from reqContractDetails() and use them as inputs for reqMktData()
How do I pass the attributes to tickPrice()? I don't think I explained myself well. I know which attributes I need, and how to get them. Right...
I tested it before to get the right parameters. it works if I set the parameters from the get go, but I want to loop through the different...
I want to call contractDetails and feed the values from there ('right', 'lastTradeDateOrContractMonth', and 'strike') into tickPrice to get the...
Thanks that worked. Just had to change app.outCsv = csv.writer(open(r"mycsv.csv",'wb')) to app.outCsv = csv.writer(open(r"mycsv.csv",'w')) or...
I get an error "NameError: name 'self' is not defined" from the line " self.outCsv = csv.writer(open(r"mycsv.csv",'wb'))" in the main() function.
I'm trying to export data from "contractDetails" to csv. So far I've only managed to make it rewrite itself and print out the last line from...
a) I get "Error: 1 321 Error validating request:-'bW' : cause - Snapshot market data subscription is not applicable to generic ticks" b) I...
That makes sense, one time I ran it and the last value printed was different than the first 5. It always prints 6 times though, like that's a...
+ tickPrice just prints once. I don't get why it prints IV first, then tickPrice. I would've assumed tickPrice and tickGeneric would run one...
Separate names with a comma.