-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(exchange-analytics): Binance Bybit Ftx #71
base: develop
Are you sure you want to change the base?
Conversation
This pull request has been linked to Shortcut Story #4859: Create and Deploy Integration for Rage Trade. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent job
Important:
- Rebase develop
- Binance timestamp needs to be floored
- Align it with
kyc-adapter
, e.g. config file (and its tests), payload types, etc. asset
: IMHO we should allow to requestfrom
(base
) andto
(quote
). We are limiting ourselves lots by hard coding them. The 3 APIs make easy to request all the supported markets. What I suggest for the Rage Trade job is having the 3 quote assets hard coded in the TOML spec.
Also some food for thought:
- Endpoint name:
funding-rates
orfutures
? I'm aware Bybit APi is very specific. Just wondering how much are we limiting our response by not adopting "futures".
description: 'The name of the asset.', | ||
required: true, | ||
type: 'string', | ||
options: [Asset.ETH, Asset.BTC], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to chat about this, I think we are limiting the adapter by do not allowing <base/from><quote/to>
. These APIs support lots of tickers for perpetual markets and we are hard coding the quote assets.
packages/exchange-analytics/test/integration/funding-rates/get.ts
Outdated
Show resolved
Hide resolved
e1f248d
to
70ef968
Compare
No description provided.