PinnedUsing Pandas to implement Stop Losses and Take Profits for trading strategy backtestsA simple way to implement a strategy that involves Stop Losses and Take Profits — all within pandas!Dec 4, 2020Dec 4, 2020
Improving TastyTrade’s P50 metric — with Stop Losses and Time Limits!TastyTrade has a P50 metric — but it doesn’t account for stop losses. Let me show you how to improve that!Nov 9, 2023Nov 9, 2023
Published inTowards Data ScienceA 300x speed boost when iterating data? Yes please!How to give yourself a 300x boost when having to trawl through large chunks of data (with Numba!)Oct 29, 2021Oct 29, 2021
Published inDataDrivenInvestorDeep In-The-Money LEAPs as a ‘safe’ form of leverage: A SimulationUsing LEAPs to augment a passive buy-and-hold portfolio — a simulationAug 11, 2021Aug 11, 2021
Published inTowards Data ScienceUsing spaCy 3.0 to build a custom NER modelThe upgrade from spaCy 2 to 3 has changed quite a few things. We explore how to convert old data and how to use spaCy’s CLI to train…Mar 18, 202110Mar 18, 202110
Replicating Tastywork’s Probability of 50% Profit for Option TradesFor those of you who use the Tastyworks platform, you may have noticed that they have a P50 metric. Learn how to calculate it yourself…Feb 11, 2021Feb 11, 2021
Published inTowards Data ScienceHow to decide on dinner grouping using Google Map’s APIWith Covid and the government restricting the maximum number of people that can meet in a group, who should meet with who? And where?Feb 2, 2021Feb 2, 2021
Using Python in Demography: Part 1Learning demography? Interested in population change/growth? Use Python to help you!Jan 22, 2021Jan 22, 2021
Published inTowards Data ScienceUsing fuzzyjoin to help in your analysis of pesky Online Survey Data…especially useful when the names don’t match!Jan 17, 2021Jan 17, 2021
Using Monte Carlo Simulations to determine a stock’s Fair ValueCombing Monte Carlo with a Discounted Cash Flow Model to find the optimal Fair Value.Jan 7, 2021Jan 7, 2021