EDGE15 SNIPER — DOCS

How the snipe works

Twelve coin markets on Kalshi settle every 15 minutes: BTC, ETH, SOL, XRP, DOGE, BNB, HYPE, ZEC, NEAR, ADA, BCH and TON. Each one asks a simple question — will the coin's price at the close be above or below where it started (the strike)?

The sniper waits until a set moment before the close (the entry seconds setting, default 120 — two minutes out), looks at the price right then, and buys the side that is winning at that moment: spot at or above the strike buys Above, below buys Below. The bet is small — the max bid amount (default $1) buys as many contracts as fit at the best asking price — and it is placed as an immediate-or-cancel taker order, so it fills at once or not at all. The position then simply rides to settlement, a couple of minutes later: win and each contract pays $1, lose and it pays $0.

That is the whole strategy. Because the winning side near the close usually costs 97–99¢, a win pays pennies and a loss costs the dollar — the record on the dashboard shows exactly that shape, and the balance floor below is what keeps the game bounded.

The hourly family

Kalshi also lists hourly markets for the same coins, closing on the hour. They are shaped differently: where a 15-minute event is a single market, an hourly event is a ladder of strike markets — dozens of rungs asking "above or below this price?" at every level. The sniper trades exactly one rung per hour: the reference market, the rung whose strike sits closest to where the coin's price stood when the hour opened. That keeps the play identical — a strike fixed at the open, a price that drifts away from it over the hour, and a book that prices the drift by the entry moment.

The hourly series are discovered, never hard-coded: the worker reads Kalshi's live series listing and keeps, for each watched coin, the hourly series that actually lists on-the-hour markets with real strikes. A coin whose hourly markets carry no usable strike — or none are listed at all — simply does not appear in the hourly block; the family is whatever the listing honestly offers. (On the day this shipped, that was BTC, ETH, SOL, XRP, BNB and HYPE.)

Everything else is shared — the hourly markets run the same play under the same dials:

One switch — Hourly markets in Settings — enables or disables the whole family. The big Today tiles stay combined; the strip under them splits the day by family, and every History and breakdown row carries a small 15M / HOURLY tag so the two never blur.

The controls

Start Sniper / Stop Sniper

The small button in the Balance card drives the kill switch and nothing else. Start clears the kill switch so the loop may buy; Stop sets it, and the status reads "All Snipes Stopping" until the current 15-minute window closes, then "Stopped". Positions already placed are never touched by the kill switch — cancels and settlements always pass.

Min balance floor — and the latch

The floor is the app's only stop. Before every snipe the worker reads the account balance — the sum of all shards — and if cash is below the floor, the snipe is refused and the app latches: it stays stopped, window after window, until you press RE-ARM on the dashboard. Re-arming does not move the floor. If the floor is unset (0) it self-initializes to the current balance the first time it is read; a floor you type in is never overwritten. Lowering the floor gives the sniper room to keep playing through the dips its own $1 bets (and the other apps on the shared account) cause.

Max bid amount

The most one snipe may cost. Contracts = floor(max bid ÷ ask), so at a 99¢ ask a $1 bid buys exactly one contract.

Stake ladder

Sizing that grows with the account. Two Settings controls: the ladder step (default $100) and the ladder stake (default $1.50). While the account total — cash + positions, the total the dashboard balance card shows — sits at or above the step, every snipe stakes the ladder stake instead of the max bid amount, on both passes and both families. The step is judged fresh for every order: when the total falls back below the step, stakes step back down to the max bid amount on their own — nothing latches. Strength sizing multiplies whichever stake applies, so a strength second shot above the step stakes ladder stake × the strength multiplier. The ladder stake is placed only when it fits above the balance floor; when it does not fit but the normal stake does, the snipe falls back to the max bid amount — the trade was still wanted. Ladder-staked trades are flagged on their records, and the trade detail shows "Ladder stake" where it applied. Set the step to 0 to turn the ladder off.

Entry seconds before close

How long before each market closes the snipe fires (10–890 seconds, default 120). Earlier entries see cheaper prices and more doubt; later entries see near-certain outcomes at near-$1 prices.

Order retries

Extra attempts (0–3, default 1) when posting an order fails transiently — a timeout, a dropped connection, a server 5xx. Every retry reuses the same client order id (a lost first attempt can never double the position), re-reads the price first, and gives up if the winning side flipped, the ask moved more than 5¢, or fewer than 15 seconds remain. A clear rejection from Kalshi is never retried.

Second shot

Sometimes the entry order is accepted but fills nothing — the book moved in the instant before it landed. With the second shot on (its own toggle in Settings, default on), such a coin gets one retry at the second shot seconds mark (default 60 seconds before the close). Only coins whose first order actually went unfilled qualify: a coin that was skipped at entry — too close, no ask, any gate — placed no order, so it is never re-evaluated, and a coin whose order filled is never touched (never a second position in the same coin and window). The retry is judged fresh, by the full rule set in the same order as the first pass: the balance floor and kill switch, the coin's own toggle, the minimum gap on the fresh split — if the gap has narrowed under your minimum by then, the retry is skipped as Too close like any other — the distance guard on the fresh spot, and the order retries above. A fill the retry recovers counts in the day's predictions like any other, and the dashboard notes it under the Today tiles: "Second shot: N fills today".

