-
Notifications
You must be signed in to change notification settings - Fork 769
Closed
Description
Hi all,
I'm very new on node-binance-api,
I have a problem I try to call function futuresPrices() but it's throw error promiseRequest error #404 on production and error {"code":-5000,"msg":"Path /fapi/v3/ticker/price, Method GET is invalid"} on testnet, another function such as futuresTime and futuresBalance it still work. So I'm wonder is function futuresPrices is still work or I have done something wrong?
const binance = new Binance().options({
APIKEY: process.env.API_KEY,
APISECRET: process.env.API_SECRET,
useServerTime: true,
recvWindow: 60000,
verbose: true,
test: isDev(),
});
console.info( await binance.futuresBalance() );
console.info(await binanceFuture.futuresTime());
console.info( JSON.stringify(await binanceFuture.futuresPrices().catch((err) => {
console.log(JSON.stringify(err))
})) );
Thank for reply!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels