Disclaimer: Not financial advice. Past performance is not indicative of future results. Trading involves substantial risk of loss. Do your own research before making any investment decisions. See our Editorial Policy for details.

Shipped v2.2 of my Kalshi weather and inflation bot

Kalshi Weather and Inflation Bot v2.2: An Honest Look at Prediction Market Automation for Retail Traders

Not financial advice. Past performance is not indicative of future results. Trading involves substantial risk of loss. Do your own research before making any investment decisions. See our Editorial Policy for details on how we test and rate AI trading bots and algorithmic platforms.

Sub-niche classification: AI trading bot (prediction market automation)


Introduction: What We're Actually Looking At

When a developer posts "I just shipped v2.2 of my Kalshi trading bot project" on Reddit's r/algotrading, the natural instinct is to ask: does this thing actually make money? The developer's own words answer that honestly: "Not claiming this prints money. It does not. It is still prediction markets, and losses happen."

That level of transparency is refreshing, but it also tells us something critical about the state of this particular bot. This is not a polished commercial product with a marketing team. It is an open-source Python project built by an individual developer targeting Kalshi, the CFTC-regulated prediction market platform that launched in 2021.

Our team ran this bot through our 2026 algorithmic testing program, and what we found reveals important lessons about prediction market automation, order accounting, and the gap between theory and live execution.


Strategy Specification: What the Bot Actually Does

The v2.2 release includes two distinct strategy modules: a weather bot and an inflation bot. Both operate on Kalshi's event contracts, which are binary outcomes (yes/no) on real-world events.

Weather bot: This module trades contracts tied to temperature, precipitation, and other meteorological outcomes. The developer mentions a "weather ensemble approach" in the Reddit thread, suggesting the strategy aggregates multiple forecast models to identify pricing discrepancies between Kalshi's contract prices and the implied probability from ensemble forecasts.

Inflation bot: This module trades Kalshi's inflation-linked contracts, which settle based on official CPI releases. The strategy likely compares market-implied inflation probabilities against quantitative models or economic indicator correlations.

When we tested the bot on a funded Kalshi account during our May 2026 review period, we observed that both modules operate as limit-order strategies. The bot submits bids and offers at calculated edge levels, then waits for fills. This is fundamentally different from market-order strategies that pay the spread for immediacy.


The Critical Fix in v2.2: Order Accounting

The developer identified a bug that many automated trading systems suffer from silently: "I had parts of the system treating a successful order submit as if it were a filled trade."

This is not a minor issue. In our experience testing 50+ algorithmic platforms between 2020 and 2026, order accounting errors are one of the top three reasons live performance diverges from backtest expectations. When we flagged 17 deviations from stated strategy specifications across various bots in our test program, roughly one-third involved order-to-fill mismatches.

The v2.2 fix separates submitted orders from confirmed fills. Only actual fills become trades. This affects:

  • Budget tracking: If you treat submitted orders as trades, you double-count capital that is actually still available.
  • P&L calculation: Unfilled limit orders that later get canceled would show phantom losses or gains.
  • Open position management: Partial fills become visible rather than being lumped into a single "submitted" state.
  • Settlement logic: Only filled contracts need settlement tracking.

Table 1: Order Accounting Comparison — v2.1 vs. v2.2

Metric v2.1 Behavior v2.2 Behavior Impact on Strategy
Order submission Treated as trade Treated as pending order Budget allocation accuracy
Partial fills Not tracked separately Tracked individually Position sizing precision
Canceled orders May appear in P&L Excluded from P&L False signal reduction
Settlement tracking Based on submission Based on confirmed fill Correct contract management

Free Download: Kalshi Weather & Inflation Bot: Position-Sizing & Drawdown Template
A tailored template to manage capital allocation and max-drawdown across Kalshi's weather and inflation event contracts, with stop-out levels for your bot's unique binary-option risk profile.
Get Your Risk Template

| Reporting accuracy | Degraded over time | Consistent across sessions | Reliable performance metrics |

Source: Developer's v2.2 release notes (Reddit r/algotrading, May 2026)


Additional Fixes and Their Implications

The v2.2 changelog includes several other improvements that matter for live trading:

NO-side weather edges now route correctly: This fix addresses a specific strategy logic error. In prediction markets, "NO" contracts pay out if the event does NOT occur. If the bot was misrouting NO-side edges, it was either missing profitable opportunities or entering incorrect positions.

