Most technical analysis libraries work on closed bars. Feed in 200 closing prices, get 200 SMA values back. Clean, simple, works for backtesting. But in a live environment, you get OHLCV updates every second before the bar closes. A naive implementation counts each update as a new bar and produces garbage. The safe alternative is… Continue reading
5 Years, 3 Languages, One Trading System
I built a trading bot in Dart. It lost a few thousand dollars. Best investment I ever made. Not because the bot eventually worked. It didn’t. But because chasing that problem through three languages over five years taught me more about software design than any project before it. Starting with what I knew In 2021,… Continue reading
Brain Yoga with Elixir
Some say that life is too short to do everything, on the contrary, it’s also too short to stay in one place and not explore. Especially for software developers, there are so many ecosystems to explore, like node (aka JavaScript), JVM (aka. Java, Groovy, and friends), and CLI (aka, .net, C#) to name a few…… Continue reading
90 App Screenshots in 8 minutes
One of the tedious chores with mobile apps are the screenshots for Play Store and AppStore, especially because this is the only way how you can showcase the app to potential uses. Also as app grew, it may get even more time consuming since the number of screenshots, supported languages, pre-configurations and features increases over… Continue reading
Bring Your Own Reducer
Lets talk redux for a brief moment. As you may know there are three main ingredients in redux: action, reducer, store. From the first look this kinda makes sense. You have your store with is actually your app current state. Reducers are pure functions, as such they are disconnected form everything, just take current state,… Continue reading