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

FTX -> Binance US #1

Open
zkbitcoin opened this issue Dec 2, 2022 · 3 comments
Open

FTX -> Binance US #1

zkbitcoin opened this issue Dec 2, 2022 · 3 comments

Comments

@zkbitcoin
Copy link

first, excellent art work @ https://juntan.me/Selected-Work really mean it , stands out

for here, what would be a smooth transition to showcase this project now that FTX stream API's are done for (next logical would be binance US for BTC/USDT pair)

tried naive switch to const BINANCE_URL = "wss://stream.binance.us:9443/ws/btcusdt@bookTicker";

but it led to further errors , worry that something is embedded in perspective itself tying into FTX somewhere

@sc1f
Copy link
Owner

sc1f commented Dec 2, 2022

yeah, "FTX collapse" definitely was not on my bingo card when I spun this up

Perspective itself are about as data-agnostic as it gets; just switching the URL however won't work because the format of the data is different. Inside datasource.tsx you can see the DataSource interface, as well as a stubbed out Binance impl that I never finished.

I will give switching over a go now that FTX is dead - thanks for the flag!

@BozidarSiljanoski
Copy link

sorry for ignorant question, but would binance US be different than the other binance?

@zkbitcoin
Copy link
Author

sorry for ignorant question, but would binance US be different than the other binance?

from my experience binance.com (non US) and binance.us appear to be exactly the same just asset selection differs (both wss and http access)

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

3 participants