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
Post Category → english
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
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
Connected Widget Pattern
This is something that I have found myself doing really often in my Flutter code base lately. If you are you are familiar with react-redux patterns on the web (or react-native) this would be probably obvious for you. Most of my Dart files (with Flutter widgets) right now have at least two widgets. First is… Continue reading
Size Matters!? Shaving Size of Your Flutter App
Probably APK (or app bundle) and IPA size is not something that is causing you sleepless nights. At least it isn’t for me. We know that there are some tradeoffs when going cross-platform route. Most of people will name performance or look-and-feel as main concerns. Maybe some will mention the deliverable size. This is what… Continue reading