OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
31.88k stars 2.91k forks source link

[FR] (Crypto) Add Perpetuals Funding Rate Data #2099

Closed jfarid27 closed 2 years ago

jfarid27 commented 2 years ago

What's the problem of not having this feature?

I'm interested in seeing Perpetuals Options Funding Rates on the OpenBB platform. Usually, I like to use this as a bullish or bearish signal since traders showing willingness to pay this funding rate gives a good Longs vs. Shorts metric. Typically I take a look at the overview on this page to see in general if rates are more negative, or more positive.

Coinglass provides aggregate data for the top coins across the major perpetuals markets: Binance, FTX, Bybit, and Okex.

Describe the solution you would like

Perpetuals funding rate data can be shown from CoinGlass here. On first glance this would require two updates.

Update keys to accept Coinglass API Keys

Add a perps menu option in crypto after a Symbol is loaded

Add a perps menu option in crypto/ov, showing a general table of all available symbols.

Screen Shot 2022-07-17 at 8 59 45 AM

Describe alternatives you've considered

Binance API

The Binance API has this data as well here, but it looks like Coinglass aggregates this data across multiple sources. The tradeoff of using only Binance is that while Binance may have more symbols as well since they're the largest market provider of perpetual options, Coinglass shows aggregate data of major tokens across multiple exchange operators.

Additional information

An introduction to Perpetual Options can be found here that explains their features.

jose-donato commented 2 years ago
image

Added to dd menu for individual coins since we already had a feature from coinglass there it was really easy to add funding rate also

will work later on adding to ov menu a table as you suggested