2021-06-12

Introduction to advanced candlesticks in finance: tick bars, dollar bars, volume bars, and imbalance bars

56 mins readIn this article, we will explore why traditional time-based candlesticks are an inefficient method to aggregate price data, especially under […]
2021-06-06

Python __getattr__ and __getattribute__ magic methods

5 mins readPython Magic Methods Magic Methods are a broad and general term that refers to “special” methods in a Python class. […]
2021-04-28

Python Scipy sparse matrices explained

7 mins readConsider a two-dimensional data set consisting of 5 rows and 7 columns, where each element contains a value. Such data […]
2021-03-26

Handling cyclical features, such as hours in a day, for machine learning pipelines with Python example

11 mins readWhat’s the difference between 23 and 1? If we’re talking about time, it’s 2. Hours of the day, days of […]
2021-03-01

REINFORCE Algorithm explained in Policy-Gradient based methods with Python Code

17 mins readPolicy gradients Policy gradients is a family of algorithms for solving reinforcement learning problems by directly optimizing the policy in […]