FuturesPosition constructor
FuturesPosition({
- required String productId,
- required String contractSize,
- required String side,
- required String amount,
- required String avgEntryPrice,
- required String currentPrice,
- required String unrealizedPnl,
- required String expiry,
- required String underlyingAsset,
- required String assetImgUrl,
- required String productName,
- required String venue,
- required String notionalValue,
- required String assetColor,
- required String lastTradedAt,
- required String rollDate,
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});