Osiris · Blog

Trading

General trading concepts, techniques and market mechanics.

Watch Order Book Walls in Python with the Densities API

Order book walls act like magnets and barriers, and the usual way to watch them is a heatmap screen: one pair at a time, useless the moment you look away. Here is the watcher version: one endpoint returns every detected wall on the venue with size, distance and a spoof-resistant age, and about forty lines of Python diff each 2 second scan against the last, flag new walls and pulled ones, and ping your own webhook.

10 min read

Build a Crypto Screener with One API Call

Every result for this search is a weekend data pipeline: websocket collectors, a candle database, a scheduler, and a project that dies when the collector needs a babysitter. Here is the other version: one request returns the whole market already ranked, a second reads the regime, and about forty lines of Python make a terminal screener that refreshes every 30 seconds.

8 min read

Build a Crypto Trading Bot in Python with the Osiris API

The search results for this topic are toy scripts or courses with a yacht in the thumbnail. Here is the working version: sixty lines of Python that rank the whole market, qualify candidates by order flow and BTC correlation, mark a level from candles, then sleep until a webhook wakes them. Complete code, honest limits.

9 min read

The Market Went Flat. Scalpers Never Noticed.

Swing traders have been starving through months of sideways tape, because trend trades need trends. Scalpers barely registered the change, because their paycheck comes from the daily chop that never stops. Why flat markets favor scalping, why direction was never the point, how to start, and the fine print nobody posts.

6 min read

When Quitting Trading Is the Right Trade

Every losing trader asks the 2 a.m. question, and no trading site answers it honestly, because your quitting is their churn. Sometimes the answer is yes: needed money, borrowed money, or losses that follow you to bed. How to know, how to quit well, and who should keep going.

6 min read

A Plan the Worst Version of You Can Follow

Every serious post on this blog ends with "write it down." This is the writing-it-down post: the one-page trading plan, section by section, with the numbers, the checklist, the regime switch, and the clause nobody includes: a written inventory of your own failure patterns.

6 min read

Trading vs Investing, Without the Sales Pitch

The comparison tables present them as two equal paths. They are different businesses with different failure rates, most people doing one are secretly doing the other badly, and the industry has a financial reason to nudge you toward the expensive side. The honest version of the comparison.

6 min read

The Myths That Keep Traders Losing

Myths survive in trading because they either sell something or soothe someone. Hard work guarantees nothing, entries are the least important thing everyone teaches, the exchange is not hunting you personally, and turning $1,000 into $100,000 has a timeline nobody posts. The full list, with the math.

8 min read

The Account Is Not Your Net Worth

Risk management runs the trade. Money management runs everything around it: how much money enters the account, how size steps as equity moves, when profits leave, and why topping up after losses is martingale at account scale. The layer the industry wrote a pamphlet about.

6 min read

Your Risk-Reward Ratio Is Lying to You

Everyone draws 3R rectangles on their charts. The account statement tells a different story, because the planned ratio and the realized ratio are different numbers, and only one of them pays. The expected value formula, the three ways your real ratio quietly shrinks, and the audit that exposes yours in five minutes.

6 min read