How to design a machine learning trading bot — Part2: Data Analysis

By reading this article, you’ll have a chance to save a minimum of 59$.

Published in
3 min readNov 19, 2020


Previously on “How to design a machine learning trading bot”

We have started with “Collecting Data”:

We found out what is OHLCV data and, we learned why we need historical data and online data both together.

So, let’s start the second step considering that we already collected the data and we have it.
This article is the second episode from a series of articles with the title of “How to design a machine learning trading bot”

Step 2: Data Analysis

Cleaning data, filter them, and features engineering data is one of the essential steps in the machine learning approach.
To explain how important this section means, I can split the whole development time into ten frames, and “Analysing Data” should take half the time of the whole process, which is five frames. In other words, you’re working on the historical data to provide an expected version of data for a machine.
Keep in your mind that these data is like feed for the machines and, if you feed them with a portion of healthy, low-fat food then you can expect them to run better, but if you provide poor quality food for them, then if you have the top most expensive best quality machine in the world, it doesn’t work properly for you.
If you have a mathematics or statistics background you are so fitted for this section, but if you don’t have it, don’t worry :) you can reach your targets with basic knowledge.

Data Analysis
Visualizing Data

Visualizing Data:

Visualizing data is a method to see and analyze them in an easy and perfect way. Thus, by this level, you are going to work a lot with plots and charts and they help you to see what you miss in the raw numbers.

Key Data Analysis Terminology:

There are two main keywords in data analysis which you should know before you go further. “Labels” and “Features”
In the Google machine learning crash course, you can find a fine explanation about these terms.

Last but not least

In many machine learning courses and tutorials, they provide prepared data for you and the course starts from how you train the machine. The data they use in their examples are totally engineered and ready to go for the training, but in reality, the data is not served for you. It should be you to make the data ready for your purposes. Keep in mind that the resources and references still are limited. In our next season at the development part, we will see how we do “Feature Engineering” on OHLCV data and prepare them for training.

What are we going to do now?

About 1DES

1DES is Trading solutions powered by Machine Learning. At 1DES, we offer an innovative way to trade with machine learning techniques.
There is a “Free Trial” plan for all users at 1Des.
Also, there are other plans if you want to trade more professionally, at this moment both of them have 50% off.

Additionally, as special offers for the readers of this article 1DES is going to refund the first-month subscription, if you select one of the Avion or Rocket plans before 20th March 2021.




Trading Solutions Powered by Machine Learning