jyunfan / poloniex-data Goto Github PK
View Code? Open in Web Editor NEWGet poloniex historical data
Get poloniex historical data
running this in a terminal, I get the following failure:
Traceback (most recent call last):
File "getdata.py", line 60, in
main()
File "getdata.py", line 56, in main
get_data(pair)
File "getdata.py", line 39, in get_data
df.to_csv(outf, index=False, cols=COLUMNS)
TypeError: to_csv() got an unexpected keyword argument 'cols'
Running in VS Code I get more:
Traceback (most recent call last):
File "/home/boyd/dev/poloniex-data/getdata.py", line 60, in
main()
File "/home/boyd/dev/poloniex-data/getdata.py", line 56, in main
get_data(pair)
File "/home/boyd/dev/poloniex-data/getdata.py", line 25, in get_data
df = pd.read_json(url, convert_dates=False)
File "/home/boyd/.local/lib/python3.5/site-packages/pandas/io/json/json.py", line 322, in read_json
encoding=encoding)
File "/home/boyd/.local/lib/python3.5/site-packages/pandas/io/common.py", line 191, in get_filepath_or_buffer
reader = BytesIO(req.read())
File "/usr/lib/python3.5/http/client.py", line 455, in read
return self._readall_chunked()
File "/usr/lib/python3.5/http/client.py", line 565, in _readall_chunked
raise IncompleteRead(b''.join(value))
http.client.IncompleteRead: IncompleteRead(363903 bytes read)
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.