Sign inGet started
–

A pure offline calculator that converts a trade direction, entry price, and stop-loss into a futures contract count using verified per-symbol contract specs and an exact risk-budget algorithm.

Lift · GLM-5.3-flash—not yet benchmarked
92
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

Calculate contract-based futures position sizes from a direction, entry, and stop-loss, using verified per-symbol contract specs (multiplier, tick size, tick value). Use when the user asks how many futures contracts to trade, wants to size a futures position (ES, NQ, ZB, GC, CL, 6E/E6, VX, BT, ...), or is handing off a contrarian-setup-gate READY_FOR_PLAN direction/invalidation_level for sizing. Pure, offline calculation -- no API keys, no network.

#calculator#finance#futures#position-sizing#risk-management#trading

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
9.0/10
examples
8.0/10
structure
9.0/10
overall
9.0/10

Exceptionally thorough: precise trigger conditions, two well-specified modes with explicit precedence rules, a full output schema, worked wrong-vs-right example, and seven substantive guardrails covering edge cases (bond 32nds notation, exact rational floor, fail-closed vs usage-error distinction). Only minor gap is that worked examples are limited to one bond case plus inline CLI snippets rather than a dedicated examples section.

Files (9)

LICENSE · 1.0 KBreferences/futures-contract-specs.md · 11.0 KBreferences/sizing-methodology.md · 12.8 KBrequirements.txt · 0.1 KBscripts/futures_position_sizer.py · 17.1 KBscripts/futures_sizing.py · 50.0 KBscripts/tests/conftest.py · 0.2 KBscripts/tests/test_futures_sizing.py · 41.6 KB… 1 more