Skip to content

Commit

Permalink
Merge pull request #916 from pcriadoperez/914
Browse files Browse the repository at this point in the history
fix: futuresPrices
  • Loading branch information
carlosmiei authored Feb 19, 2025
2 parents 70b1fe6 + 2db5e56 commit 3d89340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-binance-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4009,7 +4009,7 @@ let api = function Binance( options = {} ) {
},

futuresPrices: async ( params = {} ) => {
let data = await promiseRequest( 'v3/ticker/price', params, { base:fapi } );
let data = await promiseRequest( 'v2/ticker/price', params, { base:fapi } );
return Array.isArray( data ) ? data.reduce( ( out, i ) => ( ( out[i.symbol] = i.price ), out ), {} ) : data;
},

Expand Down

0 comments on commit 3d89340

Please sign in to comment.