Insights
Articles and guides
Thoughts on algorithmic trading, quantitative finance, and the systems that power them.
Nothing published here constitutes financial advice. All content is for informational and educational purposes only.
Most recent
Why Do Two Python Backtesters Disagree About the Same Strategy?
Run the same trading rules through two Python backtesting tools and the list of trades can come out different. Usually neither tool is broken: each makes its own quiet assumptions about when an order fills, what trading costs, and what "the previous bar" means. Here is where those assumptions hide and how to pin them down.
Ionut Claudiu Fratila · Dec 5, 2026 · 7 min read · 1
What Does Your Expert Advisor Forget When MetaTrader Restarts?
An Expert Advisor is stopped and started again far more often than most traders realise, and each time it can lose what it was keeping in memory. Here is what triggers a restart, what survives it, where state can safely be kept, and why the trading account itself is the best record of what the EA has already done.
Ionut Claudiu Fratila · Dec 4, 2026 · 8 min read · 2
Where Should Your Trading Data Live? CSV, Parquet or a Database
Most trading research starts with a folder of CSV files. That works until several years of bars, several symbols and repeated downloads pile up. Here is what columnar files, embedded databases and time-series servers each do well, and the hygiene rules that keep any of them trustworthy.
Ionut Claudiu Fratila · Dec 1, 2026 · 7 min read · 5
Does Your Trading Bot Have an Off Switch?
Most automated trading systems can be started with one click, but few can be stopped cleanly. A real kill switch has to block new orders and cancel the ones already waiting. Here is what that means in an Expert Advisor, a webhook bridge and an exchange bot, and which limits should trip it.
Ionut Claudiu Fratila · Nov 30, 2026 · 9 min read · 4
Is Your Trading Model Seeing the Future?
If a trading model is trained or tested on a bar that had not yet closed, or on data that had not yet been published, its evaluation will look better than anything it can do on new data. This article walks through where that leakage usually gets in, and the tools that keep it out.
Ionut Claudiu Fratila · Nov 29, 2026 · 8 min read · 3
How Do You Actually Debug a Trading Script?
Changing a line, recompiling and watching the chart is a slow way to find a fault in an Expert Advisor or a TradingView indicator. Both platforms already ship a debugger, logs and a profiler; this article shows how to use them.
Ionut Claudiu Fratila · Nov 28, 2026 · 7 min read · 4
Can AI Reverse-Engineer Trading Software, and Is AI-Assisted Development Safe?
Claims about AI copying applications (and tools promising to stop it) raise an important question for our customers: what should remain private, and how is it protected?
Ionut Claudiu Fratila · Nov 27, 2026 · 8 min read · 10
What Goes into an MCP Server for Trading Tooling?
Connecting an AI assistant to trading software is not just a matter of exposing an API. The engineering question is narrower: which information may the assistant retrieve, which operations may it request, and where are those permissions enforced?
Ionut Claudiu Fratila · Nov 26, 2026 · 6 min read · 5
Can You Trust Trading Code Written by AI?
AI assistants write MQL5 and Pine Script quickly, and it often compiles. Here are the faults we see most often in AI-written trading code and how a structured review catches them.
Ionut Claudiu Fratila · Nov 25, 2026 · 6 min read · 5
Can You Just Convert an MT4 Expert Advisor to MT5?
Utility code moves from MQL4 to MQL5 almost line by line, but the trading core does not. Here is what translates, what needs redesigning, and how to test a migrated EA.
Ionut Claudiu Fratila · Nov 24, 2026 · 7 min read · 6
Is Your Multi-Symbol EA Reading Data That Isn't Ready?
Once an Expert Advisor starts reading other symbols or timeframes, the data it asks for may not have been downloaded or built yet. Nothing raises an error by default, so the EA can carry on with incomplete series unless the code checks.
Ionut Claudiu Fratila · Nov 23, 2026 · 8 min read · 13
Can You Safely Wire an LLM API Into a Trading Tool?
Calling an LLM API from a trading tool is easy. The hard part is what happens when the response is malformed, refused, cut short, manipulated by the text it was given, or never arrives.
Ionut Claudiu Fratila · Nov 20, 2026 · 7 min read · 7
Why Algorithmic Trading Outperforms Trading Without a System
The Advantages of a Systematic Approach to Financial Markets
Nexo Mechanics · Jun 1, 2026 · 3 min read · 28
Bitcoin Pizza Day: The $1 Billion Slice of Crypto History
On May 22, 2010, programmer Laszlo Hanyecz made the first Bitcoin transaction, exchanging 10,000 BTC for two Papa John's pizzas. The purchase is now worth near $1 billion. Every year, the crypto community commemorates this moment as Bitcoin Pizza Day.
Ionut Claudiu Fratila · May 22, 2026 · 3 min read · 44
Model Context Protocols for Trading: Is the hype justified?
MCPs are gaining traction in finance-related applications such as stock analysis, financial datasets, broker connectivity, and autonomous trading workflows. Is the hype justified?
Ionut Claudiu Fratila · May 21, 2026 · 5 min read · 52
Are AI Indicators Possible on TradingView?
AI indicators are everywhere on TradingView. But what does AI actually mean in Pine Script, and where does the marketing end and the algorithm begin?
Ionut Claudiu Fratila · May 10, 2026 · 6 min read · 83
Can LLMs Predict the Market? Insights from the Beige Book.
We examined the effectiveness of Large Language Models (LLMs) in forecasting SPX returns using qualitative content from the Federal Reserve's Beige Book.
Ionut Claudiu Fratila · Sep 30, 2024 · 7 min read · 17
No articles found.
Stay up to date
Get notified when we publish a new article.
We'll only email you about new articles. Unsubscribe at any time. See our Privacy Policy.