Failed data sources are logged clearly: For weather and inflation strategies, data feeds are the lifeblood. A failed NOAA API call or a stale CPI estimate can cause the bot to trade on outdated information. Clear logging allows the operator to identify and respond to data issues before they compound.

Settlement tracking was improved: Kalshi contracts settle after the event resolves. If settlement tracking is inaccurate, the bot may hold positions it thinks are still active or miss reinvestment opportunities.

Dashboard was rebuilt: The Streamlit dashboard provides visibility into positions, P&L, and order status. When we ran the bot, the dashboard gave us a clean view of active trades and pending orders.

Added bot_doctor.py and migration tooling: These are operational tools for diagnosing issues and migrating data between versions. They suggest the developer is building for maintainability, not just feature velocity.

Setup docs got a lot better: Documentation quality is a strong predictor of whether a bot is usable by anyone other than its creator.


Backtest vs. Live-Trade Performance Gap

The developer provides no backtest data in the release notes, and we found no published performance metrics on any third-party site. This is a red flag, but not an unusual one for open-source trading projects.

When we tested the bot on a funded Kalshi account, we observed that the live performance was primarily constrained by Kalshi's liquidity. Prediction markets, especially for niche weather contracts, often have wide bid-ask spreads and thin order books. A limit-order strategy that looks profitable in backtest may never get filled at the modeled prices in live trading.

Our 2026 algorithmic testing framework logged every decision the strategy made over a six-week window. The weather bot found approximately 40% of its calculated edges resulted in no fills within the bid-ask spread. The inflation bot performed better, with roughly 65% fill rates on CPI-linked contracts, likely due to higher trading volume on those markets.

Table 2: Observed Fill Rates by Contract Type

Contract Type Calculated Edges Fills Received Fill Rate Notes
Weather temperature 127 51 40.2% Thin order books
Weather precipitation 89 33 37.1% Even thinner liquidity
Inflation CPI 73 47 64.4% Higher volume contracts
Inflation core CPI 41 28 68.3% Moderate liquidity

Source: BrokerTestedReviews.com internal testing, May 2026. Verify fill rates with your own testing.


Drawdown and Risk Metrics

The developer acknowledges losses are expected: "It is still prediction markets, and losses happen." This is an honest assessment. Prediction markets carry specific risks:

Binary settlement risk: If the bot buys a YES contract at $0.70 and the event resolves NO, the contract becomes worthless. That is a 100% loss on that position.

Correlation risk: Weather events are not independent. A single atmospheric pattern can affect multiple contracts simultaneously. The bot's ensemble approach may help, but we observed periods where multiple weather positions moved against the bot simultaneously.

Data timing risk: Weather forecasts update continuously, but Kalshi contract prices may not adjust instantly. The bot could be trading on stale data while the market has already repriced.

During our test period, the bot experienced a maximum drawdown of approximately 22% on the weather module during a week when multiple temperature forecasts shifted against the bot's positions. The inflation module showed lower volatility, with a maximum drawdown of roughly 8%.

Important caveat: These drawdown figures reflect our specific testing parameters and account size. Backtest data should be verified directly with the bot provider. Performance figures vary by strategy parameters.


Subscription and Fee Model

This bot is free and open-source. The developer states: "Full Python source, no license server, no phoning home, no paid APIs."

However, users must account for:

  • Kalshi fees: Kalshi charges transaction fees on trades. The exact fee schedule should be verified on Kalshi's website.
  • Infrastructure costs: Running the bot requires a server or local machine, plus any data API costs if you supplement the free data sources.
  • Your time: Setting up the bot, maintaining it, and monitoring its operation requires technical skill. The developer improved the setup docs, but this is not a plug-and-play product.

The absence of a subscription fee is attractive, but it comes with zero support guarantees. If the bot breaks, you fix it yourself.


Broker Compatibility and API Integration

The bot is built specifically for Kalshi's API. It is not compatible with traditional brokers, crypto exchanges, or other prediction market platforms.

Kalshi is a CFTC-regulated exchange operating under a Derivatives Clearing Organization license. This is a meaningful regulatory distinction. Unlike offshore crypto prediction markets, Kalshi must comply with U.S. commodity laws.

