bitphage / bitshares-tradehistory-analyzer Goto Github PK
View Code? Open in Web Editor NEWScripts for exporting bitshares trading history and analyze it
License: MIT License
Scripts for exporting bitshares trading history and analyze it
License: MIT License
There is a code doubling inside download_history.py, need to make a single function for processing trades, transfer and so on. Trades aggregation should be handled separately.
I've used the nodes that come by default
nodes:
- wss://api-ru.bts.blckchnd.com
- wss://api.bts.blckchnd.com
- wss://bitshares.openledger.info/ws
wrappers:
- https://wrapper.elasticsearch.bitshares.ws/
- http://bts-es.clockwork.gr:5000/
- https://explorer.bitshares-kibana.info/
And executed
./download_history.py -d account_to_check
And got the following answer
[Errno 110] Connection timed out
Handshake status 502 Bad Gateway
Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-1036-gcp x86_64)
INFO : Depositing 1000.00000000 BTS at Bitshares (2019-07-16 10:24:42+00:00, fee: 0.00000000 )
WARNING : Depositing more money (1000.0 BTS) than was withdrawn before (0.0 BTS). Assuming the additional amount (1000.0 BTS) was bought with 0 BRIDGE.YCE.
Traceback (most recent call last):
File "./analyzer.py", line 140, in <module>
main()
File "./analyzer.py", line 93, in main
log_bags(bf)
File "./analyzer.py", line 38, in log_bags
logger.info("State of bags: \n%s\n", ' ' + '\n '.join(str(bags).split('\n')))
File "/home/pedro/.local/share/virtualenvs/analyzerBitfag-U9Q01rFi/lib/python3.6/site-packages/ccgains/bags.py", line 388, in __str__
return self.to_data_frame().to_string(
File "/home/pedro/.local/share/virtualenvs/analyzerBitfag-U9Q01rFi/lib/python3.6/site-packages/ccgains/bags.py", line 385, in to_data_frame
axis='columns')
File "/home/pedro/.local/share/virtualenvs/analyzerBitfag-U9Q01rFi/lib/python3.6/site-packages/pandas/util/_decorators.py", line 221, in wrapper
return func(*args, **kwargs)
File "/home/pedro/.local/share/virtualenvs/analyzerBitfag-U9Q01rFi/lib/python3.6/site-packages/pandas/core/generic.py", line 1329, in rename_axis
raise ValueError("Use `.rename` to alter labels " "with a mapper.")
ValueError: Use `.rename` to alter labels with a mapper.
No error on output ccgains_20190719-233032.log
If asset is not in a GS, force settlement will appear as fill_order
, but if asset is in GS, settlement result will be available inside asset_settle
(17) operation.
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.