chore(): improve submit order example

This commit is contained in:
tiagosiebler
2025-01-25 01:11:54 +00:00
parent 5833d0679b
commit b4bdb75c6d

View File

@@ -16,10 +16,10 @@ client
qty: '1', qty: '1',
}) })
.then((response) => { .then((response) => {
console.log(response); console.log('Market order result', response);
}) })
.catch((error) => { .catch((error) => {
console.error(error); console.error('Market order error', error);
}); });
// Submit a limit order // Submit a limit order
@@ -33,8 +33,8 @@ client
price: '55000', price: '55000',
}) })
.then((response) => { .then((response) => {
console.log(response); console.log('Limit order result', response);
}) })
.catch((error) => { .catch((error) => {
console.error(error); console.error('Limit order error', error);
}); });