展示HN:模拟真实市场动态和经纪人规则的纸上交易
<p><pre><code> 嗨,HN!我创建了Paper,一个真正模拟交易复杂现实的纸上交易平台——包括滑点、部分成交、市场影响和真实的执行逻辑。
问题:大多数纸上交易平台提供的是完美价格的虚幻成交。你在模拟中开发出一个效果很好的策略,但在实际交易中却亏损,因为它从未考虑到真实市场动态。
Paper的不同之处:
- 模拟22个真实经纪商的确切规则、限制和费用结构
- 真实市场动态:滑点、部分成交、市场影响
- 可配置的延迟配置文件:零售(50-250毫秒)、机构(20-100毫秒)、共置(0.5-5毫秒)或自定义
- L1 NBBO价格数据流与现实成交价格
- 延长交易时间(东部时间凌晨4点至晚上8点)
- 完全保证金交易(Reg T和投资组合保证金,使用SIMPLE/SPAN/TIMS)
- 短线交易需满足适当的借入要求
- 真实的PDT规则执行
首个支持MCP(模型上下文协议)的交易平台:
我们是首个推出MCP支持的!直接与Claude测试你的交易策略:
- npm install @paperinvest/mcp-server
- 使用AI构建和回测策略
- Claude可以下单、检查头寸、分析表现
- 通过MCP工具完全访问API
技术栈:
- NestJS后端,使用PostgreSQL、Redis、Kafka
- Next.js 15前端
- SSE用于实时订单流
- REST API + MCP服务器
- AWS部署
定价:
- 免费:每天5笔交易,基本订单,现金账户
- 专业版($20/月):无限交易,所有订单类型,保证金账户,延长交易时间
- 商业版($500+/月):支持多账户的企业解决方案
即将推出:期权交易(完整的多腿策略)和期货
我是一个独立开发者。之所以构建这个平台,是因为我厌倦了在ThinkorSwim的纸上交易中表现完美但在实际交易中因不现实的成交而失败的策略。
尝试一下: https://paperinvest.io
API文档: https://docs.paperinvest.io
我非常希望得到反馈!你希望纸上交易平台更好地模拟哪些经纪商规则或市场动态?</code></pre>
查看原文
<p><pre><code> Hey HN! I built Paper, a paper trading platform that actually simulates the messy reality of trading - slippage, partial
fills, market impact, and real execution logic.
The Problem: Most paper trading platforms give you fantasy fills at perfect prices. You develop a strategy that works great
in simulation, then lose money when you go live because it never accounted for real market dynamics.
What Makes Paper Different:
- Simulates 22 real brokers with their exact rules, restrictions, and fee structures
- Real market dynamics: slippage, partial fills, market impact
- Configurable latency profiles: Retail (50-250ms), Institutional (20-100ms), Colocated (0.5-5ms), or Custom
- L1 NBBO price feeds with realistic fill prices
- Extended hours trading (4am-8pm ET)
- Full margin trading (Reg T and Portfolio Margin with SIMPLE/SPAN/TIMS)
- Short selling with proper locate requirements
- Real PDT rule enforcement
First Trading Platform with MCP (Model Context Protocol):
We're the first to ship MCP support! Test your trading strategies with Claude directly:
- npm install @paperinvest/mcp-server
- Build and backtest strategies using AI
- Claude can place trades, check positions, analyze performance
- Full API access through MCP tools
Tech Stack:
- NestJS backend with PostgreSQL, Redis, Kafka
- Next.js 15 frontend
- SSE for real-time order streaming
- REST API + MCP server
- AWS deployment
Pricing:
- Free: 5 trades/day, basic orders, cash account
- Pro ($20/mo): Unlimited trades, all order types, margin accounts, extended hours
- Commercial ($500+/mo): Multi-account support for businesses
Coming Soon: Options trading (full multi-leg strategies) and futures
I'm a solo developer. Built this because I was tired of strategies that worked perfectly in ThinkorSwim's paper trading but
failed with real money due to unrealistic fills.
Try it: https://paperinvest.io
API Docs: https://docs.paperinvest.io
Would love feedback! What broker rules or market dynamics do you wish paper trading platforms simulated better?</code></pre>