FuturesPosition constructor

FuturesPosition({
  1. required String productId,
  2. required String contractSize,
  3. required String side,
  4. required String amount,
  5. required String avgEntryPrice,
  6. required String currentPrice,
  7. required String unrealizedPnl,
  8. required String expiry,
  9. required String underlyingAsset,
  10. required String assetImgUrl,
  11. required String productName,
  12. required String venue,
  13. required String notionalValue,
  14. required String assetColor,
  15. required String lastTradedAt,
  16. required String rollDate,
})

FuturesPosition constructor

Implementation

FuturesPosition(
    {required this.productId,
    required this.contractSize,
    required this.side,
    required this.amount,
    required this.avgEntryPrice,
    required this.currentPrice,
    required this.unrealizedPnl,
    required this.expiry,
    required this.underlyingAsset,
    required this.assetImgUrl,
    required this.productName,
    required this.venue,
    required this.notionalValue,
    required this.assetColor,
    required this.lastTradedAt,
    required this.rollDate});