Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created March 24, 2022 06:02
Show Gist options
  • Save quantra-go-algo/cc1e180a89362da56c52eddb951099b3 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/cc1e180a89362da56c52eddb951099b3 to your computer and use it in GitHub Desktop.
Fetch the real time cryptocurrency data from Binance crypto exchange.
from binance.spot import Spot
client = Spot()
print(client.klines("BTCUSDT", "1h"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment