Polymarket-Wetterhandelsbot mit Claude
Von Wikiprompt, der freien Prompt-Enzyklopädie
Polymarket-Wetterhandelsbot mit Claude Ein detaillierter Prompt für Claude, um einen Python-Bot zu generieren, der Polymarket-Wetter-Märkte mithilfe von NOAA-Vorhersagen und Kelly-Criterion-Sizing handelt.
Prompt-InhaltSpeichern
🌐
Write me a Python bot that trades Polymarket weather markets.
Logic:
1. Every hour, pull the list of active temperature markets from Polymarket's CLOB API.
2. For each market, identify the city and the date.
3. Get the 31-member GFS ensemble forecast for that city from Open-Meteo's free API.
4. Calculate the probability that the actual high temperature falls into each price bucket.
5. Compare my calculated probability to the current Polymarket price, in cents.
6. If my edge is greater than 8%, place a buy order on the underpriced side using Kelly Criterion sizing, 15% fractional.
7. Cap position size at $50 per trade.
8. Log every trade with timestamp, market ID, forecast, market price, calculated probability, and edge percentage.
9. Auto-resolve closed positions and update P&L.
Important:
Polymarket markets resolve based on the official airport station for each city, not the city center.
Use:
NYC = KLGA, LaGuardia
Chicago = KMDW, Midway
Miami = KMIA
LA = KLAX
Dallas = KDAL, Love Field
Output one clean Python script with a config file for cities, edge thresholds, and position limits.
Melde dich an, um den vollständigen Prompt zu sehen
Weiter mit:
Mit der Anmeldung akzeptierst du unsere Nutzungsbedingungen und Datenschutz
Verwendung
Dieser Prompt ist für die Verwendung mit coding gedacht. Kopiere den Inhalt oben und füge ihn in dein bevorzugtes KI-Tool ein.
Für beste Ergebnisse passe die Platzhalter (eckige Klammern oder Großbuchstaben) an deine Anforderungen an.
Referenzen
- Kategorie: coding-Prompts
- Quelle: https://x.com/CoinSh0t/status/2064070307410006221
Diskussion
0 Kommentare