@adaptic/backend-legacy 0.0.921 → 0.0.923

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/Asset.cjs +30 -0
  2. package/DeadLetterMessage.cjs +6 -0
  3. package/InstitutionalFlowSignal.cjs +33 -0
  4. package/InstitutionalHolding.cjs +33 -0
  5. package/NewsArticle.cjs +66 -0
  6. package/NewsArticleAssetSentiment.cjs +48 -0
  7. package/OptionsContract.cjs +825 -0
  8. package/OptionsGreeksHistory.cjs +681 -0
  9. package/OptionsPosition.cjs +1017 -0
  10. package/OptionsTradeExecution.cjs +969 -0
  11. package/PortfolioGreeksHistory.cjs +36 -0
  12. package/SignalGeneratorMetrics.cjs +24 -0
  13. package/SignalLineage.cjs +6 -0
  14. package/SignalOutcome.cjs +9 -0
  15. package/SignalPriorityQueue.cjs +12 -0
  16. package/esm/Asset.d.ts.map +1 -1
  17. package/esm/Asset.js.map +1 -1
  18. package/esm/Asset.mjs +30 -0
  19. package/esm/DeadLetterMessage.d.ts.map +1 -1
  20. package/esm/DeadLetterMessage.js.map +1 -1
  21. package/esm/DeadLetterMessage.mjs +6 -0
  22. package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
  23. package/esm/InstitutionalFlowSignal.js.map +1 -1
  24. package/esm/InstitutionalFlowSignal.mjs +33 -0
  25. package/esm/InstitutionalHolding.d.ts.map +1 -1
  26. package/esm/InstitutionalHolding.js.map +1 -1
  27. package/esm/InstitutionalHolding.mjs +33 -0
  28. package/esm/NewsArticle.d.ts.map +1 -1
  29. package/esm/NewsArticle.js.map +1 -1
  30. package/esm/NewsArticle.mjs +66 -0
  31. package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
  32. package/esm/NewsArticleAssetSentiment.js.map +1 -1
  33. package/esm/NewsArticleAssetSentiment.mjs +48 -0
  34. package/esm/OptionsContract.d.ts.map +1 -1
  35. package/esm/OptionsContract.js.map +1 -1
  36. package/esm/OptionsContract.mjs +825 -0
  37. package/esm/OptionsGreeksHistory.d.ts.map +1 -1
  38. package/esm/OptionsGreeksHistory.js.map +1 -1
  39. package/esm/OptionsGreeksHistory.mjs +681 -0
  40. package/esm/OptionsPosition.d.ts.map +1 -1
  41. package/esm/OptionsPosition.js.map +1 -1
  42. package/esm/OptionsPosition.mjs +1017 -0
  43. package/esm/OptionsTradeExecution.d.ts.map +1 -1
  44. package/esm/OptionsTradeExecution.js.map +1 -1
  45. package/esm/OptionsTradeExecution.mjs +969 -0
  46. package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
  47. package/esm/PortfolioGreeksHistory.js.map +1 -1
  48. package/esm/PortfolioGreeksHistory.mjs +36 -0
  49. package/esm/SignalGeneratorMetrics.d.ts.map +1 -1
  50. package/esm/SignalGeneratorMetrics.js.map +1 -1
  51. package/esm/SignalGeneratorMetrics.mjs +24 -0
  52. package/esm/SignalLineage.d.ts.map +1 -1
  53. package/esm/SignalLineage.js.map +1 -1
  54. package/esm/SignalLineage.mjs +6 -0
  55. package/esm/SignalOutcome.d.ts.map +1 -1
  56. package/esm/SignalOutcome.js.map +1 -1
  57. package/esm/SignalOutcome.mjs +9 -0
  58. package/esm/SignalPriorityQueue.d.ts.map +1 -1
  59. package/esm/SignalPriorityQueue.js.map +1 -1
  60. package/esm/SignalPriorityQueue.mjs +12 -0
  61. package/esm/index.d.ts.map +1 -1
  62. package/package.json +1 -1
@@ -165,13 +165,28 @@ export const OptionsContract = {
165
165
  symbol: props.symbol !== undefined ? props.symbol : undefined,
166
166
  contractSymbol: props.contractSymbol !== undefined ? props.contractSymbol : undefined,
167
167
  optionType: props.optionType !== undefined ? props.optionType : undefined,
168
+ strikePrice: props.strikePrice !== undefined ? props.strikePrice : undefined,
168
169
  expirationDate: props.expirationDate !== undefined ? props.expirationDate : undefined,
169
170
  daysToExpiration: props.daysToExpiration !== undefined ? props.daysToExpiration : undefined,
171
+ lastPrice: props.lastPrice !== undefined ? props.lastPrice : undefined,
172
+ bidPrice: props.bidPrice !== undefined ? props.bidPrice : undefined,
173
+ askPrice: props.askPrice !== undefined ? props.askPrice : undefined,
174
+ midPrice: props.midPrice !== undefined ? props.midPrice : undefined,
170
175
  bidSize: props.bidSize !== undefined ? props.bidSize : undefined,
171
176
  askSize: props.askSize !== undefined ? props.askSize : undefined,
172
177
  volume: props.volume !== undefined ? props.volume : undefined,
173
178
  openInterest: props.openInterest !== undefined ? props.openInterest : undefined,
179
+ impliedVolatility: props.impliedVolatility !== undefined ? props.impliedVolatility : undefined,
180
+ delta: props.delta !== undefined ? props.delta : undefined,
181
+ gamma: props.gamma !== undefined ? props.gamma : undefined,
182
+ theta: props.theta !== undefined ? props.theta : undefined,
183
+ vega: props.vega !== undefined ? props.vega : undefined,
184
+ rho: props.rho !== undefined ? props.rho : undefined,
174
185
  inTheMoney: props.inTheMoney !== undefined ? props.inTheMoney : undefined,
186
+ intrinsicValue: props.intrinsicValue !== undefined ? props.intrinsicValue : undefined,
187
+ extrinsicValue: props.extrinsicValue !== undefined ? props.extrinsicValue : undefined,
188
+ theoreticalPrice: props.theoreticalPrice !== undefined ? props.theoreticalPrice : undefined,
189
+ underlyingPrice: props.underlyingPrice !== undefined ? props.underlyingPrice : undefined,
175
190
  metadata: props.metadata !== undefined ? props.metadata : undefined,
176
191
  dataTimestamp: props.dataTimestamp !== undefined ? props.dataTimestamp : undefined,
177
192
  positions: props.positions ?
@@ -198,8 +213,25 @@ export const OptionsContract = {
198
213
  status: item.status !== undefined ? item.status : undefined,
199
214
  openingSide: item.openingSide !== undefined ? item.openingSide : undefined,
200
215
  quantity: item.quantity !== undefined ? item.quantity : undefined,
216
+ entryPrice: item.entryPrice !== undefined ? item.entryPrice : undefined,
217
+ entryCost: item.entryCost !== undefined ? item.entryCost : undefined,
201
218
  entryTime: item.entryTime !== undefined ? item.entryTime : undefined,
219
+ exitPrice: item.exitPrice !== undefined ? item.exitPrice : undefined,
220
+ exitValue: item.exitValue !== undefined ? item.exitValue : undefined,
202
221
  exitTime: item.exitTime !== undefined ? item.exitTime : undefined,
222
+ currentPrice: item.currentPrice !== undefined ? item.currentPrice : undefined,
223
+ currentValue: item.currentValue !== undefined ? item.currentValue : undefined,
224
+ unrealizedPnL: item.unrealizedPnL !== undefined ? item.unrealizedPnL : undefined,
225
+ unrealizedPnLPercent: item.unrealizedPnLPercent !== undefined ? item.unrealizedPnLPercent : undefined,
226
+ realizedPnL: item.realizedPnL !== undefined ? item.realizedPnL : undefined,
227
+ realizedPnLPercent: item.realizedPnLPercent !== undefined ? item.realizedPnLPercent : undefined,
228
+ totalFees: item.totalFees !== undefined ? item.totalFees : undefined,
229
+ currentDelta: item.currentDelta !== undefined ? item.currentDelta : undefined,
230
+ currentGamma: item.currentGamma !== undefined ? item.currentGamma : undefined,
231
+ currentTheta: item.currentTheta !== undefined ? item.currentTheta : undefined,
232
+ currentVega: item.currentVega !== undefined ? item.currentVega : undefined,
233
+ currentRho: item.currentRho !== undefined ? item.currentRho : undefined,
234
+ currentImpliedVolatility: item.currentImpliedVolatility !== undefined ? item.currentImpliedVolatility : undefined,
203
235
  daysHeld: item.daysHeld !== undefined ? item.daysHeld : undefined,
204
236
  exitReason: item.exitReason !== undefined ? item.exitReason : undefined,
205
237
  strategyType: item.strategyType !== undefined ? item.strategyType : undefined,
@@ -232,10 +264,23 @@ export const OptionsContract = {
232
264
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
233
265
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
234
266
  quantity: item.quantity !== undefined ? item.quantity : undefined,
267
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
268
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
269
+ fees: item.fees !== undefined ? item.fees : undefined,
235
270
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
271
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
272
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
273
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
274
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
275
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
276
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
277
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
236
278
  orderType: item.orderType !== undefined ? item.orderType : undefined,
279
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
280
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
237
281
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
238
282
  venue: item.venue !== undefined ? item.venue : undefined,
283
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
239
284
  notes: item.notes !== undefined ? item.notes : undefined,
240
285
  metadata: item.metadata !== undefined ? item.metadata : undefined,
241
286
  contract: item.contract ?
@@ -255,13 +300,28 @@ export const OptionsContract = {
255
300
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
256
301
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
257
302
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
303
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
258
304
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
259
305
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
306
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
307
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
308
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
309
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
260
310
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
261
311
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
262
312
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
263
313
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
314
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
315
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
316
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
317
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
318
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
319
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
264
320
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
321
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
322
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
323
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
324
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
265
325
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
266
326
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
267
327
  },
@@ -288,9 +348,21 @@ export const OptionsContract = {
288
348
  },
289
349
  create: {
290
350
  timestamp: item.timestamp !== undefined ? item.timestamp : undefined,
351
+ underlyingPrice: item.underlyingPrice !== undefined ? item.underlyingPrice : undefined,
352
+ optionPrice: item.optionPrice !== undefined ? item.optionPrice : undefined,
353
+ bidPrice: item.bidPrice !== undefined ? item.bidPrice : undefined,
354
+ askPrice: item.askPrice !== undefined ? item.askPrice : undefined,
355
+ impliedVolatility: item.impliedVolatility !== undefined ? item.impliedVolatility : undefined,
356
+ delta: item.delta !== undefined ? item.delta : undefined,
357
+ gamma: item.gamma !== undefined ? item.gamma : undefined,
358
+ theta: item.theta !== undefined ? item.theta : undefined,
359
+ vega: item.vega !== undefined ? item.vega : undefined,
360
+ rho: item.rho !== undefined ? item.rho : undefined,
291
361
  volume: item.volume !== undefined ? item.volume : undefined,
292
362
  openInterest: item.openInterest !== undefined ? item.openInterest : undefined,
293
363
  daysToExpiration: item.daysToExpiration !== undefined ? item.daysToExpiration : undefined,
364
+ intrinsicValue: item.intrinsicValue !== undefined ? item.intrinsicValue : undefined,
365
+ extrinsicValue: item.extrinsicValue !== undefined ? item.extrinsicValue : undefined,
294
366
  metadata: item.metadata !== undefined ? item.metadata : undefined,
295
367
  },
296
368
  }))
