FutureRealTimeBidAskMessage constructor
FutureRealTimeBidAskMessage({
- String? code,
- String? dateTime,
- Int64? bidTotalVol,
- Int64? askTotalVol,
- Iterable<
double> ? bidPrice, - Iterable<
Int64> ? bidVolume, - Iterable<
Int64> ? diffBidVol, - Iterable<
double> ? askPrice, - Iterable<
Int64> ? askVolume, - Iterable<
Int64> ? diffAskVol, - double? firstDerivedBidPrice,
- double? firstDerivedAskPrice,
- Int64? firstDerivedBidVol,
- Int64? firstDerivedAskVol,
- double? underlyingPrice,
- bool? simtrade,
Implementation
factory FutureRealTimeBidAskMessage({
$core.String? code,
$core.String? dateTime,
$fixnum.Int64? bidTotalVol,
$fixnum.Int64? askTotalVol,
$core.Iterable<$core.double>? bidPrice,
$core.Iterable<$fixnum.Int64>? bidVolume,
$core.Iterable<$fixnum.Int64>? diffBidVol,
$core.Iterable<$core.double>? askPrice,
$core.Iterable<$fixnum.Int64>? askVolume,
$core.Iterable<$fixnum.Int64>? diffAskVol,
$core.double? firstDerivedBidPrice,
$core.double? firstDerivedAskPrice,
$fixnum.Int64? firstDerivedBidVol,
$fixnum.Int64? firstDerivedAskVol,
$core.double? underlyingPrice,
$core.bool? simtrade,
}) {
final $result = create();
if (code != null) {
$result.code = code;
}
if (dateTime != null) {
$result.dateTime = dateTime;
}
if (bidTotalVol != null) {
$result.bidTotalVol = bidTotalVol;
}
if (askTotalVol != null) {
$result.askTotalVol = askTotalVol;
}
if (bidPrice != null) {
$result.bidPrice.addAll(bidPrice);
}
if (bidVolume != null) {
$result.bidVolume.addAll(bidVolume);
}
if (diffBidVol != null) {
$result.diffBidVol.addAll(diffBidVol);
}
if (askPrice != null) {
$result.askPrice.addAll(askPrice);
}
if (askVolume != null) {
$result.askVolume.addAll(askVolume);
}
if (diffAskVol != null) {
$result.diffAskVol.addAll(diffAskVol);
}
if (firstDerivedBidPrice != null) {
$result.firstDerivedBidPrice = firstDerivedBidPrice;
}
if (firstDerivedAskPrice != null) {
$result.firstDerivedAskPrice = firstDerivedAskPrice;
}
if (firstDerivedBidVol != null) {
$result.firstDerivedBidVol = firstDerivedBidVol;
}
if (firstDerivedAskVol != null) {
$result.firstDerivedAskVol = firstDerivedAskVol;
}
if (underlyingPrice != null) {
$result.underlyingPrice = underlyingPrice;
}
if (simtrade != null) {
$result.simtrade = simtrade;
}
return $result;
}