Skip to content

mainClient.getKlines - beautifyResponses doesn't beautify #550

@davydof

Description

@davydof

beautifyResponses enabled option doesn't work
3.0.0-beta.10

const mainClient = new MainClient({
  beautifyResponses: true,
});
const result = await mainClient.getKlines({
  symbol: 'BTCUSDT',
  interval: '1d',
  limit: 3,
});
console.log('result', result);
result [
  [
    1746057600000,
    '94172.00000000',
    '97424.02000000',
    '94130.43000000',
    '96489.91000000',
    '21380.45343000',
    1746143999999,
    '2053857614.27326720',
    2925716,
    '10925.87308000',
    '1049157198.85876350',
    '0'
  ],
  [
    1746144000000,
    '96489.90000000',
    '97895.68000000',
    '96350.00000000',
    '96887.14000000',
    '14905.74811000',
    1746230399999,
    '1446387651.58405750',
    2698263,
    '7440.33531000',
    '722022817.22461990',
    '0'
  ],
  [
    1746230400000,
    '96887.13000000',
    '96935.67000000',
    '96132.67000000',
    '96150.98000000',
    '4592.56560000',
    1746316799999,
    '442832000.17842580',
    495791,
    '1888.51691000',
    '182094753.56621230',
    '0'
  ]
]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions