Skip to content

emptist/setushare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version npm download

warning:

This doesn't seem to work correctly since it will return repeatedly on multiple querying.

Query tushare.org through python-shell. Also see example.

Tushare = require './setushare'
ts = new Tushare()
#console.log ts
ts.data {func: 'get_hist_data',args: "'300388',ktype='W'"}, (res)->
  console.log(res)

ts.data {func: 'get_hist_data',args: "'159915',ktype='M'"}, (res)->
  console.log(res)

ts.data {func: 'get_h_data',args: "'300388'"}, (res)->
  console.log(res)
  # use this to end conversatio
ts.done()

About

security data from tushare.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published