bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.19k stars 680 forks source link

Correct OKX order amount and price info #805

Closed t2o2 closed 2 years ago

t2o2 commented 2 years ago

Description of code - what bug does this fix / what feature does this add?

Order info received after the fix

exchange: OKX symbol: AAVE-USDT-PERP id: 111111 side: buy status: live type: limit price: 100 amount: 1 remaining: 1 account: None timestamp: 1646723193.233
exchange: OKX symbol: AAVE-USDT-PERP id: 111111 side: buy status: live type: market price: 0 amount: 1 remaining: 1 account: None timestamp: 1646723219.467
exchange: OKX symbol: AAVE-USDT-PERP id: 111111 side: buy status: filled type: market price: 118.76 amount: 1 remaining: 0 account: None timestamp: 1646723219.476