chore(): update default logger examples

This commit is contained in:
tiagosiebler
2025-01-24 15:41:34 +00:00
parent a4945d1caf
commit 0d20822483
6 changed files with 9 additions and 26 deletions

View File

@@ -29,14 +29,14 @@ const restClient = new RestClientV5({
// Optional, uncomment the "silly" override to log a lot more info about what the WS client is doing
const customLogger = {
...DefaultLogger,
// silly: (...params) => console.log('trace', ...params),
// trace: (...params) => console.log('trace', ...params),
};
const wsClient = new WebsocketClient(
{
key: key,
secret: secret,
market: 'v5',
/**
* Set this to true to enable demo trading for the private account data WS
* Topics: order,execution,position,wallet,greeks