@@ -322,10 +394,23 @@ export const OptionsContract = {
322
394
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
323
395
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
324
396
  quantity: item.quantity !== undefined ? item.quantity : undefined,
397
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
398
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
399
+ fees: item.fees !== undefined ? item.fees : undefined,
325
400
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
401
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
402
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
403
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
404
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
405
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
406
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
407
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
326
408
  orderType: item.orderType !== undefined ? item.orderType : undefined,
409
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
410
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
327
411
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
328
412
  venue: item.venue !== undefined ? item.venue : undefined,
413
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
329
414
  notes: item.notes !== undefined ? item.notes : undefined,
330
415
  metadata: item.metadata !== undefined ? item.metadata : undefined,
331
416
  position: item.position ?
@@ -352,8 +437,25 @@ export const OptionsContract = {
352
437
  status: item.position.status !== undefined ? item.position.status : undefined,
353
438
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
354
439
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
440
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
441
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
355
442
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
443
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
444
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
356
445
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
446
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
447
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
448
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
449
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
450
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
451
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
452
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
453
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
454
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
455
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
456
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
457
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
458
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
357
459
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
358
460
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
359
461
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -376,13 +478,28 @@ export const OptionsContract = {
376
478
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
377
479
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
378
480
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
481
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
379
482
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
380
483
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
484
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
485
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
486
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
487
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
381
488
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
382
489
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
383
490
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
384
491
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
492
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
493
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
494
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
495
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
496
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
497
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
385
498
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
499
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
500
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
501
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
502
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
386
503
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
387
504
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
388
505
  },
@@ -500,13 +617,28 @@ export const OptionsContract = {
500
617
  symbol: prop.symbol !== undefined ? prop.symbol : undefined,
501
618
  contractSymbol: prop.contractSymbol !== undefined ? prop.contractSymbol : undefined,
502
619
  optionType: prop.optionType !== undefined ? prop.optionType : undefined,
620
+ strikePrice: prop.strikePrice !== undefined ? prop.strikePrice : undefined,
503
621
  expirationDate: prop.expirationDate !== undefined ? prop.expirationDate : undefined,
504
622
  daysToExpiration: prop.daysToExpiration !== undefined ? prop.daysToExpiration : undefined,
623
+ lastPrice: prop.lastPrice !== undefined ? prop.lastPrice : undefined,
624
+ bidPrice: prop.bidPrice !== undefined ? prop.bidPrice : undefined,
625
+ askPrice: prop.askPrice !== undefined ? prop.askPrice : undefined,
626
+ midPrice: prop.midPrice !== undefined ? prop.midPrice : undefined,
505
627
  bidSize: prop.bidSize !== undefined ? prop.bidSize : undefined,
506
628
  askSize: prop.askSize !== undefined ? prop.askSize : undefined,
507
629
  volume: prop.volume !== undefined ? prop.volume : undefined,
508
630
  openInterest: prop.openInterest !== undefined ? prop.openInterest : undefined,
631
+ impliedVolatility: prop.impliedVolatility !== undefined ? prop.impliedVolatility : undefined,
632
+ delta: prop.delta !== undefined ? prop.delta : undefined,
633
+ gamma: prop.gamma !== undefined ? prop.gamma : undefined,
634
+ theta: prop.theta !== undefined ? prop.theta : undefined,
635
+ vega: prop.vega !== undefined ? prop.vega : undefined,
636
+ rho: prop.rho !== undefined ? prop.rho : undefined,
509
637
  inTheMoney: prop.inTheMoney !== undefined ? prop.inTheMoney : undefined,
638
+ intrinsicValue: prop.intrinsicValue !== undefined ? prop.intrinsicValue : undefined,
639
+ extrinsicValue: prop.extrinsicValue !== undefined ? prop.extrinsicValue : undefined,
640
+ theoreticalPrice: prop.theoreticalPrice !== undefined ? prop.theoreticalPrice : undefined,
641
+ underlyingPrice: prop.underlyingPrice !== undefined ? prop.underlyingPrice : undefined,
510
642
  metadata: prop.metadata !== undefined ? prop.metadata : undefined,
511
643
  dataTimestamp: prop.dataTimestamp !== undefined ? prop.dataTimestamp : undefined,
512
644
  })),
@@ -1015,13 +1147,28 @@ export const OptionsContract = {
1015
1147
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
1016
1148
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
1017
1149
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
1150
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
1018
1151
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
1019
1152
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
1153
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
1154
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
1155
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
1156
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
1020
1157
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
1021
1158
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
1022
1159
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
1023
1160
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
1161
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
1162
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
1163
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
1164
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
1165
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
1166
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
1024
1167
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
1168
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
1169
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
1170
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
1171
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
1025
1172
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
1026
1173
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
1027
1174
  },
