Development
-
Parallel Bucket Sort in C#
Development ·Recently I had the problem that sorting data based on a floating-point key was the bottleneck. I was able to speed things up using Bucketsort in C#.
-
Simple Coroutines in C++
Development ·Recently i was interested in how I could implement a simple coroutine solution in C++. I wanted to use it for StarCraft AI Development.
-
Particle Swarm Optimization in C#
Development ·I implemented a simple particle swarm optimizer in C# to help me optimize my trading systems.
-
Background Worker Queue in C#
Development ·Sometimes it is required to run multimple tasks in the background, while one task can only start after another has finished. In this case a simple background queue based on the C# TPL can be used.
-
Memoization in C#
Development ·Memoization is a technique for improving performance by caching the return values of expensive function calls. In this post I show how you can use this technique in C#.
-
Activator.CreateInstance Alternative
Development ·I noticed that the performance of the C# Activator.CreateInstance method can be a bit slow. Using Compiled Expression Trees it is possible to speed things up a lot.
-
Using SDL2_image with CMake
Development ·SDL2_image is an add-on library for SDL2, the Simple DirectMedia Layer and can be used to load images from various formats. In this post I describe how to get it working with CMake under Windows and Linux.
-
Using SDL2 with CMake
Development ·SDL2 is the newest version of the Simple Directmedia Layer API. It can be used together with CMake to build a cross platform multimedia application. In this blog post I will describe the necessary steps to use SDL2 with CMake on both Linux (Ubuntu 17.04) and Windows.
Trading
-
Trading on Raspberry Pi with Ubuntu 18.04
Trading ·I wrote my own backtesting and live trading software called ArgonTrader in C# and use it to trade with Interactive Brokers. I run it on my Raspberry Pi 3 B. In this post I describe how to set things up using Ubuntu MATE 18.04.
-
Trading Bitcoin
Trading ·I got interested in trading Bitcoins and after reading a paper about market making I implemented a Maket-Making-Bot on the BitMEX exchange.
-
Controlling Drawdown
Trading ·I read the paper “Optimal Portfolio Strategy to Control Maximum Drawdown” and implemented the ideas presented in it in my trading strategy to controll the maximum drawdown.
-
Trading on Raspberry Pi with Ubuntu 16.04
Trading ·I wrote my own backtesting and live trading software called ArgonTrader in C# and use it to trade with Interactive Brokers. I run it on my Raspberry Pi. In this post I describe my setup.
-
Trading with Zorro
Trading ·Zorro is like the swiss army knife for trading. The Lite-C scripting language is easy to use and allows you to express your trading idea with very little code.
Software Rendering
-
Developing a Software Renderer Part 4
Software Rendering ·I added a vertex processing stage to the software renderer and implemented perspective correct texture mapping.
-
Developing a Software Renderer Part 3
Software Rendering ·In this post I describe how to add pixel shader capabilities to the software rasterizer and how to optimize it even further for example using OpenMP to parallelize the rasterization.
-
Developing a Software Renderer Part 2
Software Rendering ·In the second part of this series, I will describe how to optimize and improve the software rasterizer that we developed in the first part.
-
Developing a Software Renderer Part 1
Software Rendering ·This article is about graphics programming. I implemented my own compact software renderer/rasterizer with some nice features like pixel and vertex shaders in C++ and in this article I describe how I did it.