Comments (5)
哦,我的环境是Ubuntu 16.04 Desktop, Python 3.5,从远程桌面SSH进系统
from dhydra.
@ftong2010 谢谢关注。说实话这东西还很不完善。不过你提出的这一点呢,我最出的设计是os.getcwd()(运行环境当前目录)下面是自己需要建立一个Worker文件夹的,用来放置自己写的Worker,这个目录结构确实与./dHydra/目录的结构有相似性。在搜索的时候我是自己设置了这样的逻辑:先检测运行当前目录下的Worker文件夹内是否有这个Worker,没有的话再去dHydra目录下寻找,因为dHydra目录下的可能是我写的(可以理解为)“内置的”Worker,而开发者二次开发的时候只需要在当前目录下建立Worker,而不需要去修改dHydra/中的内容
from dhydra.
你这个逻辑我在代码里一点也没看出来啊。。。。。。。。。。。。。。。。。。。。
麻烦问一下你这个from ctp.future中的ctp具体是哪一个包?我印象里CTP没有官方的Python包啊
from dhydra.
@ftong2010 前面那个逻辑你可以在dHydra.core.Functions里看到(就是实例化Worker和Vendor的函数)
ctp.future,你参考这里
https://github.com/lovelylain/pyctp/
按照他的README可以完成编译的。但是封装得不够好,我也在继续封装,现在(交易部分)大致能用,CTP行情是很容易调用的。pyctp里也有example
from dhydra.
好的,谢谢啦,我再研究一下
from dhydra.
Related Issues (5)
- level2字段说明书 HOT 1
- ctp.futures
- emmm,没有维护了吗,还是有新的项目了 HOT 1
- 实时抓取全部股票的逐笔交易数据,是否会被新浪屏蔽? HOT 5
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 dhydra.