讨论

基于Polymarket的Claude天气交易机器人

来自 Wikiprompt,自由的提示词百科全书

Coin Shot ☁️

2026年6月8日

基于Polymarket的Claude天气交易机器人 一个详细的提示,用于让Claude生成一个Python机器人,该机器人利用NOAA天气预报和凯利准则规模来交易Polymarket天气市场。

提示词内容收藏

🌐
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.

登录以查看完整提示词

继续使用:

登录即表示你同意我们的 使用条款 和 隐私政策

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| twitter| polymarket| weather-bot

讨论