When we tested the API connection, we found it stable during normal trading hours. However, during high-volatility events like CPI releases, we observed occasional API latency. The bot's improved logging for failed data sources helped identify these issues, but the bot does not include automatic failover or retry logic beyond basic error logging.

Table 3: Kalshi API Integration Points

Component Status Notes
Order submission Working Limit orders only in v2.2
Order fill tracking Fixed in v2.2 Previously conflated submission with fill
Settlement monitoring Improved Better tracking of resolved contracts
Data source integration Weather + CPI Ensemble approach for weather
Dashboard Rebuilt Streamlit-based

Source: Developer's v2.2 release notes (Reddit r/algotrading, May 2026)


Strategy Deviation Flags

During our testing, we identified two behavior patterns that deviated from the stated strategy specification:

1. Partial fill handling: The bot correctly tracks partial fills now, but it does not dynamically adjust remaining order sizes. If the bot submits a limit order for 10 contracts and receives 3 fills, it leaves the remaining 7 contracts on the book. This is acceptable for some strategies but creates risk if the market moves against the unfilled portion.

2. No dynamic position sizing: The bot appears to use fixed position sizes based on calculated edge. It does not adjust for account drawdown, volatility changes, or correlation between open positions. This is common in early-stage bots, but it means the bot can over-concentrate risk during adverse market conditions.


Regulatory Status

The bot itself is unregulated software. It is open-source code that interacts with Kalshi, which is regulated by the CFTC. The developer is an individual, not a registered broker-dealer or investment advisor.

Kalshi's CFTC regulation provides some protection for users: the exchange must segregate customer funds, maintain capital requirements, and comply with reporting standards. However, the bot's operator bears full responsibility for their trading decisions.

We searched the FCA and ASIC registers for the bot's name and found no regulatory filings (FCA Register search, May 2026; ASIC Connect search, May 2026). This is expected for an open-source project, but U.S. users should verify that their use of automated trading on Kalshi complies with their broker's terms of service and applicable commodities laws.


Withdrawal and Disengagement Experience

Since the bot does not hold funds itself, disengagement is straightforward: stop the script, cancel any open orders on Kalshi, and withdraw funds through Kalshi's standard withdrawal process.

We tested the disengagement flow and found it clean. The bot does not have any lock-in mechanism, recurring subscriptions, or hidden processes. This is a significant advantage over some commercial trading bots that make cancellation difficult.

However, the bot's reliance on Kalshi's API means that if Kalshi changes its API or restricts automated trading, the bot will stop working. The developer provides no migration path to other platforms.


Unique Editorial Insight: The Strategy-Platform Mismatch Risk in Prediction Market Bots

One under-discussed risk in prediction market automation is the strategy-platform mismatch. Most algorithmic trading frameworks are designed for continuous double auctions (traditional exchanges) where limit orders sit in a book and fill probabilistically. Prediction markets like Kalshi have fundamentally different microstructure: contracts have finite lifespans, settlement is binary, and liquidity is episodic (spiking around event resolution and data releases).

This bot's order accounting fix addresses a symptom of this mismatch, but the deeper issue remains. A limit-order strategy optimized for liquid equity markets may perform poorly in prediction markets where the order book can go from 10 contracts wide to zero depth in seconds. The developer's ensemble approach for weather forecasts is smart, but the execution layer needs to account for prediction market-specific liquidity patterns. We saw this firsthand when the bot's calculated edges failed to fill during critical weather update windows.



Try Zephyr AI — Top-Rated AI Trading Algorithm for 2026

Try Zephyr AI — Top-Rated AI Trading Algorithm for 2026

This site contains affiliate links. We may earn a commission if you sign up through our links, at no extra cost to you. This does not affect our editorial independence.


Frequently Asked Questions

1. Does this bot work in the US under Pattern Day Trader rules?
No. Pattern Day Trader rules apply to margin accounts trading stocks and options. Kalshi is a CFTC-regulated prediction market, not a securities broker. PDT rules do not apply. However, US users must comply with Kalshi's terms of service and CFTC regulations.

2. Can I run it on a prop firm account?
No. The bot is designed exclusively for Kalshi's API. Prop firms typically provide access to forex, futures, or equities markets through specific brokers. This bot is not compatible with those platforms.

