waditu / tushare.js Goto Github PK
View Code? Open in Web Editor NEWnodejs port of tushare
nodejs port of tushare
为什么不更新了呢?
Related issue: ladjs/superagent#313 (comment)
We know 1.8 is buggy — we've already fixed those bugs in later versions. Especially 2.2 and later removed many double callback problems. Please upgrade.
Is this repo still active? Thanks
const option = {
The code above should be const options rather than option.
`var option={
code: '300382',
ktype: 'day',
start: '2016-11-20',
end: '2016-11-22'
}
stock.getHistory(option).then(({data})=>{
console.log(data);
console.log(data.record.length);
})`
返回的数据长度依旧是674
getHistory
中的 start 和 end 参数并没有在 priceURL 中传入。。。导致无法设置起始时间和结束时间。
如果需要我可以帮忙封装这部分接口,汇率,黄金数据爬自和讯网,比特币主要是okcoin和火币网的数据吧
主要是觉得js项目如果做大了 修改/debug 起来挺麻烦的
如果你们觉得可以/感兴趣 我来帮忙升级
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.