@@ -1033,10 +1180,23 @@ export const OptionsContract = {
1033
1180
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
1034
1181
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
1035
1182
  quantity: item.quantity !== undefined ? item.quantity : undefined,
1183
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
1184
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
1185
+ fees: item.fees !== undefined ? item.fees : undefined,
1036
1186
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
1187
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
1188
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
1189
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
1190
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
1191
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
1192
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
1193
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
1037
1194
  orderType: item.orderType !== undefined ? item.orderType : undefined,
1195
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
1196
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
1038
1197
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
1039
1198
  venue: item.venue !== undefined ? item.venue : undefined,
1199
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
1040
1200
  notes: item.notes !== undefined ? item.notes : undefined,
1041
1201
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1042
1202
  contract: item.contract ?
@@ -1056,13 +1216,28 @@ export const OptionsContract = {
1056
1216
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
1057
1217
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
1058
1218
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
1219
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
1059
1220
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
1060
1221
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
1222
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
1223
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
1224
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
1225
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
1061
1226
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
1062
1227
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
1063
1228
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
1064
1229
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
1230
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
1231
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
1232
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
1233
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
1234
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
1235
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
1065
1236
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
1237
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
1238
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
1239
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
1240
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
1066
1241
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
1067
1242
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
1068
1243
  },
@@ -1077,8 +1252,25 @@ export const OptionsContract = {
1077
1252
  status: item.status !== undefined ? item.status : undefined,
1078
1253
  openingSide: item.openingSide !== undefined ? item.openingSide : undefined,
1079
1254
  quantity: item.quantity !== undefined ? item.quantity : undefined,
1255
+ entryPrice: item.entryPrice !== undefined ? item.entryPrice : undefined,
1256
+ entryCost: item.entryCost !== undefined ? item.entryCost : undefined,
1080
1257
  entryTime: item.entryTime !== undefined ? item.entryTime : undefined,
1258
+ exitPrice: item.exitPrice !== undefined ? item.exitPrice : undefined,
1259
+ exitValue: item.exitValue !== undefined ? item.exitValue : undefined,
1081
1260
  exitTime: item.exitTime !== undefined ? item.exitTime : undefined,
1261
+ currentPrice: item.currentPrice !== undefined ? item.currentPrice : undefined,
1262
+ currentValue: item.currentValue !== undefined ? item.currentValue : undefined,
1263
+ unrealizedPnL: item.unrealizedPnL !== undefined ? item.unrealizedPnL : undefined,
1264
+ unrealizedPnLPercent: item.unrealizedPnLPercent !== undefined ? item.unrealizedPnLPercent : undefined,
1265
+ realizedPnL: item.realizedPnL !== undefined ? item.realizedPnL : undefined,
1266
+ realizedPnLPercent: item.realizedPnLPercent !== undefined ? item.realizedPnLPercent : undefined,
1267
+ totalFees: item.totalFees !== undefined ? item.totalFees : undefined,
1268
+ currentDelta: item.currentDelta !== undefined ? item.currentDelta : undefined,
1269
+ currentGamma: item.currentGamma !== undefined ? item.currentGamma : undefined,
1270
+ currentTheta: item.currentTheta !== undefined ? item.currentTheta : undefined,
1271
+ currentVega: item.currentVega !== undefined ? item.currentVega : undefined,
1272
+ currentRho: item.currentRho !== undefined ? item.currentRho : undefined,
1273
+ currentImpliedVolatility: item.currentImpliedVolatility !== undefined ? item.currentImpliedVolatility : undefined,
1082
1274
  daysHeld: item.daysHeld !== undefined ? item.daysHeld : undefined,
1083
1275
  exitReason: item.exitReason !== undefined ? item.exitReason : undefined,
1084
1276
  strategyType: item.strategyType !== undefined ? item.strategyType : undefined,
@@ -1111,10 +1303,23 @@ export const OptionsContract = {
1111
1303
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
1112
1304
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
1113
1305
  quantity: item.quantity !== undefined ? item.quantity : undefined,
1306
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
1307
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
1308
+ fees: item.fees !== undefined ? item.fees : undefined,
1114
1309
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
1310
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
1311
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
1312
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
1313
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
1314
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
1315
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
1316
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
1115
1317
  orderType: item.orderType !== undefined ? item.orderType : undefined,
1318
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
1319
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
1116
1320
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
1117
1321
  venue: item.venue !== undefined ? item.venue : undefined,
1322
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
1118
1323
  notes: item.notes !== undefined ? item.notes : undefined,
1119
1324
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1120
1325
  contract: item.contract ?
@@ -1134,13 +1339,28 @@ export const OptionsContract = {
1134
1339
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
1135
1340
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
1136
1341
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
1342
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
1137
1343
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
1138
1344
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
1345
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
1346
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
1347
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
1348
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
1139
1349
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
1140
1350
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
1141
1351
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
1142
1352
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
1353
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
1354
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
1355
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
1356
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
1357
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
1358
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
1143
1359
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
1360
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
1361
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
1362
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
1363
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
1144
1364
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
1145
1365
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
1146
1366
  },
@@ -1222,9 +1442,21 @@ export const OptionsContract = {
1222
1442
  },
1223
1443
  create: {
1224
1444
  timestamp: item.timestamp !== undefined ? item.timestamp : undefined,
1445
+ underlyingPrice: item.underlyingPrice !== undefined ? item.underlyingPrice : undefined,
1446
+ optionPrice: item.optionPrice !== undefined ? item.optionPrice : undefined,
1447
+ bidPrice: item.bidPrice !== undefined ? item.bidPrice : undefined,
1448
+ askPrice: item.askPrice !== undefined ? item.askPrice : undefined,
1449
+ impliedVolatility: item.impliedVolatility !== undefined ? item.impliedVolatility : undefined,
1450
+ delta: item.delta !== undefined ? item.delta : undefined,
1451
+ gamma: item.gamma !== undefined ? item.gamma : undefined,
1452
+ theta: item.theta !== undefined ? item.theta : undefined,
1453
+ vega: item.vega !== undefined ? item.vega : undefined,
1454
+ rho: item.rho !== undefined ? item.rho : undefined,
1225
1455
  volume: item.volume !== undefined ? item.volume : undefined,
1226
1456
  openInterest: item.openInterest !== undefined ? item.openInterest : undefined,
1227
1457
  daysToExpiration: item.daysToExpiration !== undefined ? item.daysToExpiration : undefined,
1458
+ intrinsicValue: item.intrinsicValue !== undefined ? item.intrinsicValue : undefined,
1459
+ extrinsicValue: item.extrinsicValue !== undefined ? item.extrinsicValue : undefined,
1228
1460
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1229
1461
  },
1230
1462
  }))
@@ -1540,13 +1772,28 @@ export const OptionsContract = {
1540
1772
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
1541
1773
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
1542
1774
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
1775
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
1543
1776
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
1544
1777
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
1778
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
1779
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
1780
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
1781
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
1545
1782
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
1546
1783
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
1547
1784
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
1548
1785
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
1786
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
1787
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
1788
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
1789
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
1790
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
1791
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
1549
1792
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
1793
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
1794
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
1795
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
1796
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
1550
1797
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
1551
1798
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
1552
1799
  },
