binance-exchange/node-binance-api

why the binance.buy function can not work?

jackiewillen opened this issue · 3 comments

    binance.buy("DGDBTC", 0.2, 0.017, { type: 'LIMIT' }, (error, response) => {
        console.log(response);
        console.log(error);
    });

When i write these codes, the callback console {} and null.It means the response = {},error =null.Why? It should tell me why the response value is {}, not tell me the error is null.

Maybe you have test set to true

I just figure this out!! Thank you very much

No problem. Any other questions feel free to ask. Cheers!