Sign in

Michael Whittle

I was born in Johannesburg, South Africa. My father Richard, mother Teresa, brother Mark, and I lived in Sandton.


Answers to the most frequently asked questions…

There are a lot of questions that get asked regularly in the community Telegram group and Github issues. I thought I would try and address some of them here. If you can think of other questions that would be useful to have answered, please let me know in the comments.

‘request timestamp expired’

Authenticated API calls to an exchange need to be “signed”. Part of the signing process requires a timestamp to be included. If the timestamp in your signed API request is outside of an accepted window on the exchange, the request will be declined with “request timestamp expired”. The solution to…


Using a Region Based Convolutional Neural Network (R-CNN)

Image by Author

This article was originally intended to be an introduction to AWS Rekognition. I thought I would try it out and provide a review of it. I’m a fan of AWS services. They are usually so well designed, intuitive, and a pleasure to work with. I was really disappointed by AWS Rekognition, at least the part I’m interested in which is “Custom Labels”. The name itself may not be so obvious what this is. This allows you to label and train your own model (the most useful part in my opinion). AWS does provide both image and video models for “object…


Leverage and short selling in layman’s terms

Photo by Scott Graham on Unsplash

I’ve been trading as a hobby for over 5 years. I really enjoy the technical analysis aspect of it. It’s even more interesting now with the introduction of machine learning and artificial intelligence.

Up until now all my trades have been normal market orders. What I mean by this is I would be looking for opportunities where I expect the price of an asset to go up and I buy the asset for a certain price and hopefully sell it for a higher price later. Pretty straight forward. I buy a share for £1 today, tomorrow it’s worth £1.50 and…


Photo by Nick Chong on Unsplash

Introduction

What is an Average Directional Index (ADX) in trading?

  • ADX is a powerful technical indicator which is used to determine the strength of a trend.
  • The direction of the trend is used by the two accompanying indicators, the negative directional indicator (-DI) and the positive directional indicator (+DI)
  • According to Investopedia, the trend has strength when ADX is above 25; and the trend is weak when ADX is below 20.
  • Another interpretation is that if the +DI > -DI this is an indication of a “bull market” and if +DI < -DI then it’s a “bear market”. …

Don’t forget to add Visual Studio “code” to your PATH — An essential productivity hack you should really know about Visual Studio Code. You can add “code” to your path…


Mac OSX “python” process running at 100% after opening Visual Studio Code — I managed to solve a really irritating problem recently and I thought I would share the solution…


Introduction to Artificial Intelligence in Finance

Photo by Michał Kubalczyk on Unsplash

After I finished my Applied Machine Learning course I was keen to continue my education in Artificial Intelligence, especially in finance.

I started off with a book by O’Reilly called Artificial Intelligence in Finance, A Python-Based Guide.

https://www.oreilly.com/library/view/artificial-intelligence-in/9781492055426

It was recommended to me but I wasn’t “wowed” by it. It gave a pretty good theoretical introduction but the examples were not good at all at least not as a learning resource. There are a lot of bad practices in the examples like complex code without comments and more importantly non-descriptive variable names.

I have also read many online tutorials, blog…


Using PyCryptoBot as a trading strategy framework

Photo by Dmitry Vechorko on Unsplash

I recently read an interesting article called “Introduction to backtesting trading strategies” by Eryk Lewinson. It provides a pretty good introduction to backtesting.

I think most my followers and readers will be familiar with my popular open source project PyCryptoBot. I’ve written several articles on it covering what it is, how it works, features, and success stories. Just to remind you it’s totally free to use and learn from. I also released it under the Apache License 2.0. This means the code is free to use.

A lot of people have asked me why I gave it away for free…


Product analysis with the Apriori algorithm

Photo by gemma on Unsplash

The Apriori algorithm is used in data mining to identify frequent items and association rule learning in a dataset. This article will focus on one practical and common use case, the analysis of shop orders. For example, which products are ordered more frequently than others, and which unrelated products are ordered as a consequence of ordering another product. To explain this another way maybe a shopper will buy toothpaste when buying a toothbrush or maybe a shopper will buy butter when buying bread. They are not directly related but it’s not unreasonable to find an association between the two. …

Michael Whittle

CCIE R&S #24223 | Network Architect | Security Specialist | Software Developer | Blockchain Developer | Data Scientist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store