Home / Market & alternative data
position-sizing-data
Contract specs and worked position-size arithmetic
What it is
Reference tables, with Python, JavaScript, Go, and PHP packages that embed them, list contract size, pip size, and minimum step for forex, metals, energies, indexes, and crypto, plus pip values and tables for losing streaks and drawdown recovery. The sizing formula is written out so units can be recomputed from a risk budget, stop distance, spread, and commission, then rounded down to the broker's step. Traders and developers who would rather check the arithmetic than trust a screenshot are the audience. The instrument rows are typical retail defaults, not exchange-published specifications, so size and step still have to be confirmed with the broker before an order.
At a glance
Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Beginners |
|---|---|
| Used for | Data analysis, Data source |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Last commit 16 days ago |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): +1 over the period, now 2. Gaps mean no snapshot was taken that day.
Reference data and worked arithmetic for position sizing across forex, stocks and crypto futures: contract specifications (pip size, contract size, minimum step) for 131 instruments, pip valu
Similar tools
Free searchable database of 300,000+ financial symbols
Prices, filings and alternative series behind one key
Open-source financial data platform with Python, CLI, and REST access
Pythonic downloader for Yahoo! Finance market data
Pull financial and macroeconomic data into Pandas
High-performance Python datastore for time series and tick data