Get OHLC/Candlestick data from Coinbase pro historical API in Python
HTML-код
- Опубликовано: 20 авг 2021
- We take a look at the Coinbase pro API, and how we can retrieve open,high,low,close and volume data for any given cryptoasset in python.
We also cover how to aggregate this candlestick data into different time durations. This is useful for creating automated trading systems or doing data analysis / backtesting crypto trading strategies.
Consulting available at:
greyhoundanalytics.com/contact/
Github link:
github.com/ChadThackray/pytho...
XMR donations:
89ko9ecDh5hjLA2f7tgvZHZW6BXQEmFVPVGwjQiJmorBAeMAVexM89YCbhinpUKwprh6KXHMuSfb23zpoRRhLqDBKC2PnxG
Really good video, thank you so much
thanks for the video! really helpfull
Consulting available at:
greyhoundanalytics.com/contact/
Github link:
github.com/ChadThackray/pythontutorials
I cant get my list to print as a dataframe :o(
program successfully returns a list, but when the below lines are added, the output doesn't change
# DISPLAY THE DATA IN A PANDAS DATAFRAME
df = pd.DataFrame(data.json(), columNs=['time','low','high','open','close','volume'])
df[date] = pd.to_datetime(df['time'],unit='s')
I am having a similar issue. When i try to put the data.jason() as a variable it looks like all of the proper information is stored in the variable but when i try to put it into the data frame it is not recognized. I am not sure what to do about it. Did you by any chance figure out a solution to this issue?
@@MarmotSalvo same..... wish he would reply but i figured it out on my own... some exchanges output to a wrapper. df = pd.DataFrame(data.json()["data"], works -- nice consulting job bro thumbs down chad more like anti chad. burn
mmmmmm yeah crypto
LITECOIN or MORENO ? Which coin has a bright future?
MORENO XDD