@@ -1558,8 +1805,25 @@ export const OptionsContract = {
1558
1805
  status: item.position.status !== undefined ? item.position.status : undefined,
1559
1806
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
1560
1807
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
1808
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
1809
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
1561
1810
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
1811
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
1812
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
1562
1813
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
1814
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
1815
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
1816
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
1817
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
1818
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
1819
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
1820
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
1821
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
1822
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
1823
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
1824
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
1825
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
1826
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
1563
1827
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
1564
1828
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
1565
1829
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -1582,13 +1846,28 @@ export const OptionsContract = {
1582
1846
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
1583
1847
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
1584
1848
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
1849
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
1585
1850
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
1586
1851
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
1852
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
1853
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
1854
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
1855
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
1587
1856
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
1588
1857
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
1589
1858
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
1590
1859
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
1860
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
1861
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
1862
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
1863
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
1864
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
1865
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
1591
1866
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
1867
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
1868
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
1869
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
1870
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
1592
1871
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
1593
1872
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
1594
1873
  },
@@ -1603,10 +1882,23 @@ export const OptionsContract = {
1603
1882
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
1604
1883
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
1605
1884
  quantity: item.quantity !== undefined ? item.quantity : undefined,
1885
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
1886
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
1887
+ fees: item.fees !== undefined ? item.fees : undefined,
1606
1888
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
1889
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
1890
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
1891
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
1892
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
1893
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
1894
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
1895
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
1607
1896
  orderType: item.orderType !== undefined ? item.orderType : undefined,
1897
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
1898
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
1608
1899
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
1609
1900
  venue: item.venue !== undefined ? item.venue : undefined,
1901
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
1610
1902
  notes: item.notes !== undefined ? item.notes : undefined,
1611
1903
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1612
1904
  position: item.position ?
@@ -1633,8 +1925,25 @@ export const OptionsContract = {
1633
1925
  status: item.position.status !== undefined ? item.position.status : undefined,
1634
1926
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
1635
1927
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
1928
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
1929
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
1636
1930
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
1931
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
1932
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
1637
1933
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
1934
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
1935
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
1936
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
1937
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
1938
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
1939
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
1940
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
1941
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
1942
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
1943
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
1944
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
1945
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
1946
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
1638
1947
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
1639
1948
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
1640
1949
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -1657,13 +1966,28 @@ export const OptionsContract = {
1657
1966
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
1658
1967
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
1659
1968
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
1969
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
1660
1970
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
1661
1971
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
1972
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
1973
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
1974
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
1975
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
1662
1976
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
1663
1977
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
1664
1978
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
1665
1979
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
1980
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
1981
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
1982
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
1983
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
1984
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
1985
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
1666
1986
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
1987
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
1988
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
1989
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
1990
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
1667
1991
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
1668
1992
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
1669
1993
  },
@@ -1789,13 +2113,28 @@ export const OptionsContract = {
1789
2113
  symbol: props.symbol !== undefined ? props.symbol : undefined,
1790
2114
  contractSymbol: props.contractSymbol !== undefined ? props.contractSymbol : undefined,
1791
2115
  optionType: props.optionType !== undefined ? props.optionType : undefined,
2116
+ strikePrice: props.strikePrice !== undefined ? props.strikePrice : undefined,
1792
2117
  expirationDate: props.expirationDate !== undefined ? props.expirationDate : undefined,
1793
2118
  daysToExpiration: props.daysToExpiration !== undefined ? props.daysToExpiration : undefined,
2119
+ lastPrice: props.lastPrice !== undefined ? props.lastPrice : undefined,
2120
+ bidPrice: props.bidPrice !== undefined ? props.bidPrice : undefined,
2121
+ askPrice: props.askPrice !== undefined ? props.askPrice : undefined,
2122
+ midPrice: props.midPrice !== undefined ? props.midPrice : undefined,
1794
2123
  bidSize: props.bidSize !== undefined ? props.bidSize : undefined,
1795
2124
  askSize: props.askSize !== undefined ? props.askSize : undefined,
1796
2125
  volume: props.volume !== undefined ? props.volume : undefined,
1797
2126
  openInterest: props.openInterest !== undefined ? props.openInterest : undefined,
2127
+ impliedVolatility: props.impliedVolatility !== undefined ? props.impliedVolatility : undefined,
2128
+ delta: props.delta !== undefined ? props.delta : undefined,
2129
+ gamma: props.gamma !== undefined ? props.gamma : undefined,
2130
+ theta: props.theta !== undefined ? props.theta : undefined,
2131
+ vega: props.vega !== undefined ? props.vega : undefined,
2132
+ rho: props.rho !== undefined ? props.rho : undefined,
1798
2133
  inTheMoney: props.inTheMoney !== undefined ? props.inTheMoney : undefined,
2134
+ intrinsicValue: props.intrinsicValue !== undefined ? props.intrinsicValue : undefined,
2135
+ extrinsicValue: props.extrinsicValue !== undefined ? props.extrinsicValue : undefined,
2136
+ theoreticalPrice: props.theoreticalPrice !== undefined ? props.theoreticalPrice : undefined,
2137
+ underlyingPrice: props.underlyingPrice !== undefined ? props.underlyingPrice : undefined,
1799
2138
  metadata: props.metadata !== undefined ? props.metadata : undefined,
1800
2139
  dataTimestamp: props.dataTimestamp !== undefined ? props.dataTimestamp : undefined,
1801
2140
  positions: props.positions ?
@@ -1822,8 +2161,25 @@ export const OptionsContract = {
1822
2161
  status: item.status !== undefined ? item.status : undefined,
1823
2162
  openingSide: item.openingSide !== undefined ? item.openingSide : undefined,
1824
2163
  quantity: item.quantity !== undefined ? item.quantity : undefined,
2164
+ entryPrice: item.entryPrice !== undefined ? item.entryPrice : undefined,
2165
+ entryCost: item.entryCost !== undefined ? item.entryCost : undefined,
1825
2166
  entryTime: item.entryTime !== undefined ? item.entryTime : undefined,
2167
+ exitPrice: item.exitPrice !== undefined ? item.exitPrice : undefined,
2168
+ exitValue: item.exitValue !== undefined ? item.exitValue : undefined,
1826
2169
  exitTime: item.exitTime !== undefined ? item.exitTime : undefined,
2170
+ currentPrice: item.currentPrice !== undefined ? item.currentPrice : undefined,
2171
+ currentValue: item.currentValue !== undefined ? item.currentValue : undefined,
2172
+ unrealizedPnL: item.unrealizedPnL !== undefined ? item.unrealizedPnL : undefined,
2173
+ unrealizedPnLPercent: item.unrealizedPnLPercent !== undefined ? item.unrealizedPnLPercent : undefined,
2174
+ realizedPnL: item.realizedPnL !== undefined ? item.realizedPnL : undefined,
2175
+ realizedPnLPercent: item.realizedPnLPercent !== undefined ? item.realizedPnLPercent : undefined,
2176
+ totalFees: item.totalFees !== undefined ? item.totalFees : undefined,
2177
+ currentDelta: item.currentDelta !== undefined ? item.currentDelta : undefined,
2178
+ currentGamma: item.currentGamma !== undefined ? item.currentGamma : undefined,
2179
+ currentTheta: item.currentTheta !== undefined ? item.currentTheta : undefined,
2180
+ currentVega: item.currentVega !== undefined ? item.currentVega : undefined,
2181
+ currentRho: item.currentRho !== undefined ? item.currentRho : undefined,
2182
+ currentImpliedVolatility: item.currentImpliedVolatility !== undefined ? item.currentImpliedVolatility : undefined,
1827
2183
  daysHeld: item.daysHeld !== undefined ? item.daysHeld : undefined,
1828
2184
  exitReason: item.exitReason !== undefined ? item.exitReason : undefined,
1829
2185
  strategyType: item.strategyType !== undefined ? item.strategyType : undefined,
@@ -1856,10 +2212,23 @@ export const OptionsContract = {
1856
2212
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
1857
2213
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
1858
2214
  quantity: item.quantity !== undefined ? item.quantity : undefined,
2215
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
2216
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
2217
+ fees: item.fees !== undefined ? item.fees : undefined,
1859
2218
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
2219
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
2220
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
2221
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
2222
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
2223
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
2224
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
2225
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
1860
2226
  orderType: item.orderType !== undefined ? item.orderType : undefined,
2227
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
2228
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
1861
2229
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
1862
2230
  venue: item.venue !== undefined ? item.venue : undefined,
2231
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
1863
2232
  notes: item.notes !== undefined ? item.notes : undefined,
1864
2233
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1865
2234
  contract: item.contract ?
@@ -1879,13 +2248,28 @@ export const OptionsContract = {
1879
2248
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
1880
2249
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
1881
2250
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
2251
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
1882
2252
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
1883
2253
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
2254
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
2255
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
2256
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
2257
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
1884
2258
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
1885
2259
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
1886
2260
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
1887
2261
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
2262
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
2263
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
2264
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
2265
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
2266
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
2267
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
1888
2268
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
2269
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
2270
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
2271
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
2272
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
1889
2273
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
1890
2274
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
1891
2275
  },
@@ -1912,9 +2296,21 @@ export const OptionsContract = {
1912
2296
  },
1913
2297
  create: {
1914
2298
  timestamp: item.timestamp !== undefined ? item.timestamp : undefined,
2299
+ underlyingPrice: item.underlyingPrice !== undefined ? item.underlyingPrice : undefined,
2300
+ optionPrice: item.optionPrice !== undefined ? item.optionPrice : undefined,
2301
+ bidPrice: item.bidPrice !== undefined ? item.bidPrice : undefined,
2302
+ askPrice: item.askPrice !== undefined ? item.askPrice : undefined,
2303
+ impliedVolatility: item.impliedVolatility !== undefined ? item.impliedVolatility : undefined,
2304
+ delta: item.delta !== undefined ? item.delta : undefined,
2305
+ gamma: item.gamma !== undefined ? item.gamma : undefined,
2306
+ theta: item.theta !== undefined ? item.theta : undefined,
2307
+ vega: item.vega !== undefined ? item.vega : undefined,
2308
+ rho: item.rho !== undefined ? item.rho : undefined,
1915
2309
  volume: item.volume !== undefined ? item.volume : undefined,
1916
2310
  openInterest: item.openInterest !== undefined ? item.openInterest : undefined,
1917
2311
  daysToExpiration: item.daysToExpiration !== undefined ? item.daysToExpiration : undefined,
2312
+ intrinsicValue: item.intrinsicValue !== undefined ? item.intrinsicValue : undefined,
2313
+ extrinsicValue: item.extrinsicValue !== undefined ? item.extrinsicValue : undefined,
1918
2314
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1919
2315
  },
1920
2316
  }))
@@ -1946,10 +2342,23 @@ export const OptionsContract = {
1946
2342
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
1947
2343
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
1948
2344
  quantity: item.quantity !== undefined ? item.quantity : undefined,
2345
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
2346
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
2347
+ fees: item.fees !== undefined ? item.fees : undefined,
1949
2348
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
2349
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
2350
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
2351
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
2352
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
2353
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
2354
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
2355
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
1950
2356
  orderType: item.orderType !== undefined ? item.orderType : undefined,
2357
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
2358
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
1951
2359
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
1952
2360
  venue: item.venue !== undefined ? item.venue : undefined,
2361
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
1953
2362
  notes: item.notes !== undefined ? item.notes : undefined,
1954
2363
  metadata: item.metadata !== undefined ? item.metadata : undefined,
1955
2364
  position: item.position ?
@@ -1976,8 +2385,25 @@ export const OptionsContract = {
1976
2385
  status: item.position.status !== undefined ? item.position.status : undefined,
1977
2386
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
1978
2387
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
2388
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
2389
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
1979
2390
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
2391
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
2392
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
1980
2393
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
2394
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
2395
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
2396
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
2397
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
2398
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
2399
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
2400
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
2401
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
2402
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
2403
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
2404
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
2405
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
2406
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
1981
2407
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
1982
2408
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
1983
2409
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -2000,13 +2426,28 @@ export const OptionsContract = {
2000
2426
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
2001
2427
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
2002
2428
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
2429
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
2003
2430
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
2004
2431
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
2432
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
2433
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
2434
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
2435
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
2005
2436
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
2006
2437
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
2007
2438
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
2008
2439
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
2440
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
2441
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
2442
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
2443
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
2444
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
2445
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
2009
2446
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
2447
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
2448
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
2449
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
2450
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
2010
2451
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
2011
2452
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
2012
2453
  },
@@ -2409,13 +2850,28 @@ export const OptionsContract = {
2409
2850
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
2410
2851
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
2411
2852
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
2853
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
2412
2854
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
2413
2855
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
2856
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
2857
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
2858
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
2859
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
2414
2860
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
2415
2861
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
2416
2862
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
2417
2863
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
2864
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
2865
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
2866
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
2867
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
2868
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
2869
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
2418
2870
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
2871
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
2872
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
2873
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
2874
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
2419
2875
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
2420
2876
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
2421
2877
  },
@@ -2427,10 +2883,23 @@ export const OptionsContract = {
2427
2883
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
2428
2884
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
2429
2885
  quantity: item.quantity !== undefined ? item.quantity : undefined,
2886
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
2887
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
2888
+ fees: item.fees !== undefined ? item.fees : undefined,
2430
2889
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
2890
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
2891
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
2892
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
2893
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
2894
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
2895
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
2896
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
2431
2897
  orderType: item.orderType !== undefined ? item.orderType : undefined,
2898
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
2899
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
2432
2900
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
2433
2901
  venue: item.venue !== undefined ? item.venue : undefined,
2902
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
2434
2903
  notes: item.notes !== undefined ? item.notes : undefined,
2435
2904
  metadata: item.metadata !== undefined ? item.metadata : undefined,
2436
2905
  contract: item.contract ?
@@ -2450,13 +2919,28 @@ export const OptionsContract = {
2450
2919
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
2451
2920
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
2452
2921
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
2922
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
2453
2923
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
2454
2924
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
2925
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
2926
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
2927
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
2928
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
2455
2929
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
2456
2930
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
2457
2931
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
2458
2932
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
2933
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
2934
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
2935
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
2936
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
2937
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
2938
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
2459
2939
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
2940
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
2941
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
2942
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
2943
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
2460
2944
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
2461
2945
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
2462
2946
  },
@@ -2471,8 +2955,25 @@ export const OptionsContract = {
2471
2955
  status: item.status !== undefined ? item.status : undefined,
2472
2956
  openingSide: item.openingSide !== undefined ? item.openingSide : undefined,
2473
2957
  quantity: item.quantity !== undefined ? item.quantity : undefined,
2958
+ entryPrice: item.entryPrice !== undefined ? item.entryPrice : undefined,
2959
+ entryCost: item.entryCost !== undefined ? item.entryCost : undefined,
2474
2960
  entryTime: item.entryTime !== undefined ? item.entryTime : undefined,
2961
+ exitPrice: item.exitPrice !== undefined ? item.exitPrice : undefined,
2962
+ exitValue: item.exitValue !== undefined ? item.exitValue : undefined,
2475
2963
  exitTime: item.exitTime !== undefined ? item.exitTime : undefined,
2964
+ currentPrice: item.currentPrice !== undefined ? item.currentPrice : undefined,
2965
+ currentValue: item.currentValue !== undefined ? item.currentValue : undefined,
2966
+ unrealizedPnL: item.unrealizedPnL !== undefined ? item.unrealizedPnL : undefined,
2967
+ unrealizedPnLPercent: item.unrealizedPnLPercent !== undefined ? item.unrealizedPnLPercent : undefined,
2968
+ realizedPnL: item.realizedPnL !== undefined ? item.realizedPnL : undefined,
2969
+ realizedPnLPercent: item.realizedPnLPercent !== undefined ? item.realizedPnLPercent : undefined,
2970
+ totalFees: item.totalFees !== undefined ? item.totalFees : undefined,
2971
+ currentDelta: item.currentDelta !== undefined ? item.currentDelta : undefined,
2972
+ currentGamma: item.currentGamma !== undefined ? item.currentGamma : undefined,
2973
+ currentTheta: item.currentTheta !== undefined ? item.currentTheta : undefined,
2974
+ currentVega: item.currentVega !== undefined ? item.currentVega : undefined,
2975
+ currentRho: item.currentRho !== undefined ? item.currentRho : undefined,
2976
+ currentImpliedVolatility: item.currentImpliedVolatility !== undefined ? item.currentImpliedVolatility : undefined,
2476
2977
  daysHeld: item.daysHeld !== undefined ? item.daysHeld : undefined,
2477
2978
  exitReason: item.exitReason !== undefined ? item.exitReason : undefined,
2478
2979
  strategyType: item.strategyType !== undefined ? item.strategyType : undefined,
@@ -2505,10 +3006,23 @@ export const OptionsContract = {
2505
3006
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
2506
3007
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
2507
3008
  quantity: item.quantity !== undefined ? item.quantity : undefined,
3009
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
3010
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
3011
+ fees: item.fees !== undefined ? item.fees : undefined,
2508
3012
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
3013
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
3014
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
3015
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
3016
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
3017
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
3018
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
3019
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
2509
3020
  orderType: item.orderType !== undefined ? item.orderType : undefined,
3021
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
3022
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
2510
3023
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
2511
3024
  venue: item.venue !== undefined ? item.venue : undefined,
3025
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
2512
3026
  notes: item.notes !== undefined ? item.notes : undefined,
2513
3027
  metadata: item.metadata !== undefined ? item.metadata : undefined,
2514
3028
  contract: item.contract ?
@@ -2528,13 +3042,28 @@ export const OptionsContract = {
2528
3042
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
2529
3043
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
2530
3044
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
3045
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
2531
3046
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
2532
3047
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
3048
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
3049
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
3050
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
3051
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
2533
3052
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
2534
3053
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
2535
3054
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
2536
3055
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
3056
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
3057
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
3058
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
3059
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
3060
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
3061
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
2537
3062
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
3063
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
3064
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
3065
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
3066
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
2538
3067
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
2539
3068
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
2540
3069
  },
@@ -2616,9 +3145,21 @@ export const OptionsContract = {
2616
3145
  },
2617
3146
  create: {
2618
3147
  timestamp: item.timestamp !== undefined ? item.timestamp : undefined,
3148
+ underlyingPrice: item.underlyingPrice !== undefined ? item.underlyingPrice : undefined,
3149
+ optionPrice: item.optionPrice !== undefined ? item.optionPrice : undefined,
3150
+ bidPrice: item.bidPrice !== undefined ? item.bidPrice : undefined,
3151
+ askPrice: item.askPrice !== undefined ? item.askPrice : undefined,
3152
+ impliedVolatility: item.impliedVolatility !== undefined ? item.impliedVolatility : undefined,
3153
+ delta: item.delta !== undefined ? item.delta : undefined,
3154
+ gamma: item.gamma !== undefined ? item.gamma : undefined,
3155
+ theta: item.theta !== undefined ? item.theta : undefined,
3156
+ vega: item.vega !== undefined ? item.vega : undefined,
3157
+ rho: item.rho !== undefined ? item.rho : undefined,
2619
3158
  volume: item.volume !== undefined ? item.volume : undefined,
2620
3159
  openInterest: item.openInterest !== undefined ? item.openInterest : undefined,
2621
3160
  daysToExpiration: item.daysToExpiration !== undefined ? item.daysToExpiration : undefined,
3161
+ intrinsicValue: item.intrinsicValue !== undefined ? item.intrinsicValue : undefined,
3162
+ extrinsicValue: item.extrinsicValue !== undefined ? item.extrinsicValue : undefined,
2622
3163
  metadata: item.metadata !== undefined ? item.metadata : undefined,
2623
3164
  },
2624
3165
  }))
@@ -2934,13 +3475,28 @@ export const OptionsContract = {
2934
3475
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
2935
3476
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
2936
3477
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
3478
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
2937
3479
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
2938
3480
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
3481
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
3482
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
3483
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
3484
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
2939
3485
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
2940
3486
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
2941
3487
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
2942
3488
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
3489
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
3490
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
3491
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
3492
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
3493
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
3494
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
2943
3495
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
3496
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
3497
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
3498
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
3499
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
2944
3500
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
2945
3501
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
2946
3502
  },
@@ -2952,8 +3508,25 @@ export const OptionsContract = {
2952
3508
  status: item.position.status !== undefined ? item.position.status : undefined,
2953
3509
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
2954
3510
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
3511
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
3512
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
2955
3513
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
3514
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
3515
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
2956
3516
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
3517
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
3518
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
3519
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
3520
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
3521
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
3522
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
3523
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
3524
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
3525
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
3526
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
3527
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
3528
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
3529
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
2957
3530
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
2958
3531
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
2959
3532
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -2976,13 +3549,28 @@ export const OptionsContract = {
2976
3549
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
2977
3550
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
2978
3551
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
3552
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
2979
3553
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
2980
3554
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
3555
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
3556
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
3557
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
3558
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
2981
3559
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
2982
3560
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
2983
3561
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
2984
3562
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
3563
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
3564
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
3565
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
3566
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
3567
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
3568
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
2985
3569
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
3570
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
3571
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
3572
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
3573
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
2986
3574
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
2987
3575
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
2988
3576
  },
@@ -2997,10 +3585,23 @@ export const OptionsContract = {
2997
3585
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
2998
3586
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
2999
3587
  quantity: item.quantity !== undefined ? item.quantity : undefined,
3588
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
3589
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
3590
+ fees: item.fees !== undefined ? item.fees : undefined,
3000
3591
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
3592
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
3593
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
3594
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
3595
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
3596
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
3597
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
3598
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
3001
3599
  orderType: item.orderType !== undefined ? item.orderType : undefined,
3600
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
3601
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
3002
3602
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
3003
3603
  venue: item.venue !== undefined ? item.venue : undefined,
3604
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
3004
3605
  notes: item.notes !== undefined ? item.notes : undefined,
3005
3606
  metadata: item.metadata !== undefined ? item.metadata : undefined,
3006
3607
  position: item.position ?
@@ -3027,8 +3628,25 @@ export const OptionsContract = {
3027
3628
  status: item.position.status !== undefined ? item.position.status : undefined,
3028
3629
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
3029
3630
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
3631
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
3632
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
3030
3633
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
3634
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
3635
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
3031
3636
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
3637
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
3638
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
3639
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
3640
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
3641
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
3642
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
3643
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
3644
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
3645
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
3646
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
3647
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
3648
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
3649
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
3032
3650
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
3033
3651
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
3034
3652
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -3051,13 +3669,28 @@ export const OptionsContract = {
3051
3669
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
3052
3670
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
3053
3671
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
3672
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
3054
3673
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
3055
3674
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
3675
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
3676
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
3677
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
3678
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
3056
3679
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
3057
3680
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
3058
3681
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
3059
3682
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
3683
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
3684
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
3685
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
3686
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
3687
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
3688
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
3060
3689
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
3690
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
3691
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
3692
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
3693
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
3061
3694
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
3062
3695
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
3063
3696
  },
@@ -3578,13 +4211,28 @@ export const OptionsContract = {
3578
4211
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
3579
4212
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
3580
4213
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
4214
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
3581
4215
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
3582
4216
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
4217
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
4218
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
4219
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
4220
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
3583
4221
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
3584
4222
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
3585
4223
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
3586
4224
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
4225
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
4226
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
4227
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
4228
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
4229
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
4230
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
3587
4231
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
4232
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
4233
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
4234
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
4235
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
3588
4236
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
3589
4237
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
3590
4238
  },
@@ -3596,10 +4244,23 @@ export const OptionsContract = {
3596
4244
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
3597
4245
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
3598
4246
  quantity: item.quantity !== undefined ? item.quantity : undefined,
4247
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
4248
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
4249
+ fees: item.fees !== undefined ? item.fees : undefined,
3599
4250
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
4251
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
4252
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
4253
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
4254
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
4255
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
4256
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
4257
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
3600
4258
  orderType: item.orderType !== undefined ? item.orderType : undefined,
4259
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
4260
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
3601
4261
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
3602
4262
  venue: item.venue !== undefined ? item.venue : undefined,
4263
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
3603
4264
  notes: item.notes !== undefined ? item.notes : undefined,
3604
4265
  metadata: item.metadata !== undefined ? item.metadata : undefined,
3605
4266
  contract: item.contract ?
@@ -3619,13 +4280,28 @@ export const OptionsContract = {
3619
4280
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
3620
4281
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
3621
4282
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
4283
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
3622
4284
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
3623
4285
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
4286
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
4287
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
4288
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
4289
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
3624
4290
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
3625
4291
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
3626
4292
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
3627
4293
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
4294
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
4295
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
4296
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
4297
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
4298
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
4299
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
3628
4300
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
4301
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
4302
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
4303
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
4304
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
3629
4305
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
3630
4306
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
3631
4307
  },
@@ -3640,8 +4316,25 @@ export const OptionsContract = {
3640
4316
  status: item.status !== undefined ? item.status : undefined,
3641
4317
  openingSide: item.openingSide !== undefined ? item.openingSide : undefined,
3642
4318
  quantity: item.quantity !== undefined ? item.quantity : undefined,
4319
+ entryPrice: item.entryPrice !== undefined ? item.entryPrice : undefined,
4320
+ entryCost: item.entryCost !== undefined ? item.entryCost : undefined,
3643
4321
  entryTime: item.entryTime !== undefined ? item.entryTime : undefined,
4322
+ exitPrice: item.exitPrice !== undefined ? item.exitPrice : undefined,
4323
+ exitValue: item.exitValue !== undefined ? item.exitValue : undefined,
3644
4324
  exitTime: item.exitTime !== undefined ? item.exitTime : undefined,
4325
+ currentPrice: item.currentPrice !== undefined ? item.currentPrice : undefined,
4326
+ currentValue: item.currentValue !== undefined ? item.currentValue : undefined,
4327
+ unrealizedPnL: item.unrealizedPnL !== undefined ? item.unrealizedPnL : undefined,
4328
+ unrealizedPnLPercent: item.unrealizedPnLPercent !== undefined ? item.unrealizedPnLPercent : undefined,
4329
+ realizedPnL: item.realizedPnL !== undefined ? item.realizedPnL : undefined,
4330
+ realizedPnLPercent: item.realizedPnLPercent !== undefined ? item.realizedPnLPercent : undefined,
4331
+ totalFees: item.totalFees !== undefined ? item.totalFees : undefined,
4332
+ currentDelta: item.currentDelta !== undefined ? item.currentDelta : undefined,
4333
+ currentGamma: item.currentGamma !== undefined ? item.currentGamma : undefined,
4334
+ currentTheta: item.currentTheta !== undefined ? item.currentTheta : undefined,
4335
+ currentVega: item.currentVega !== undefined ? item.currentVega : undefined,
4336
+ currentRho: item.currentRho !== undefined ? item.currentRho : undefined,
4337
+ currentImpliedVolatility: item.currentImpliedVolatility !== undefined ? item.currentImpliedVolatility : undefined,
3645
4338
  daysHeld: item.daysHeld !== undefined ? item.daysHeld : undefined,
3646
4339
  exitReason: item.exitReason !== undefined ? item.exitReason : undefined,
3647
4340
  strategyType: item.strategyType !== undefined ? item.strategyType : undefined,
@@ -3674,10 +4367,23 @@ export const OptionsContract = {
3674
4367
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
3675
4368
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
3676
4369
  quantity: item.quantity !== undefined ? item.quantity : undefined,
4370
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
4371
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
4372
+ fees: item.fees !== undefined ? item.fees : undefined,
3677
4373
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
4374
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
4375
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
4376
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
4377
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
4378
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
4379
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
4380
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
3678
4381
  orderType: item.orderType !== undefined ? item.orderType : undefined,
4382
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
4383
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
3679
4384
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
3680
4385
  venue: item.venue !== undefined ? item.venue : undefined,
4386
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
3681
4387
  notes: item.notes !== undefined ? item.notes : undefined,
3682
4388
  metadata: item.metadata !== undefined ? item.metadata : undefined,
3683
4389
  contract: item.contract ?
@@ -3697,13 +4403,28 @@ export const OptionsContract = {
3697
4403
  symbol: item.contract.symbol !== undefined ? item.contract.symbol : undefined,
3698
4404
  contractSymbol: item.contract.contractSymbol !== undefined ? item.contract.contractSymbol : undefined,
3699
4405
  optionType: item.contract.optionType !== undefined ? item.contract.optionType : undefined,
4406
+ strikePrice: item.contract.strikePrice !== undefined ? item.contract.strikePrice : undefined,
3700
4407
  expirationDate: item.contract.expirationDate !== undefined ? item.contract.expirationDate : undefined,
3701
4408
  daysToExpiration: item.contract.daysToExpiration !== undefined ? item.contract.daysToExpiration : undefined,
4409
+ lastPrice: item.contract.lastPrice !== undefined ? item.contract.lastPrice : undefined,
4410
+ bidPrice: item.contract.bidPrice !== undefined ? item.contract.bidPrice : undefined,
4411
+ askPrice: item.contract.askPrice !== undefined ? item.contract.askPrice : undefined,
4412
+ midPrice: item.contract.midPrice !== undefined ? item.contract.midPrice : undefined,
3702
4413
  bidSize: item.contract.bidSize !== undefined ? item.contract.bidSize : undefined,
3703
4414
  askSize: item.contract.askSize !== undefined ? item.contract.askSize : undefined,
3704
4415
  volume: item.contract.volume !== undefined ? item.contract.volume : undefined,
3705
4416
  openInterest: item.contract.openInterest !== undefined ? item.contract.openInterest : undefined,
4417
+ impliedVolatility: item.contract.impliedVolatility !== undefined ? item.contract.impliedVolatility : undefined,
4418
+ delta: item.contract.delta !== undefined ? item.contract.delta : undefined,
4419
+ gamma: item.contract.gamma !== undefined ? item.contract.gamma : undefined,
4420
+ theta: item.contract.theta !== undefined ? item.contract.theta : undefined,
4421
+ vega: item.contract.vega !== undefined ? item.contract.vega : undefined,
4422
+ rho: item.contract.rho !== undefined ? item.contract.rho : undefined,
3706
4423
  inTheMoney: item.contract.inTheMoney !== undefined ? item.contract.inTheMoney : undefined,
4424
+ intrinsicValue: item.contract.intrinsicValue !== undefined ? item.contract.intrinsicValue : undefined,
4425
+ extrinsicValue: item.contract.extrinsicValue !== undefined ? item.contract.extrinsicValue : undefined,
4426
+ theoreticalPrice: item.contract.theoreticalPrice !== undefined ? item.contract.theoreticalPrice : undefined,
4427
+ underlyingPrice: item.contract.underlyingPrice !== undefined ? item.contract.underlyingPrice : undefined,
3707
4428
  metadata: item.contract.metadata !== undefined ? item.contract.metadata : undefined,
3708
4429
  dataTimestamp: item.contract.dataTimestamp !== undefined ? item.contract.dataTimestamp : undefined,
3709
4430
  },
@@ -3785,9 +4506,21 @@ export const OptionsContract = {
3785
4506
  },
3786
4507
  create: {
3787
4508
  timestamp: item.timestamp !== undefined ? item.timestamp : undefined,
4509
+ underlyingPrice: item.underlyingPrice !== undefined ? item.underlyingPrice : undefined,
4510
+ optionPrice: item.optionPrice !== undefined ? item.optionPrice : undefined,
4511
+ bidPrice: item.bidPrice !== undefined ? item.bidPrice : undefined,
4512
+ askPrice: item.askPrice !== undefined ? item.askPrice : undefined,
4513
+ impliedVolatility: item.impliedVolatility !== undefined ? item.impliedVolatility : undefined,
4514
+ delta: item.delta !== undefined ? item.delta : undefined,
4515
+ gamma: item.gamma !== undefined ? item.gamma : undefined,
4516
+ theta: item.theta !== undefined ? item.theta : undefined,
4517
+ vega: item.vega !== undefined ? item.vega : undefined,
4518
+ rho: item.rho !== undefined ? item.rho : undefined,
3788
4519
  volume: item.volume !== undefined ? item.volume : undefined,
3789
4520
  openInterest: item.openInterest !== undefined ? item.openInterest : undefined,
3790
4521
  daysToExpiration: item.daysToExpiration !== undefined ? item.daysToExpiration : undefined,
4522
+ intrinsicValue: item.intrinsicValue !== undefined ? item.intrinsicValue : undefined,
4523
+ extrinsicValue: item.extrinsicValue !== undefined ? item.extrinsicValue : undefined,
3791
4524
  metadata: item.metadata !== undefined ? item.metadata : undefined,
3792
4525
  },
3793
4526
  }))
@@ -4103,13 +4836,28 @@ export const OptionsContract = {
4103
4836
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
4104
4837
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
4105
4838
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
4839
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
4106
4840
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
4107
4841
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
4842
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
4843
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
4844
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
4845
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
4108
4846
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
4109
4847
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
4110
4848
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
4111
4849
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
4850
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
4851
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
4852
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
4853
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
4854
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
4855
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
4112
4856
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
4857
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
4858
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
4859
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
4860
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
4113
4861
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
4114
4862
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
4115
4863
  },
@@ -4121,8 +4869,25 @@ export const OptionsContract = {
4121
4869
  status: item.position.status !== undefined ? item.position.status : undefined,
4122
4870
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
4123
4871
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
4872
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
4873
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
4124
4874
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
4875
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
4876
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
4125
4877
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
4878
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
4879
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
4880
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
4881
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
4882
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
4883
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
4884
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
4885
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
4886
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
4887
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
4888
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
4889
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
4890
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
4126
4891
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
4127
4892
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
4128
4893
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -4145,13 +4910,28 @@ export const OptionsContract = {
4145
4910
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
4146
4911
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
4147
4912
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
4913
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
4148
4914
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
4149
4915
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
4916
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
4917
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
4918
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
4919
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
4150
4920
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
4151
4921
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
4152
4922
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
4153
4923
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
4924
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
4925
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
4926
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
4927
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
4928
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
4929
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
4154
4930
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
4931
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
4932
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
4933
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
4934
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
4155
4935
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
4156
4936
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
4157
4937
  },
@@ -4166,10 +4946,23 @@ export const OptionsContract = {
4166
4946
  brokerOrderId: item.brokerOrderId !== undefined ? item.brokerOrderId : undefined,
4167
4947
  executionSide: item.executionSide !== undefined ? item.executionSide : undefined,
4168
4948
  quantity: item.quantity !== undefined ? item.quantity : undefined,
4949
+ executionPrice: item.executionPrice !== undefined ? item.executionPrice : undefined,
4950
+ executionValue: item.executionValue !== undefined ? item.executionValue : undefined,
4951
+ fees: item.fees !== undefined ? item.fees : undefined,
4169
4952
  executionTime: item.executionTime !== undefined ? item.executionTime : undefined,
4953
+ underlyingPriceAtExecution: item.underlyingPriceAtExecution !== undefined ? item.underlyingPriceAtExecution : undefined,
4954
+ deltaAtExecution: item.deltaAtExecution !== undefined ? item.deltaAtExecution : undefined,
4955
+ gammaAtExecution: item.gammaAtExecution !== undefined ? item.gammaAtExecution : undefined,
4956
+ thetaAtExecution: item.thetaAtExecution !== undefined ? item.thetaAtExecution : undefined,
4957
+ vegaAtExecution: item.vegaAtExecution !== undefined ? item.vegaAtExecution : undefined,
4958
+ rhoAtExecution: item.rhoAtExecution !== undefined ? item.rhoAtExecution : undefined,
4959
+ impliedVolatilityAtExecution: item.impliedVolatilityAtExecution !== undefined ? item.impliedVolatilityAtExecution : undefined,
4170
4960
  orderType: item.orderType !== undefined ? item.orderType : undefined,
4961
+ limitPrice: item.limitPrice !== undefined ? item.limitPrice : undefined,
4962
+ stopPrice: item.stopPrice !== undefined ? item.stopPrice : undefined,
4171
4963
  timeInForce: item.timeInForce !== undefined ? item.timeInForce : undefined,
4172
4964
  venue: item.venue !== undefined ? item.venue : undefined,
4965
+ slippage: item.slippage !== undefined ? item.slippage : undefined,
4173
4966
  notes: item.notes !== undefined ? item.notes : undefined,
4174
4967
  metadata: item.metadata !== undefined ? item.metadata : undefined,
4175
4968
  position: item.position ?
@@ -4196,8 +4989,25 @@ export const OptionsContract = {
4196
4989
  status: item.position.status !== undefined ? item.position.status : undefined,
4197
4990
  openingSide: item.position.openingSide !== undefined ? item.position.openingSide : undefined,
4198
4991
  quantity: item.position.quantity !== undefined ? item.position.quantity : undefined,
4992
+ entryPrice: item.position.entryPrice !== undefined ? item.position.entryPrice : undefined,
4993
+ entryCost: item.position.entryCost !== undefined ? item.position.entryCost : undefined,
4199
4994
  entryTime: item.position.entryTime !== undefined ? item.position.entryTime : undefined,
4995
+ exitPrice: item.position.exitPrice !== undefined ? item.position.exitPrice : undefined,
4996
+ exitValue: item.position.exitValue !== undefined ? item.position.exitValue : undefined,
4200
4997
  exitTime: item.position.exitTime !== undefined ? item.position.exitTime : undefined,
4998
+ currentPrice: item.position.currentPrice !== undefined ? item.position.currentPrice : undefined,
4999
+ currentValue: item.position.currentValue !== undefined ? item.position.currentValue : undefined,
5000
+ unrealizedPnL: item.position.unrealizedPnL !== undefined ? item.position.unrealizedPnL : undefined,
5001
+ unrealizedPnLPercent: item.position.unrealizedPnLPercent !== undefined ? item.position.unrealizedPnLPercent : undefined,
5002
+ realizedPnL: item.position.realizedPnL !== undefined ? item.position.realizedPnL : undefined,
5003
+ realizedPnLPercent: item.position.realizedPnLPercent !== undefined ? item.position.realizedPnLPercent : undefined,
5004
+ totalFees: item.position.totalFees !== undefined ? item.position.totalFees : undefined,
5005
+ currentDelta: item.position.currentDelta !== undefined ? item.position.currentDelta : undefined,
5006
+ currentGamma: item.position.currentGamma !== undefined ? item.position.currentGamma : undefined,
5007
+ currentTheta: item.position.currentTheta !== undefined ? item.position.currentTheta : undefined,
5008
+ currentVega: item.position.currentVega !== undefined ? item.position.currentVega : undefined,
5009
+ currentRho: item.position.currentRho !== undefined ? item.position.currentRho : undefined,
5010
+ currentImpliedVolatility: item.position.currentImpliedVolatility !== undefined ? item.position.currentImpliedVolatility : undefined,
4201
5011
  daysHeld: item.position.daysHeld !== undefined ? item.position.daysHeld : undefined,
4202
5012
  exitReason: item.position.exitReason !== undefined ? item.position.exitReason : undefined,
4203
5013
  strategyType: item.position.strategyType !== undefined ? item.position.strategyType : undefined,
@@ -4220,13 +5030,28 @@ export const OptionsContract = {
4220
5030
  symbol: item.position.contract.symbol !== undefined ? item.position.contract.symbol : undefined,
4221
5031
  contractSymbol: item.position.contract.contractSymbol !== undefined ? item.position.contract.contractSymbol : undefined,
4222
5032
  optionType: item.position.contract.optionType !== undefined ? item.position.contract.optionType : undefined,
5033
+ strikePrice: item.position.contract.strikePrice !== undefined ? item.position.contract.strikePrice : undefined,
4223
5034
  expirationDate: item.position.contract.expirationDate !== undefined ? item.position.contract.expirationDate : undefined,
4224
5035
  daysToExpiration: item.position.contract.daysToExpiration !== undefined ? item.position.contract.daysToExpiration : undefined,
5036
+ lastPrice: item.position.contract.lastPrice !== undefined ? item.position.contract.lastPrice : undefined,
5037
+ bidPrice: item.position.contract.bidPrice !== undefined ? item.position.contract.bidPrice : undefined,
5038
+ askPrice: item.position.contract.askPrice !== undefined ? item.position.contract.askPrice : undefined,
5039
+ midPrice: item.position.contract.midPrice !== undefined ? item.position.contract.midPrice : undefined,
4225
5040
  bidSize: item.position.contract.bidSize !== undefined ? item.position.contract.bidSize : undefined,
4226
5041
  askSize: item.position.contract.askSize !== undefined ? item.position.contract.askSize : undefined,
4227
5042
  volume: item.position.contract.volume !== undefined ? item.position.contract.volume : undefined,
4228
5043
  openInterest: item.position.contract.openInterest !== undefined ? item.position.contract.openInterest : undefined,
5044
+ impliedVolatility: item.position.contract.impliedVolatility !== undefined ? item.position.contract.impliedVolatility : undefined,
5045
+ delta: item.position.contract.delta !== undefined ? item.position.contract.delta : undefined,
5046
+ gamma: item.position.contract.gamma !== undefined ? item.position.contract.gamma : undefined,
5047
+ theta: item.position.contract.theta !== undefined ? item.position.contract.theta : undefined,
5048
+ vega: item.position.contract.vega !== undefined ? item.position.contract.vega : undefined,
5049
+ rho: item.position.contract.rho !== undefined ? item.position.contract.rho : undefined,
4229
5050
  inTheMoney: item.position.contract.inTheMoney !== undefined ? item.position.contract.inTheMoney : undefined,
5051
+ intrinsicValue: item.position.contract.intrinsicValue !== undefined ? item.position.contract.intrinsicValue : undefined,
5052
+ extrinsicValue: item.position.contract.extrinsicValue !== undefined ? item.position.contract.extrinsicValue : undefined,
5053
+ theoreticalPrice: item.position.contract.theoreticalPrice !== undefined ? item.position.contract.theoreticalPrice : undefined,
5054
+ underlyingPrice: item.position.contract.underlyingPrice !== undefined ? item.position.contract.underlyingPrice : undefined,
4230
5055
  metadata: item.position.contract.metadata !== undefined ? item.position.contract.metadata : undefined,
4231
5056
  dataTimestamp: item.position.contract.dataTimestamp !== undefined ? item.position.contract.dataTimestamp : undefined,
4232
5057
  },