Brad Lucas

Programming, Clojure and other interests

Yahoo Finance Quote Download Clojure

June 5, 2017

Overview

Today's post is a final version of the Yahoo Finance Quote Download application written using the Clojure programming language. If you are interested there are three previous versions of this application using Bash, Python and Java.

For the impatient you can find the source for this post in the following git repo.

https://github.com/bradlucas/get-yahoo-quotes-clojure


Continue reading →

Yahoo Finance Quote Download Java

June 4, 2017

Overview

Today's post includes and overview of a Java implementation created to support the new Yahoo Finance page changes. Previous posts include implementations in Bash and Python. Please review them if curious or if you feel the following doesn't have enough of an explanation of the issue created when Yahoo changed their finance page back in May.

For the impatient you can find the program in the following git repo.

https://github.com/bradlucas/get-yahoo-quotes-java

Investigating


Continue reading →

Yahoo Finance Quote Download Python

June 3, 2017

Overview

Picking up the thread after yesterday's post on the new Yahoo Finance page changes http://blog.bradlucas.com/posts/2017-06-02-new-yahoo-finance-quote-download-url/ I thought it would be useful to repeat the exercise from yesterday and build the new download script in Python.

For the impatient you can find the script in the following git repo.

https://github.com/bradlucas/get-yahoo-quotes-python

Investigating


Continue reading →

New Yahoo Finance Quote Download Url

June 2, 2017

Overview

On May 18th 2017 the Yahoo ichart data download link http://ichart.finance.yahoo.com/table.csv stopped working. This link has for many years been a convenient access point for downloading historical quote data. It was simple to get quotes by building up this url with your symbol as a parameter.

Since this link was under the Download Data button on the https://finance.yahoo.com/ page after you've submitted a symbol the first place to look in finding a resolution was to visit this page to what Yahoo had replaced it with.

Investigating

Using Google as an example we can excercise this url https://finance.yahoo.com/quote/GOOG?p=GOOG to look for the current Download Data button. Investigate the page and find the Historical Data tab. When clicked the Download Data button appears above the default range of quote values.


Continue reading →

Hosting a Git repo on a VPS

June 1, 2017

Hosting a Git repo on your own VPS server is a simple. Though paying for GitHub to host a private repo does not cost very much you may have reasons to keep your source repositories on your own server. You might enjoying do things yourself, have reasons to keep your source on your own server or would like to simply have a place to manage your personal projects. The following will walk you through the process of creating and hosting a git repository on your own server.

Server

On your server create a directory where you will store your repository. I'd image you'll create more than one over time so name the directory something appropriate such as repos. If you are just starting off and it is only you I suggest for simplicity you create a directory called repos under your home directory.

For our example here I'm going to create a repo called project on a machine with the domain name of example-server.com. My username for this example will be user. Before continuing make sure you can ssh easily into your account on your server. In our example you would need to be able to execute the following command.


Continue reading →