Skip to content

Commit

Permalink
chore(): improve submit order example
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jan 25, 2025
1 parent 5833d06 commit b4bdb75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/apidoc/V5/Trade/place-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ client
qty: '1',
})
.then((response) => {
console.log(response);
console.log('Market order result', response);
})
.catch((error) => {
console.error(error);
console.error('Market order error', error);
});

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

0 comments on commit b4bdb75

Please sign in to comment.