Comments (6)
感谢建议,以下简单回复
1.@Elric-pp editorconfig风格的config?你是说修改一下userconfig配置文件的风格吗?其他人提交代码是?
2.因为现在好像量化圈子还比较小,暂时没有开其他讨论组,个人精力有限管理
3.global变量只是用了几个,就是主程序,主引擎,策略引擎,事件分发器
4.接收的逻辑分离?具体是指?由于node.js是一个事件队列,策略耗时长是可能阻塞着tick排队在事件队列中,如果策略逻辑耗时长建议用tagg2等多线程库。接收tick逻辑现在是基于事件的会直接由strategyEngine推送到策略
from nodequant.
- 就是一些代码风格的配置,比如说缩进,tab 或者 空格,还有 js 的风格检测,这样子像我贡献代码的时候可以保证整个项目的代码风格保持一致
- 其实我可以开一个:D,不过这个不是特别重要啦,方便项目管理而已。
- 是的,但是模块化的方案会比较可读些
- 就是 CTP client 直接推送数据然后存到 redis 里,和策略逻辑分离开来,不然如果要怎么实现历史数据回测呢?
from nodequant.
刚放完假,懒洋洋的。关于第四点建议,redis数据库的数据是存在内存的,交易系统用它是非常好的。行情数据太多了,要用其他数据库做回测。回测想用ssdb数据库+cluster多进程+网页显示回测结果图形,各方面差不多准备好了,差点时间把它写了。@Elric-pp
from nodequant.
用eslint做代码风格的规范统一还是有必要的,另外建议升级到node 8,这样基本支持所有的es6特性了
from nodequant.
eslint风格之后会用工具统一,node 8会升级,因为现在node.js官网node 8还不是LTS版本,10月31日才是LTS版本,所以会在10月31日之后升级到node 8 @yuu2lee4
from nodequant.
建议添加 eslint , editorconfig 等代码风格 config , 比较方便其他人提交
我对这个很感兴趣,如果作者不介意,我愿意完成这项任务。
from nodequant.
Related Issues (18)
- Error: %1 is not a valid Win32 application. HOT 2
- NodeQuant.node源码有吗? HOT 5
- 大佬:我想搞事情,请收下 HOT 2
- 建议支持Docker HOT 1
- 再来几点建议 HOT 2
- CTP Client is undefine..... HOT 1
- 可以把国内的A股相关的tdx,还有IB/Robinhood,还有数字货币的CCXT都加进去,形成统一的Feed/Broker
- 出现错误来源CTP ,Msg:Market Front Response Error. ErrorId:77,ErrorMsg:undefined HOT 1
- ctp API中的埋点的方案实施 HOT 1
- MAC环境不支持吗? HOT 1
- 那些交易接口NodeQuant.node可以开源吗? HOT 10
- 再一次开源建议 HOT 4
- 订阅行情 HOT 6
- 另一款node quant框架dripjs
- 订阅行情只收到一条推送 HOT 4
- subscribeContract服务出入参不对
- 请问这个框架还有在继续更新迭代吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodequant.