Bad Coding Style (I)

By | February 12, 2018

Look at the following PHP code snipped. It's a function which calculates the product of its two arguments and returns the result if both arguments are of type integer. Otherwise the function returns false. So far so good. The function does what it should do, and I have seen a lot of functions written this… Read More »

Simulating the Impact of UASF / BIP148 on Bitcoin

By | June 8, 2017

To get a better prediction of UASF impact on bitcoin, I wrote a quick and dirty bitcoin network simulator, which you can find here on GitHub. After playing around with all kinds of hash rate distributions and UASF/non-UASF nodes, my first conclusion is, that there is almost no impact  of UASF nodes on bitcoin, if… Read More »

How to Setup a Bitcoin BIP148/UASF Node on FreeBSD

By | May 22, 2017

Assuming you have a fresh FreeBSD (or a jail) installed, and you are logged in as root, download the latest version of BIP148 enabled bitcoin sources from here as .tar.gz file and untar it.  As of writing it is v0.14.1-uasfsegwit0.3.tar.gz. fetch tar xzvf v0.14.1-uasfsegwit0.3.tar.gz cd bitcoin-0.14.1-uasfsegwit0.3 Next the documentation in ./doc/ tells us which… Read More »

Open Sesim!

By | April 9, 2017

There is now a dedicated page for SeSim  - Open Source Stock Exchange Simulator. New releases and other information will be found there.

SeSim - First Pre-Alpha

By | March 26, 2017

Now you can download a first rudimentary version of SeSim, the Stock Exchange Simulator as announced here. It was tested under Windows and Linux. You can download the jar file uSeSim_001_alpha.jar which you can run, if java is installed on your computer. To play around with, create first a strategy, by going to edit->strategies, pressing… Read More »

Bitcoin vs. Gold

By | March 10, 2017

Bitcoin was raising, and the price for one Bitcoin is now around the same as for one ounce of gold. So isn't it insane to pay for one Bitcoin as much as for one ounce of gold? According to this article there are currently between 155,244 tonnes and 2.5 million tonnes of gold in the… Read More »

SeSim - Stock Exchange Simulator

By | February 19, 2017

Earning money by day trading is considered to be extremely hard. I've often read that about 95% of people who attempt day trading will lose money. This might be true and coincidences with my observations among people I know, because I don't know anybody who is able to make money by day trading. But who… Read More »

Day Trading and Commission Fees

By | December 25, 2016

Imagine you were a day trader, and you make in average one trade per day on 200 days a year. Further imagine you have to pay a commission fee of $10 when buying shares, and again you have to pay a commission fee of $10 when selling shares, which is effectively $20 per trade. So you can simply… Read More »