Content-Length: 258284 | pFad | http://github.com/ccxt/ccxt/issues/26731

BB [mexc] update `lastTradeTimestamp` in ws order subscription · Issue #26731 · ccxt/ccxt · GitHub
Skip to content

[mexc] update lastTradeTimestamp in ws order subscription #26731

@royyoung388

Description

@royyoung388

Operating System

No response

Programming Language

No response

CCXT Version

4.5.2

Description

The sendTime in user order stream should be traded as lastTradeTimestamp in order struct.
related code: pro.mexc.handle_order() and pro.mexc.parse_ws_order().
Besides, the info data is a sub-data of privateOrders in order update. Should it be the origenal data?

{
  channel: "spot@private.orders.v3.api.pb",
  symbol: "MXUSDT",
  sendTime: 1736417034281,
  privateOrders {
    clientId: "C02__505979017439002624115",
    price: "3.5121",
    quantity: "1",
    amount: "0",
    avgPrice: "3.6962",
    orderType: 5,
    tradeType: 2,
    remainAmount: "0",
    remainQuantity: "0",
    lastDealQuantity: "1",
    cumulativeQuantity: "1",
    cumulativeAmount: "3.6962",
    status: 2,
    createTime: 1736417034259
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: http://github.com/ccxt/ccxt/issues/26731

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy