Skip to content

Is function futures futuresPrices is deprecate? #914

@freeweed

Description

@freeweed

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions