Discussing the article: "Developing a Replay System (Part 63): Playing the service (IV)"

 

Check out the new article: Developing a Replay System (Part 63): Playing the service (IV).

In this article, we will finally solve the problems with the simulation of ticks on a one-minute bar so that they can coexist with real ticks. This will help us avoid problems in the future. The material presented here is for educational purposes only. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

Despite the progress made in the previous article, I mentioned at the end that certain errors had emerged due to the implementation of simulation within real data. I want to emphasize once again that these errors do not exist in a pure simulation. However, when the simulation is combined with real data, such errors inevitably occur. This is not necessarily a problem, as it allows us to conduct tests and determine whether the system being developed is viable for maintenance and improvement. Often, we develop something simply to test its feasibility. If the underlying concept proves unworkable, we can discard it, minimizing the time spent on fixes and other adjustments.

In that same article, I identified these errors and their causes. However, given the extensive information already presented (information that you, dear reader, must thoroughly understand before any further progress is introduced) I concluded the article at a certain point. Here, however, we will address and correct these errors, not due to code changes, but because we are implementing something that would not be necessary if the system's timing mechanism were not overloaded. This overload is not yet apparent because we are still in the early stages of implementing everything that will be required.

Author: Daniel Jose