8000 Bitstamp: order updates are not handled and normalised correctly · Issue #26298 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bitstamp: order updates are not handled and normalised correctly #26298
Open
@KhushbirD

Description

@KhushbirD

Operating System

No response

Programming Languages

No response

CCXT Version

4.4.91

Description

I created a limit order and listening on watch_orders() separately. However, none of the fields filled, remaining, status ever being populated irrespective if order is opened, filled or cancelled. I have attached the 'order' response received when order was indeed opened.

Code

orders = await exchange.watch_orders(symbol)
print(orders)

gives - 

  [{'amount': 15.0,
  'average': None,
  'clientOrderId': None,
  'cost': None,
  'datetime': '2025-06-25T09:24:34.000Z',
  'fee': None,
  'fees': [],
  'filled': None,
  'id': '1892386814689280',
  'info': {'amount': 15,
           'amount_at_create': '15.00000',
           'amount_str': '15.00000',
           'amount_traded': '0',
           'datetime': '1750843474',
           'id': 1892386814689280,
           'id_str': '1892386814689280',
           'is_liquidation': False,
           'microtimestamp': '1750843474337000',
           'order_subtype': 0,
           'order_type': 1,
           'price': 0.9,
           'price_str': '0.90000',
           'trade_account_id': 45645645},
  'lastTradeTimestamp': None,
  'lastUpdateTimestamp': None,
  'postOnly': None,
  'price': 0.9,
  'reduceOnly': None,
  'remaining': None,
  'side': 'sell',
  'status': None,
  'stopLossPrice': None,
  'stopPrice': None,
  'symbol': 'USDC/EUR',
  'takeProfitPrice': None,
  'timeInForce': None,
  'timestamp': 1750843474000,
  'trades': [],
  'triggerPrice': None,
  'type': None}]

Metadata

Metadata

Assignees

No one assigned

    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

      0