|||

A Not So Simple GOOG Chart

A Not So Simple GOOG Chart

What I am about to post is a simple $GOOG chart created by a python script that I grabbed off Trainee Trader’s site.  While creating a line chart of GOOGs stock price is really basic finance, it does represent something very important to me.  It means that I’m learning and troubleshooting python at a fast pace.

I just started learning python about a week ago with absolutely no knowledge in programming (except for Frotran 77 a long time ago), but I am armed with an engineer’s logic and enthusiam. I’ve worked on about 15 exercises in a training course I’m taking, and have read up on all the neat things python can do.   I installed python 2.6, matplotlib, and the ystockquote module from Cory Golberg on my development machine and configured the correct paths.  Then I then tried to copy and paste TTs google chart python script to see if I could recreate his chart.  I typed it verbatim and fired it up in python hoping to see the chart!

Instead of seeing a nice GOOG chart, it crashed on me!!! Yep, it failed and I had no idea what the error messages were telling me.

Fast forward one week and I’m picking up this language quick.  So I took TTs code again, checked out the  documentation  for the matplotlib module, troubleshot it, and got the damn thing to plot!  Go me!

Of course a sophisticated programmer would laugh at my silly plot, but to me it’s awesomeness.

Update: Here’s the revised python script (txt): GOOGChart2.txt

Up next Learning Python - The Hard Way? I’m teaching myself, through hand’s on exercises, how to code  (script) in Python.  So far its been a breeze, but that’s because I’ve found a great A Simple INTC Chart
Latest posts Revisiting GOOG, GE, NE, IYR from 2007 The Ye Old Blog List Motorola: Then and Now EWM Redux Testing for mean reversion with Python & developing simple VIX system - Talaikis unsorted - Tadas Talaikis Blog Steps to calculate centroids in cluster using K-means clustering algorithm - Data Science Central Basics of Statistical Mean Reversion Testing - QuantStart Algorithmic trading in less than 100 lines of Python code - O’Reilly Media Interpreting Machine Learning Models Microsoft the AI Powerhouse Investing in the S&P500 still beats AI Trading Microsoft makes a push to simplify machine learning | TechCrunch 10 Great Articles On Python Development — Hacker Noon Introduction to Keras Democratising Machine learning with H2O — Towards Data Science Getting started with Python datatable | Kaggle Phone Addiction Machine Learning Making Pesto Tastier 5 Dangerous Things You Should Let Your Kids Do The Pyschology of Writing Investing in 2019 and beyond TensorFlow and High Level APIs Driving Marketing Performance with H2O Driverless AI Machine Learning and Data Munging in H2O Driverless AI with datatable Making AI Happen Without Getting Fired Latest Musings from a Traveling Sales Engineer The Night before H2O World 2019 Why Forex Trading is Frustrating Functional Programming in Python Automatic Feature Engineering with Driverless AI Ray Dalio's Pure Alpha Fund