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

Binance Funding Rate #35

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

hayotbisonai
Copy link
Contributor

@hayotbisonai hayotbisonai commented Jul 4, 2024

Example of usage

from  datamaxi.binance import Binance
key = "API_KEY"
binance = Binance(api_key=key)

data = binance.funding_rate("BTC-USDT")

Example response

0                    Funding Rate    Mark Price
Date
07/02/2024 16:00:00      0.000100  61944.237021
07/03/2024 00:00:00      0.000100  62123.600000
07/03/2024 08:00:00      0.000100  60874.017376
07/03/2024 16:00:00      0.000100  60178.968660
07/04/2024 00:00:00      0.000100  60207.900000

@hayotbisonai hayotbisonai self-assigned this Jul 4, 2024
@hayotbisonai hayotbisonai linked an issue Jul 4, 2024 that may be closed by this pull request
@hayotbisonai hayotbisonai marked this pull request as ready for review July 4, 2024 01:26
Copy link
Member

@martinkersner martinkersner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hayotbisonai hayotbisonai merged commit 852861e into main Jul 8, 2024
7 checks passed
@hayotbisonai hayotbisonai deleted the i-31/feat/binance-funding-rate branch July 8, 2024 05:16
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

Successfully merging this pull request may close these issues.

Integrate funding rate
2 participants