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

Комментарии • 9

  • @alonsosainz5214
    @alonsosainz5214 2 года назад +1

    Really good video, thank you so much

  • @gonzaloalonso4021
    @gonzaloalonso4021 Год назад

    thanks for the video! really helpfull

  • @ChadThackray
    @ChadThackray  2 года назад

    Consulting available at:
    greyhoundanalytics.com/contact/
    Github link:
    github.com/ChadThackray/pythontutorials

  • @nuclear_AI
    @nuclear_AI 2 года назад

    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')

    • @MarmotSalvo
      @MarmotSalvo 2 года назад

      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?

    • @kbi4739
      @kbi4739 2 года назад

      @@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

  • @connerbell4515
    @connerbell4515 2 года назад

    mmmmmm yeah crypto

  • @gamelover9432
    @gamelover9432 2 года назад

    LITECOIN or MORENO ? Which coin has a bright future?