Coder Social home page Coder Social logo

reuters_api's People

Contributors

kapil0187 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

maksimsigida7

reuters_api's Issues

Server and Local Settings Configuration

Create a json config file that will store the information of local and server configuration such as

  • server_ip
  • reuters_data_dir
  • hdf5_dir
  • remote_dir
  • default symbols

reuters_download script raises error when used

$ reuters_download -i CL -s 20160103 -e 20160131 -v -u ksharma -p ********
2016-06-10 20:12:56,304 - pyreuters.bin.download - INFO - Saving data to /home/kapil/dev/reuters/data
2016-06-10 20:12:56,305 - pyreuters.bin.download - INFO - Connecting to server ip 10.10.100.222
2016-06-10 20:12:56,305 - pyreuters.bin.download - INFO - Saving to /home/kapil/dev/reuters/data
2016-06-10 20:12:56,305 - pyreuters.bin.download - INFO - Start date: 2016-01-03
2016-06-10 20:12:56,305 - pyreuters.bin.download - INFO - End date: 2016-01-31
2016-06-10 20:12:56,305 - pyreuters.bin.download - INFO - Instruments ['CL']
2016-06-10 20:12:56,545 - pyreuters.bin.download - INFO - Downloading data for date 2016-01-03
Traceback (most recent call last):
  File "/home/kapil/anaconda2/bin/reuters_download", line 9, in <module>
    load_entry_point('pyreuters==0.0.9', 'console_scripts', 'reuters_download')()
  File "/home/kapil/anaconda2/lib/python2.7/site-packages/pyreuters-0.0.9-py2.7.egg/pyreuters/bin/download.py", line 136, in main
    "for {}".format(len(inst_files), inst))
ValueError: cannot switch from manual field specification to automatic field numbering

verbose argument in read_raw not working

In[1] reuters.read_raw("NGQ6", "2016-01-03", verbose=True)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-f4b69a8fd6c1> in <module>()
----> 1 reuters.read_raw("NGQ6", "2016-01-03", verbose=True)

/Applications/anaconda/lib/python2.7/site-packages/pyreuters-0.0.14-py2.7.egg/pyreuters/data.pyc in read_raw(symbol, date, path, verbose, logger)
     21                            symbol + ".csv.gz")
     22     if verbose:
---> 23         logger.info("Reading market data file - {}".format(to_read))
     24     if os.path.exists(to_read):
     25         rd = pd.read_csv(to_read, compression='gzip')

AttributeError: 'NoneType' object has no attribute 'info'

Option to add exchange

Add an option to reuters_convert command line tool to add exchange to the filename used to save hdf5 data

update README.md

The README.md needs to be updated to show and overview of the package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.