BarChart Free Data API

Discussion in 'General Discussion' started by tom, Nov 14, 2017.

  1. tom

    tom Administrator Staff Member

  2. Paul Demers

    Paul Demers Well-Known Member

    Thanks Tom
  3. OMGwtfI8AFrog

    OMGwtfI8AFrog New Member

    THANKS for this, Tom!
  4. Kevin Lee

    Kevin Lee Well-Known Member

  5. tom

    tom Administrator Staff Member

    When I try to connect I get a connection failure so it's not a matter of parsing the data. I'm not getting any data. Do you have a sample url you are using successfully to get data?
  6. Kevin Lee

    Kevin Lee Well-Known Member

    I just tried downloading SPX price. It was successful. The URL was

    You see at the end there is a "crumb=kr1qHoaD9Xp". Every session is different. Easiest way to generate that is by using the python module I sent above. There might be other open source modules for VB or C++ but I haven't searched.

    OMGwtfI8AFrog likes this.
  7. garyw

    garyw Well-Known Member

    Which Python do you use? (I have never done Python, but need my yahoo finance access restored.)
    I tried with ActiveState Python, but unable to get that pip install to work without errors!
  8. garyw

    garyw Well-Known Member

    Nevermind! I seem to have cleared my hurdle!
  9. garyw

    garyw Well-Known Member

    I did a quick hack to create a python script to save SPX OHLC to a csv. This captures May 1, 2017 to present. Modify as you need.
    I don't know Python yet, so pardon the ugly hack.
    prune the .txt for the script.
    Thnks to Kevin & Tom for the info.

    Attached Files:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice