THE STARTING IDEA
What did “building our own AI” actually mean?
We began with the idea of building a local intelligence layer. The first job was to turn that ambition into questions a model could actually learn from data.
At the beginning, we wanted to prepare market data, train models ourselves and obtain their outputs in our own Python environment. By “our own AI,” we meant specialised models for numerical market questions. We were not trying to train a general-purpose language model from scratch; that would involve a very different scale of data and computing.
The practical work soon made the question more specific. What should a model see: one candle, a sequence of observations or a table of derived features? What should it estimate: a direction, a numerical range or something else? We had to choose the targets, arrange the inputs and keep the transformations consistent before a saved model could be useful.
We explored several branches from that starting point. LSTMs let us work with sequences, tree-based models with engineered features, and Prophet with a time-series formulation. Later we used provider APIs to send context to already-trained language models, and explored chart images through local computer vision. These branches gave us different tools for different questions.
What stayed with us was the importance of describing the task clearly. “Local” tells you where a calculation runs. It does not tell you whether the model learns from numbers, interprets text or detects objects in an image. We keep those distinctions visible throughout the chapters that follow.