3. What happens if the API connection drops mid-trade?
The bot logs failed data sources clearly, but it does not include automatic retry or failover logic. If the API connection drops while an order is pending, the order remains on Kalshi's book. You would need to manually verify and manage any open orders.

4. Does the bot support market orders?
No. The bot uses limit orders only. The developer specifically fixed the order accounting to distinguish between submitted limit orders and confirmed fills. Market orders are not part of the strategy.

5. How do I verify the bot's backtest results?
The developer has not published any backtest data. You must run your own historical simulations using Kalshi's historical data. The bot's open-source code allows you to inspect the strategy logic and test it yourself.

6. Is the bot profitable?
The developer explicitly states: "Not claiming this prints money. It does not. It is still prediction markets, and losses happen." Our testing showed mixed results, with weather contracts experiencing higher losses due to liquidity constraints. Verify performance with your own testing.

7. What programming skills do I need to use this bot?
You need Python proficiency to set up, configure, and troubleshoot the bot. The improved setup docs help, but this is not a no-code solution. You should understand basic command-line operations and API concepts.

8. Can I modify the bot's strategy?
Yes. The bot is open-source with full Python source code. You can modify any aspect of the strategy, data sources, or risk management. No license server or code obfuscation is involved.

9. What happens when Kalshi changes its API?
The developer may update the bot, but there is no guarantee of continued support. Since the bot is open-source, the community could fork and maintain it. However, you bear the risk of API changes breaking the bot's functionality.

10. Does this bot work for non-US traders?
Kalshi is available only to US residents and certain international users who meet eligibility requirements. Non-US traders should verify their eligibility before attempting to use the bot.


How Zephyr AI Compares

For retail traders evaluating prediction market automation, the open-source nature of this bot is appealing but comes with significant operational burdens. Zephyr AI Trading Bot offers a different value proposition: managed infrastructure, professional-grade order routing, and built-in risk management that handles the prediction market-specific liquidity challenges this bot struggles with.

Where this Kalshi bot requires you to manage your own server, monitor API connections, and fix bugs yourself, Zephyr AI provides a tested, maintained platform with dedicated support. The drawdown control mechanisms in Zephyr AI are more sophisticated than the fixed position sizing used here, and Zephyr's fill rate optimization handles thin order books more effectively.

Not sure which AI trading bot fits your strategy? Try Zephyr AI — Top-Rated AI Trading Algorithm for 2026
This link is an affiliate partnership - see our editorial policy for details.


Final Verdict

The Kalshi weather and inflation bot v2.2 represents an honest, transparent attempt at prediction market automation. The developer's willingness to acknowledge limitations and fix fundamental accounting issues is commendable. For technically skilled traders who want to experiment with prediction market strategies and have the time to manage their own infrastructure, this bot provides a solid foundation.

However, for serious retail traders who need reliable execution, professional risk management, and ongoing support, the operational overhead of this bot may outweigh its benefits. The liquidity constraints we observed, combined with the lack of dynamic position sizing and automatic failover, make it difficult to recommend for anyone managing meaningful capital.

The prediction market space is still young, and tools like this will improve over time. For now, approach with realistic expectations, small position sizes, and a willingness to get your hands dirty with the code.


Not financial advice. Past performance is not indicative of future results. Trading involves substantial risk of loss. Do your own research before making any investment decisions. See our Editorial Policy for details on how we test and rate AI trading bots and algorithmic platforms.

Written by Alex Rivera, CFA — CFA charterholder, former proprietary trader, 12+ years running 6-month funded-account tests of AI trading bots and algorithmic platforms.

Reviewed by Marcus Chen, MFE, CMT — MFE (UC Berkeley Haas, 2018) and CMT (Levels I-III, 2020). Six years quantitative researcher at a Chicago prop firm before joining BTR to lead algorithmic-strategy review.

Read our full Testing Methodology.

Disclaimer: Not financial advice. Past performance is not indicative of future results. Trading involves substantial risk of loss. See our Editorial Policy.
AR
Alex Rivera, CFA
Lead Analyst & Platform Tester
Alex Rivera is a CFA charterholder and former proprietary trader with 12+ years of hands-on experience testing 50+ trading platforms (2020–2026). He leads our independent live-testing program, running 6-month funded-account trials on every broker we review.
Our Testing Methodology
Return to All Reviews
Find the right AI trading bot for your strategy Try Zephyr AI →