It's been an intense few weeks as I've been burning the candle at both ends, trying to clean up the chart and yet make new progress. With the growing TODO list and an increasingly cloudy sleep deprived head, I decided to put the tasks in some sort of order that I can oversee.
When I mindmap the information I can visually order it by relevance. If I had the appropriate software, I could also set priorities, time lines and Gantt chart it. But since I'm just a team of one, going that far is overkill.
I've already used flow diagrams several times on this project. But I've done it in the wrong order. Where this sort of thing should be typically done at the start, I'd found myself deep in complex code that I had lost oversight of.
Using LibreOffice Draw I could quickly workout the relationships between blocks of code with flow diagrams. I could then also alter the document to reflect the progress of the re-architecturing. This was immensely helpful and saved me a good deal of time.
Do I do flow diagrams before I usually start? Yes, but there's only so much detail that such things cover, and as it develops things are further built out that weren't originally planned, hence things can become somewhat tangled and labyrinthine.
So with my sleep deprived mind not making sense of the new feature I wanted implement, the candle time frame count down, whipped up a diagram to be pleasantly surprised that the solution was not that complicated, and actually the best solution would be some decent sleep for a change.
Once completing the count down, I cam to realise that the I am now a step closer to implementing another desired feature, that being price alerts. I now should be a relatively straight forward matter to provide hooks on the streaming price data so that the user can add any call back they desire.
I will be resorting to a diagram again to plan out the alerts so that the core of it is flexible enough to be applied not only to price, but also any of the indicator data. Which would logically lead me to the next steps...
algorithms and back testing, which then leads on to the holy grain of this project, algorithmic trading, a.k.a. a trade bot.
Will I make time for decent sleep? We'll see. The carrot on the stick is dangling in front of me and I'm driven to reach it.