-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
This one causes all the returned fields to make no sense as they are pulled into their neighbor. e.g. impliedVolitility returns 0, delta is always impliedVolitility etc.
Lines 3197 to 3201 in efdb8d6
| event: EventName.tickOptionComputation, | |
| listener: ( | |
| reqId: number, | |
| field: TickType, | |
| impliedVolatility?: number, |
The code is missing tickAttribute, at Line 3201 after field,.
public virtual void tickOptionComputation(int tickerId, int field, int tickAttrib, double impliedVolatility, double delta, double optPrice, double pvDividend, double gamma, double vega, double theta, double undPrice)
Ref: https://interactivebrokers.github.io/tws-api/option_computations.html
When I added this the data made sense again and lined up to TWS.
Metadata
Metadata
Assignees
Labels
No labels