Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get funding earnings? #178

Closed
1 of 4 tasks
peterlee909 opened this issue Nov 23, 2021 · 6 comments
Closed
1 of 4 tasks

How to get funding earnings? #178

peterlee909 opened this issue Nov 23, 2021 · 6 comments

Comments

@peterlee909
Copy link

Issue type

  • bug
  • missing functionality
  • performance
  • feature request

Brief description

How to get funding earnings?

Steps to reproduce

Additional Notes:
@itsdeka
Copy link
Contributor

itsdeka commented Nov 24, 2021

Hello peterlee, you can find the available endpoints here
https://docs.bitfinex.com/reference#rest-auth-info-funding

@peterlee909
Copy link
Author

peterlee909 commented Nov 24, 2021

Hello @itsdeka. Thanks for your reply.
I found that is a websocket api and there is no Rest api to get funding info?
The information you gave seems not I want.
I want to get the information like the report of funding earning like below.
Currency XXX
Amount XXX
Balance XXX
Date XXX
Wallet funding

@peterlee909
Copy link
Author

The really thing I want to get is the Funding Earnings in the Report page.
I could not get the reference in the given link.
Is there any way to get the information I want?
Thanks.

@itsdeka
Copy link
Contributor

itsdeka commented Dec 20, 2021

Hello peter, I think you should start from this endpoint (https://docs.bitfinex.com/reference#rest-auth-funding-credits-hist).
The 'side' field of the response will be '1' if you are the lender.

@yangchunbudeze
Copy link

@xiandong79
Copy link

xiandong79 commented Oct 4, 2022

I have the same question

https://docs.bitfinex.com/reference/rest-auth-ledgers

cat: 28 works.

Further

I have to make a PR #207

so that I can save the result into database without duplication

@peterlee909 @itsdeka

@itsdeka itsdeka closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants