feat(): add/update missing v5 market endpoints. add api doc examples for each endpoint.

This commit is contained in:
tiagosiebler
2023-06-07 12:13:25 +01:00
parent 15d5ae00cf
commit 4f563a65a5
21 changed files with 322 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
import { RestClientV5 } from '../../src';
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getDeliveryPrice({
category: 'option',
symbol: 'ETH-26DEC22-1400-C"',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});