asmodehn / aiokraken

Asyncio Library for http://kraken.com
MIT License
2 stars 0 forks source link

Design Brainstorming... #3

Open asmodehn opened 5 years ago

asmodehn commented 5 years ago

For the record, aiokraken originates from @dantimofte Its simplicity and clarity make it understandable quickly. See : https://github.com/dantimofte/aiokraken

However it does not seem usable as is in an application context.

While we should be careful not to add too many useless features, some seem mandatory if anyone want to use this package safely, given that it is meant to be used in a sensitive environment:

Will NOT do :

asmodehn commented 4 years ago

Design update : Actually, will do:

Actually will not do just yet:

asmodehn commented 4 years ago

Package structure refined :

aiokraken/                   # main api package, structured like a domain model. Providing data indexed by asset, pairs or time.
aiokraken/rest             # rest api subpackage, handling Kraken's REST API. also contains schemas and self tests.
aiokraken/websocket  # websocket api subpackage, handling Kraken's WSS API. also contains schemas and self tests.
aiokraken/model         # subpackage holding all common models and timeindexed dataframes
aiokraken/layouts        # bokeh content to be able to visually debug our models...