Strength sizing (second shot only)

The second shot is judged at the last moment, on fresh numbers — and a wide fresh gap is the strongest signal the window offers: with a minute left, the losing side needs a near-miracle. So when the retry's fresh gap is at or above the strength gap (default 75 points), the shot stakes more: its dollar budget is the applicable base stake — the max bid amount, or the ladder stake while the account total sits at/above the ladder step — × the strength multiplier (default 2), and the contract count follows from that budget as usual. Below the strength gap the shot stakes the normal amount, and under the minimum gap it still sits out entirely. The first pass is never sized — strength is a property of the last moment, not the entry. Two guards keep the bigger stake honest: the multiplied stake is placed only when it fits above the balance floor (cash minus the stake stays at or above the floor); when the double does not fit but the normal stake does, the shot fires at the normal amount — the trade was still wanted — and when neither fits, the shot does not fire at all. Strength-sized fills are flagged on their prediction records, and the dashboard counts them beside the Second shot line: "Strength: N fills today".

Minimum gap between sides

At snipe time the sniper compares the two sides' implied percentages — the Above/Below split shown on every card. If the gap between the winning side's % and the losing side's % is smaller than this setting (0–100 points, default 50, set by the owner), the prediction is skipped and the skip is recorded as Too close, with the split in the skip row: a near-even split is a coin flip, not a snipe. Example: Above 40% / Below 60% is a 20-point gap — skipped while the minimum is 50; Above 25% / Below 75% is exactly 50 — that one snipes. Set it to 0 to turn the rule off.

Under the control, the sniper offers a suggested gap. It replays the last 7 days of scored windows — every filled trade that settled, plus every Too Close skip whose market has since settled — and totals what taking each window was (or would have been) worth at each candidate minimum from 0 to 90 in steps of 10. The best-scoring candidate is shown with the dollar difference against your current setting and the number of scored windows behind it. It stays quiet until at least 20 windows have scored, and it is advisory only: it never changes the setting — you turn the dial. The same line appears under the scoreboard on the Too Close page. Amounts are before fees.

Minimum distance from the line

A second check, alongside the gap, on a different measurement: how far the price itself sits from the strike — the line — at snipe time, as a percentage of the strike. The split is book prices; it can look comfortable while the spot is a hair from the line, and a hair is all a flip needs (the loss that designed this rule: SOL, decided on the split, sat 0.048% from its strike and crossed it in the final two minutes). If the measured distance is smaller than this setting (default 0.05%), the prediction is skipped and recorded as Too tight, with the measured distance and the would-be price on the skip row — so the skip is priced and scored to its market's outcome exactly like a Too Close skip, on its own breakdown page. Exactly at the minimum trades. The rule judges both passes and both families, and a first-pass Too tight skip places no order, so it never qualifies for the second shot. Set it to 0 to turn the rule off. Treat it as what it is — a hairline tool: at 0.05 it refuses only races that are on the line. Wider is not safer: in the replay of the day the rule was designed on, 0.10 would have skipped winners worth more than the losses it avoided — proximity to the line is also where the cheap payouts live.

Kill switch vs the STOP file

Two different brakes. The kill switch is the everyday control: it blocks new buys only. The STOP file (a file named STOP in the app directory) is the break-glass halt: everything stops, settlements included, until the file is removed.

Paper mode

Its own separate toggle in Settings, independent of Start/Stop. In paper mode the full loop runs and logs what it would have bought, but no order is ever sent. The status reads "Sniping — PAPER".

Hourly markets

One switch for the whole hourly family (see "The hourly family" above). Enabled, the same coins' hourly markets snipe under the same rules as the 15-minute ones; disabled, every hourly market sits out — no evaluations, no skips, and the hourly block leaves the dashboard. The 15-minute markets are never affected.

Per-coin toggles

Every coin card has a switch. Flip a coin off and it sits out from the next snipe moment — silently, with no restart and no flood of skip rows; flip it back on and it rejoins. The switch is shared: it governs the coin in both families, the 15-minute markets and the hourly ones. A position placed before the flip still settles normally.

Instance guard

Two copies of this app must never trade the same account at once — when the app moves to a new server, the old copy and the new one could otherwise both snipe the same windows. The guard lives in the app itself. Every order carries a client order id that names the snipe — this copy's instance name (the Instance name setting, shown in the dashboard header), the market's series, the window's close and the pass — so the same snipe sent twice is the same order: Kalshi rejects the duplicate instead of filling it twice, and retries of one snipe always reuse its id. And at boot and at every window the worker reads the account's recent orders: an order carrying a different instance's name means another copy is live, so this copy stands down — no live orders, a STOOD DOWN banner, an activity line — and resumes on its own once the other copy has been quiet for half an hour. A check that cannot be completed sits the window out rather than trading unverified. Paper predictions are never blocked: paper fills are local, so a paper copy can safely shadow a live one. Orders from before this guard existed, and orders placed by other apps or by hand, carry no instance name and are never mistaken for another copy.

Auto-refresh

The header toggle makes the dashboard reload itself the moment each new 15-minute window opens, so fresh numbers — and any newly deployed version — appear on their own. The choice is remembered on that device; it is off until you turn it on.

The rails

Reading the dashboard

Version history