this.chartInstance.updateTradeRecordData(
[
{
"amount": "0.00270442",
"create_time": 1678693751,
"id": 3210160,
"op": "",
"order_id": "555417080913731584",
"order_type": "limit",
"price": 18488.2,
"side": "buy",
"trade_type": "spot",
"type": "bid",
"tick": Date.now()
},
]
);
this.chartInstance.updateOrderLineData([{
oid: 'xxxxx',
name: '限价',
price: 29750,
infoText: '我是委单线',
trigger: 'Trigger >= 29750',
amount: '100',
type: 'Limit',
side: 'sell',
id: '111',
}]);
this.chartInstance.updatePositionCostLineData(
[{
profit: -100.0018,
profitRatio: -100.42,
pos: 1000,
unit: '张',
side: 'long',
price: 19520,
test: 123,
id: 'good',
},
]
);