Exchanges Notes
Binance
Status: Work in Progress
I have a preliminary Binance
struct, and it supports Binance's COIN-M Futures API. It works, but to properly support all of Binance's APIs, I'm going to have to add more structs and rename the current Binance
struct to something like BinanceCMFutures
. In the end, there may be 4 or 5 exchange types just for Binance.
Proxies are needed if you're local IP is from a forbidden country.
Bitget
Status: Slightly Broken
I had to use an undocumented API that their trading front-end uses to acquire 1m candles, because their official API only gives you the last 30 days of 1m candles. It was working fine for a while, but in early February 2024, its behavior changed and broke earliest_candle()
.
Proxies are needed if you're local IP is from a forbidden country.
Bitmex
Status: DONE
When running save!(bitmex, market)
, I strongly advise setting delay=3.5
. That'll keep you under the rate limit for unauthenticated users.
One thing I like about this library is that you don't need to be authenticated to use it. However, Bitmex gives authenticated users a much better rate limit, so I'd like to support authentication eventually.
Bitstamp
Status: DONE
This exchange is a valuable source of historical data. Their "BTC/USD" goes back all the way to 2011-08-18 which is the longest of any known exchange.
Bybit
Status: DONE
The v5 iteration of their API is one of the nicest I've worked with.
Proxies are needed if you're local IP is from a forbidden country.
PancakeSwap
Status: DONE*
I say it's done, but I'm not totally sure. Instead of using documentation (which I couldn't find), I ended up reverse engineering their APIs. I later discovered that they look a lot like Binance's APIs, and that helped me take this to a working state.
This is the only DEX among the currently supported exchanges.