Python
110 posts
Bankroll Management with Keeks: OptimalF
Ralph Vince's OptimalF maximizes geometric growth based on your trading history. Learn how it differs from Kelly and how to use it with Keeks.
Integrating Bandit into CI/CD Pipelines
How to add Bandit security scanning to your CI pipeline without breaking every build and making developers hate you forever.
Bankroll Management with Keeks: Drawdown-Adjusted Kelly
Drawdown-Adjusted Kelly dynamically reduces bet sizes during losing streaks to protect your bankroll. See how to implement it with Keeks.
Managing Bandit False Positives Without Breaking Security
How to handle false positives in Bandit without accidentally silencing the real vulnerabilities hiding among them. A practical guide.
Bankroll Management with Keeks: Fractional Kelly
Fractional Kelly betting trades some theoretical growth for reduced volatility. Learn how to implement Half Kelly and Quarter Kelly with Keeks.
PyGeoHash 2025: A Year of Transformation
A transformative year for PyGeoHash - complete rewrites, MIT licensing, type hints, and automated publishing for a decade-old library reborn.
Native Structured Outputs: When to Skip the Framework
OpenAI and Anthropic now offer built-in structured output support. Here's when to use native APIs versus validation frameworks.
Comparing Python Libraries for Structured LLM Extraction
A practical comparison of instructor, outlines, and pydantic-ai for getting structured data from LLMs based on production experience.
From Theory to Practice: Building Real Decision Models with Petersburg
A practical guide to modeling complex decisions with Monte Carlo simulation using petersburg, featuring real case studies from startups and drug development.
Keeks 0.3.0: Introducing the Merton Share Strategy
Keeks 0.3.0 adds the Merton Share strategy with configurable risk aversion and maximum entry price calculations for one-time gambles.