← Back to dashboard

📘 HeatCheck manual

This manual explains how to use the app, how to read the tables, and how to test the live execution flow safely before any real money is involved.

1. What the app does

2. How to read the main table

If a row is struck through with a warning marker, treat it as a phantom edge: it looks good on paper but may not be realistically fillable.

3. Safe first steps for live execution

Step A — install the dependency

pip install -r requirements.txt pip install py-clob-client

Step B — set the environment variables

# Windows PowerShell $env:PK="your-private-key" $env:POLYMARKET_LIVE_TEST_MODE="1" # bash / zsh export PK="your-private-key" export POLYMARKET_LIVE_TEST_MODE="1"

Step C — run a safe mini test

python polymarket_clob.py live '{"token_id":"demo-token","city":"warsaw","bucket":"29C","size_usd":1,"max_price":0.90,"market_agrees":true}'

In test mode the code does not place a real order. It returns a simulated success response and logs it as a live row.

4. Using the live alert button

The app now has a live alert panel on the Today's Yes page. It uses the same rule gates as the Auto tab before sending anything.

4b. The Control tab (live status)

Open the 🛡️ Control tab on the Today's Yes page to see, in real time, exactly what your local engine is doing — before you ever arm it.

5. Locking the local endpoint (username + password)

This lock only guards your own local server on localhost:8799 (both /alert and /status). It is not a Polymarket or wallet login — it just makes sure only you can tell the engine to act.

Recommended — set a hashed password:

python autotrade.py set-password

It prompts for a username and password, stores the password as a PBKDF2 hash in .env (never the plaintext), and removes any old plaintext password. Restart the server to apply. The login is checked in constant time, and repeated failed attempts are locked out for a cooldown.

Leave the username and password unset to run without a lock (only fine on a machine only you use). python autotrade.py status shows the active auth_scheme: hash, plaintext, or off.

6. Connect your Polymarket account

Read-only market data needs no key. To trade, the engine needs your account:

7. Prove the plumbing with a trial buy

Before trusting strategy sizes, place one tiny real order (hard-capped ~$3) that proves signing, allowance and execution work — not a strategy bet.

8. Going LIVE — the two-key ignition

A real order needs both keys, and arming expires on its own so nothing is ever left hot:

9. Portfolio, P&L, selling and settlement

The 🛡️ Control tab is a command center — do most things in one place:

10. See exactly what happened

11. Important safety rules