❌ Close order [WIP]
Close an order from the Orderbook. Must be connected to the wallet
that created the order.
Cancel Maker Order
const orders = await api.placeOrder({
'asset': {
'id': 15322902,
'decimals': 6,
},
'address': 'WYWRYK42XADLY3O62N52BOLT27DMPRA3WNBT2OBRT65N6OEZQWD4OSH6PI',
'price': 3.22,
'amount': 1,
'execution': 'maker',
'type': 'buy',
});
await api.closeOrder(orders[0])