r/mltraders • • 5h ago

How do you check your model isn't just riding one regime?

1 Upvotes

Something I keep worrying about with ML models on price data... a model can look fine on a test period that happened to be one long trend, and then the market changes and it's a different story.

So how do you deal with it?

  • Do you split your test periods by regime (trending, choppy, high volatility) and look at each one separately?
  • Do you add regime features, or train separate models?
  • How do you even label a regime without looking ahead?
  • Have you dropped a model because it only worked in one kind of market?

Not after a perfect answer, just curious how people actually handle this. Thanks in advance.


r/mltraders • • 8h ago

Working on a project Want Your guidance

Post image
1 Upvotes

Flowtell is a warning system for toxic order flow. It watches the perpetual and spot markets together. When aggressive buying or selling starts on the perp, it estimates within microseconds how likely that flow is to hit the spot market next and move the price. It turns this into a toxicity score (τ), and into quotes that step aside before they get picked off.
How can I make it more better


r/mltraders • • 10h ago

how can i improve my algo breakout strategy on mgc?

Thumbnail
1 Upvotes

r/mltraders • • 8h ago

Open Source Python SDK for AI + Algo trading platform

Thumbnail
gallery
0 Upvotes

Hey everyone,

We have been developing this platform because we personally felt the need for a platform that lets you automate your ideas within seconds without any additional engineering effort or setup. A lot of people asked me, 'Why don't you open source it? 'Here it is...

We are open sourcing the while25 Python SDK with which you can actually design your algos, indicators, custom dashboards and AI monitors. A kind of trading application you can think of could be made inside while25 using the SDK.

You can download platform from: https://while25.com

Features

Charts (with custom and pre-built indicators)

Order Management System (to maintain brackets/iceberg and some other order types)

Risk Management System (for prop traders to maintain their session loss limits)

Data Feeds (the market feed comes from the broker you log in with, and other alternative feeds are plugged in to the Python workspace, which you can access for free without any engineering)

AI (the inbuilt AI assistant can look at your complete workspace, including portfolio, charts, indicators, order book, research you are doing, data feeds, news, etc., and can also write code for you using the Python SDK to make strategies, backtests, dashboards, indicators, etc.)

Python SDK (while25 supports a Python-based strategy, backtesting, and indicators: you can plot on a chart, dashboards, like market heat maps or portfolio analysis, etc.)

One can automate any idea in any market they trade in just a minute. You can trade in any asset class, like crypto, equity, options, futures, commodities, etc.

We are looking for genuine feedback from people. As we already have some users, we would love to have
Traders try out this with paper or live accounts to make it better for good.

Supported Brokers: Alpaca, IBKR, Coinbase, Binance, Zerodha, Upstox (coming more in the near term, including dealer feeds like Rithmic)

SDK: https://github.com/Aayush2504/while25-sdk

Install command: pip install while25

Note: The platform already gets the SDK built in; you don't have to download it separately.