Created
August 2, 2019 14:28
-
-
Save coinscious-io/a1aa7e0e75daa024c3e59080f3d2e74b to your computer and use it in GitHub Desktop.
Get VWAP of a trading pair at a specific exchange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = "https://api.coinscious.org/exchange-vwap/binance/eth_btc" | |
querystring = {"interval":"1m"} | |
payload = "" | |
headers = { | |
'Authorization': "Bearer <token>" | |
} | |
response = requests.request("GET", url, data=payload, headers=headers) | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment