Repository navigation
V 7.1.0
• Added additional fields to the Quote class that were missing for options, futures, and forex.
• Fixed a bug in LevelOneOptions where only the first option for each expiration date was being returned.
• AccountActivity class: added ConvertLoSignScaleToValue() and logic to preprocess json string. A number of numeric fields were represented as “lo” & “signScale” values:
- "{fieldname}": { "lo": "5265000", "signScale": 12 } is converted to "{fieldname}": 5.265
- "{fieldname}": { "lo": "1"} is converted to "{fieldname}": 1
- "{fieldname}": { "signScale": 12 } is converted to "{fieldname}": null
- "{fieldname}": {} is converted to "{fieldname}": null
- "{fieldname}": { "lo": "5", "signScale": 4 } is converted to "{fieldname}": 0.05
- OrderFillCompleted activity class added
• In SchwabApiTest\Mainwindow.xaml.cs added an extra check to reauthorize if refresh token fails. Normally this shouldn’t happen if RefreshTokenExpires is set for 7 days.