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...
I'm calling the IV using tickGeneric. It gets the IV but prints it 6 times, not sure why. It prints it intermixed in the previous function...
T Thank you that solution to install an older version worked.
Is there a simple script to run to disconnect? It comes with a connection script, but replacing connect() with disconnect() doesn't seem to be...
I've been trying out scripts to get a feel of using the API, and in the process of changing the client ID I now have several connections through...
Ok I see, thank you. It now seems to work when I change the Client ID to a random number. I was trying with just changing it from 0 to 1 before...
Yes and I'm following the IB tutorial to the letter from youtube here: [MEDIA] I've updated my code with the app.disconnect() and...
Debug what? I've literally copied the code from IB's webinar here:...
Separate names with a comma.