FuturesPosition.fromMap constructor
FuturesPosition.fromMap(
- Map m
Implementation
FuturesPosition.fromMap(Map m)
: entryPrice = double.parse(m['entryPrice']),
markPrice = double.parse(m['markPrice']),
positionAmt = double.parse(m['positionAmt']),
symbol = m['symbol'],
unRealizedProfit = double.parse(m['unRealizedProfit']);