-
Notifications
You must be signed in to change notification settings - Fork 31
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
市价买撮合 #1
Comments
假如对于一个 btc_usdt 的币对, 当前卖盘盘口的有 价格 5000 量2(btc),价格 6000 量 1.5(btc) 两个深度 |
当然是取委托量和买一两者中的最小值。 |
但是 市价买委托的是 额 不是量 |
大佬 可不可以问下 针对交易所资金清算问题 |
好像是,这个代码里用的啥来着?不过也不重要,这个项目本身也不是实用项目,完全是我用来炫技的。实用的时候我写过一个交易引擎,根本不需要什么分布式之类的东西,一个关系型数据库加一个工作脚本足够了,也就小几百行代码。 |
市价买撮合的时候这里计算 成交量是不是有问题?
The text was updated successfully, but these errors were encountered: