Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议也支持下模拟盘 #238

Closed
opcache opened this issue Feb 11, 2025 · 1 comment
Closed

建议也支持下模拟盘 #238

opcache opened this issue Feb 11, 2025 · 1 comment

Comments

@opcache
Copy link

opcache commented Feb 11, 2025

建议也支持下模拟盘
想练习下

@nntaoli
Copy link
Member

nntaoli commented Feb 19, 2025

  1. 你需要切换到模拟盘创建api。
  2. 在你的主程序启动前加入这行代码,添加一个全局http header
	DefaultHttpCli.SetHeaders("x-simulated-trading", "1") //

@nntaoli nntaoli closed this as completed Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants