A few weeks or maybe even more than two or three months ago I scribbled down on a piece of paper my understanding of the basic concepts in procedural or functional programming. I look it over from time to time just to re-enforce my understanding of it.
Today I decided it would be nice to share this on this blog. I am not saying it is a complete overview, nor that it is 100% correct. It’s just my current understanding of the matter so far.
English: Python powered logo with print(“Hello, world!)” type. (Photo credit: Wikipedia)
In my day job I monitor many many websites. Some very smart people within the company I work for have build a pretty advanced monitoring system for our websites, that together with the appropriate plug-in on the website allow for very detailed website status information. Without this tool my job would be out of control. Continue reading “A simple website monitor in python”
For one of my trading projects I am looking to calculate something called sharpratio for pricing of an equity over time. This can be done in a spreadsheet, but this becomes a bit laborious as I want to do this for more than 1000 of data sets. So I set out to write a bash script that calculates the sharp ratio on any given price data set from Yahoo Finance. If you are interested in how I use this as part of a trading strategy. I will be posting there shortly on how I intend to use the below code as part of the trading strategy I use. More info on the theory of sharp ratio can be found here.