TradeOrder constructor
TradeOrder({})
Implementation
factory TradeOrder({
$core.List<$core.int>? sender,
$core.String? id,
$core.String? symbol,
$fixnum.Int64? ordertype,
$fixnum.Int64? side,
$fixnum.Int64? price,
$fixnum.Int64? quantity,
$fixnum.Int64? timeinforce,
}) {
final _result = create();
if (sender != null) {
_result.sender = sender;
}
if (id != null) {
_result.id = id;
}
if (symbol != null) {
_result.symbol = symbol;
}
if (ordertype != null) {
_result.ordertype = ordertype;
}
if (side != null) {
_result.side = side;
}
if (price != null) {
_result.price = price;
}
if (quantity != null) {
_result.quantity = quantity;
}
if (timeinforce != null) {
_result.timeinforce = timeinforce;
}
return _result;
}