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 →
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.
I have a few self hosted sites and I have been looking for a way to monitor the site statuses in a way that I will get an email when a site is down and another one once that site is back up again. So I decided to write a little bash script that can run on my home linux server. Here is the code:
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.