Hi everyone!
I want to ask your opinion on what I have come up with. Since I don't have access to real volume data, I am working with tick bars. But can I do it better? Lets see.
Inspired on what dollar and volume bars are, I sampled the data in a different way. Starting from raw ticks, I created range bars every X amount of pips (let's say 10 pips, for simplicity).
With that, I also gathered two more features:
- The amount of ticks that happened between the open and close price of those 10 pips
- The amount of time elapsed between open and close price of those 10 pips.
After doing that, I divided the amount of ticks by the elapsed time, so I can get a feature that is meassured in ticks/seconds. I see this like "speed". Its like how fast the market is moving in one direction.
From range bars, I could extract tick volume, because I have the amount of ticks on each bar. But what if for volume I use that "speed" feature? So I did that and calculated dollar bars with that interpretation of volume. Again, I know that its not true real volume. Is more like a speed meter.
Now, my question is should I say with the range bars with this speed feature or should I use the "dollar bars". I am posting some statistics of both of them, so you can guide me.
Tick Bars:
Plot:
Histogram:
Range Bars:
Plot:
Histogram:
"Dollar bars":
Plot:
Histogram:
One thing I noticed and it might be an issue is that to make those "dollar bars", first I make range bars and from the close of those range bars, I do the dollar bars. May I lose a valuable information?
I also added some detailed information using pandas profiling!
Tick Bars:
Range Bars:
"Dollar bars":
I would like to have your opinions and recommendations. Which type of bars is more suitable for a NN? And which does preserves more information? Is the "dollar bar" I did here any worth?
I would also like to know which approach is better for this trading with ML algos: classification or regression? I'm actualy using a LSTM NN for regression and it seems to do quite well.
Thank you in advance!