question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How does fetchTransfers work?

See original GitHub issue

Hello team,

I’m trying to retrieve internal transfers between the spot and future on Binance?

  • OS: Mac
  • Programming Language version: JS
  • CCXT version: 1.62.xx

I am trying variations of:

exchange.fetchTransfers(undefined, undefined, undefined, { defaultType: 'spot', fromAccountType: 'spot', toAccountType: 'future' }
exchange.fetchTransfers(undefined, someRecentTimestamp, someLimit, { defaultType: 'spot', fromAccountType: 'spot', toAccountType: 'future' }

But the response is always emptly (the request succeeds). I have also looked to this example but it doesn’t work as a parameter seems to be missing.

Any pointer?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
samgermaincommented, Dec 9, 2021

And the 2 most recent transfers between the spot and futures are on Nov 21st and Oct. 30th

From the Binance Api Docs

If startTime and endTime not sent, return records of the last 7 days by default

asset transfer

So you can try passing a timestamp from before oct 30, for example

const transfers = await this.exchange.fetchTransfers(undefined, 1635465600000, undefined, { defaultType: 'spot', fromAccountType: 'spot', toAccountType: 'future' })

Let me know if you have any more confusion surrounding this

1reaction
samgermaincommented, Dec 9, 2021

I have also looked to this example but it doesn’t work as a parameter seems to be missing.

The example was fixed and should work now

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Fetch? — Fetch Help - Fetch Softworks
Fetch is a Macintosh program that makes it easy to transfer files — such as webpage, text, and image files — between your...
Read more >
Fetch Guide - JMU
Fetch will prompt you about where you want to save it on your (local) computer, and it will then start the transfer.
Read more >
Fetch Pay™ Terms & Conditions
Points earned from a Debit Card cannot be transferred or shared with other Fetch Rewards account. All Points earned through Fetch Pay will...
Read more >
How does Fetch Rewards make money? - Finty
Fetch Rewards makes money by charging its partner retailers an affiliate commission, known as a "referral fee." It also charges interchange fees ...
Read more >
Fetch: Secure File Transfer Protocol for Macintosh OS X
Fetch is an easy-to-use program for transferring files, similar to WinSCP for Windows. It uses the Secure File Transfer Protocol (SFTP) to allow...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found