docs: correct the README's claims, state the limits, and CI on macOS

The README said the quiet rule holds for the quietest markets (it can't
judge one under 3 changes a minute) and that all four extensions were
done (two of the brief's latency ideas were not tried); LATENCY.md said
the slow recycle was not seen to fire live, two lines after the run where
it did. Limits gains the process going down, the quiet rule's blind
spots and Kalshi's skipped-change case.

CLAUDE.md loses the home network's details and the server's key paths,
of no use to a reader of the public repo.

scripts/test_watch.sh no longer puts a here-document inside `$( )`:
bash 3.2, which is sh on macOS, stopped at an apostrophe there and
scripts/ci.sh ended on a syntax error.
This commit is contained in:
pascal committed 2026-11-12 23:17:10 +01:00
1 parent 6b3b2c1ca4
commit 00202bbc51
4 files changed
+71 -77

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
# Latency experiments
Extension 4 of the challenge: ways to get the exchanges' changes sooner,
tried on Polymarket and Kalshi. Every trick the brief names (connecting
tried on Polymarket and Kalshi's demo. Every trick the brief names (connecting
first after maintenance, spamming connections until a fast one comes,
changing the TCP source port) rests on one question: **is a connection that
is fast now still fast later?** If its speed is noise from message to
@@ -177,8 +177,8 @@ as the median lag), but at the median it wins 9 ms, a tenth of the lag.
- **Connections differ, and keep their speed**: strongly on Polymarket
(rank correlation 0.96 and 0.98), less on Kalshi's demo (0.66 and 0.78).
Nothing we could choose at connect sets it (the address doesn't): it is
drawn per connection, mostly when it opens, though it can shift mid-way
The one thing we could choose at connect, the address, doesn't set it
(the source port could not be tried): it is drawn per connection, mostly when it opens, though it can shift mid-way
(Kalshi's connection 4 went from 75 to 3 ms over its second run).
- **On Polymarket it is worth under a millisecond.** Keeping the fastest
pair wins at the median, not in the tail, where bursts delay every
@@ -211,8 +211,8 @@ as the median lag), but at the median it wins 9 ms, a tenth of the lag.
connections, on the 100 busiest markets, differed far more than the
collector's; assumed to be because each of the collector's shares its
markets with many others and is judged against all their copies, which
evens the means out. So the mechanism is tested but was not seen
to fire live, and its gain on the collector was not measured; how the
evens the means out. So the mechanism is tested and was seen to fire
live, but its gain on the collector was not measured; how the
demo's figures carry to production, which runs elsewhere, is unknown.
- **Distance weighs more**: 14 ms of lag to Polymarket, about 100 ms to
Kalshi's demo, against a median gain from racing under 1 ms and of 9 ms.