PrivateNode
Signed trading actions exposed by the dYdX node client wrapper.
connect
Source code in pkg/src/dydx/node/core.py
build_order
Source code in pkg/src/dydx/node/private/place_order.py
build_order_now
Source code in pkg/src/dydx/node/private/place_order.py
place_order
Place an order.
market: market to place the order onorder: order to placesubaccount: subaccount to place the order on
Source code in pkg/src/dydx/node/private/place_order.py
cancel_order
Cancel an order.
order_id: order to cancelgood_til_block: block number to cancel the order at (defaults to the current one)good_til_block_time: timestamp to cancel the order at (defaults to now)
Source code in pkg/src/dydx/node/private/cancel_order.py
batch_cancel_orders
Cancel an order.
order_ids: orders to cancelgood_til_block: block number to cancel the orders at (defaults to the current one)