<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Python on Panshi | Infrastructure · Quant Trading · AI Workflows</title>
    <link>https://blog.panshi.io/tags/python/</link>
    <description>Recent content in Python on Panshi | Infrastructure · Quant Trading · AI Workflows</description>
    <image>
      <title>Panshi | Infrastructure · Quant Trading · AI Workflows</title>
      <url>https://blog.panshi.io/og-default.png</url>
      <link>https://blog.panshi.io/og-default.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 19 Apr 2026 19:50:00 +0800</lastBuildDate>
    <atom:link href="https://blog.panshi.io/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>IPRoyal 轮换 IP Python 实战：自动切换 &#43; 失败重试完整代码</title>
      <link>https://blog.panshi.io/posts/iproyal-rotating-ip-python/</link>
      <pubDate>Sun, 19 Apr 2026 19:50:00 +0800</pubDate>
      <guid>https://blog.panshi.io/posts/iproyal-rotating-ip-python/</guid>
      <description>IPRoyal 住宅 IP 池有两种模式：Sticky（粘性）和 Rotating（轮换）。本文用 Python 实现自动轮换 &#43; HTTP 失败重试 &#43; 封禁 IP 跳过，含完整可跑代码。</description>
    </item>
    <item>
      <title>用 Claude 写 Binance API 自动风控脚本：爆仓前 3 小时预警</title>
      <link>https://blog.panshi.io/posts/claude-binance-api-risk-alert/</link>
      <pubDate>Sun, 19 Apr 2026 19:20:00 +0800</pubDate>
      <guid>https://blog.panshi.io/posts/claude-binance-api-risk-alert/</guid>
      <description>合约账户爆仓前往往有几小时的保证金恶化过程。Claude 帮我写一个监控脚本，当维持保证金率跌破阈值时立即 Telegram 预警。完整代码。</description>
    </item>
    <item>
      <title>用 Claude Code 给 Pionex 机器人加智能监控：边沿预警 &#43; Telegram 推送</title>
      <link>https://blog.panshi.io/posts/claude-code-monitor-pionex-bot/</link>
      <pubDate>Sun, 19 Apr 2026 19:10:00 +0800</pubDate>
      <guid>https://blog.panshi.io/posts/claude-code-monitor-pionex-bot/</guid>
      <description>Pionex 机器人到达区间边沿不会自动通知。用 Claude Code 几十行代码写一个价格监控 &#43; Telegram 推送脚本，关键时刻手动干预。完整实现 &#43; 部署。</description>
    </item>
    <item>
      <title>Binance API 从零到第一笔下单：完整教程</title>
      <link>https://blog.panshi.io/posts/binance-api-from-zero/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.panshi.io/posts/binance-api-from-zero/</guid>
      <description>手把手教你申请 Binance API Key，配置安全权限，用 Python 发出第一个查询请求和第一笔测试订单，附 WebSocket 实时数据流入门。</description>
    </item>
    <item>
      <title>用 Gemini CLI 自动巡检服务器集群：Python &#43; SSH &#43; Telegram 推送实战</title>
      <link>https://blog.panshi.io/posts/gemini-cli-server-audit/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.panshi.io/posts/gemini-cli-server-audit/</guid>
      <description>每天手动 SSH 进服务器检查状态太麻烦。本文用 Gemini CLI 作为分析引擎，Python 脚本自动 SSH 采集各服务器指标，结合 Telegram Bot 推送日报，实现零手动的集群健康监控。</description>
    </item>
    <item>
      <title>量化工具栈：Binance API &#43; Grafana &#43; 自动化告警全套配置</title>
      <link>https://blog.panshi.io/posts/quant-tools-stack/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.panshi.io/posts/quant-tools-stack/</guid>
      <description>我的量化策略全套工具链：Python &#43; Binance API 执行策略，Prometheus 收集指标，Grafana 可视化，Telegram 推送告警。从策略运行到监控告警完整覆盖。</description>
    </item>
    <item>
      <title>量化策略止损参数研究方法论：如何用历史数据找到最优止损距离</title>
      <link>https://blog.panshi.io/posts/quant-stop-loss-parameter-research/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.panshi.io/posts/quant-stop-loss-parameter-research/</guid>
      <description>止损设多少合适？凭感觉没有说服力，靠历史回测来优化。本文讲止损参数研究的完整方法论：数据准备、参数网格搜索、评估指标选择、过拟合防范，附 Python 实现。</description>
    </item>
  </channel>
</rss>
