Plotting Financial Data With Python: Variance
October 6, 2018
Variance is an important indicator if you want to know the level of risk associated with a given security. It’s important to understand that past variance might not be a good predictor of future variance but most of the time it works and we don’t have other options anyway. Let’s create a script for displaying returns distribution, variance and standard deviation of any given security.
Plotting Financial Data With Python: History
September 30, 2018
Sometimes I want to plot some financial data and it might be tricky because most of the financial websites do not offer enough customization or they have a usage limitations unless you subscribe. So, I’ve decided to find a reliable data source and plot this data myself. Here are the basic steps that are necessary to do that.
Kotlin Game Development: Main Menu
May 30, 2018
Most of the games have a main menu because we might not always know what the user wants to do when he launches a game. He might want to start a new game, load the saved game data or modify the game settings but we will have a very simple menu in the Snake game which will have only one option: start a new game.
Kotlin Game Development: Game Loop
May 9, 2018
Every game has a game loop. It is a simple loop that should be familiar to every programmer. We can think of a game as a sequence of static images changing fast enough to create an illusion of motion. The purpose of the game loop is to keep generating new frames as long as the loop lasts and, as with any loop, it should not last forever so we must have some way of breaking the loop, usually when a player decides to quit the game.
Kotlin Game Development: Controller Input
May 2, 2018
Controllers are devices that can register players’ actions and we want our players to be able to affect the course of a game, otherwise it’s just a fancy movie. In more technical terms it means that every game has a state and the game controllers are devices that can be used to alter that state.
Kotlin Game Development: Creating a Scene
May 2, 2018
Every game is different but, luckily for us, all video games share a common set of components and patterns. There are things that may be specific to a certain genre but on a high level all games are more or less the same and they all have the following components:
Kotlin Game Development: Introduction
May 2, 2018
I’ve always been interested in game development since I’ve got my first video game console: Dendy, that was a hardware clone of the Nintendo Entertainment System. I’ve enjoyed playing video games but I was also interested in how those games worked under the hood. I knew nothing about programming and even computers in general but I was sure that game development is a lot of fun.