Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 373 Bytes

File metadata and controls

14 lines (11 loc) · 373 Bytes

Timeout

import { DualInvestment, DualInvestmentRestAPI } from '@binance/dual-investment';

const configurationRestAPI = {
    apiKey: 'your-api-key',
    apiSecret: 'your-api-secret',
    timeout: 5000,
};
const client = new DualInvestment({ configurationRestAPI });

client.restAPI.getDualInvestmentPositions().catch((error) => console.error(error));