Tags: edrocket8/pycryptobot
Tags
Merge pull request whittlem#437 from whittlem/beta Merge beta into main
Merge pull request whittlem#436 from whittlem/beta Updated authAPI to return an empty JSON response on recvWindow
Merge pull request whittlem#435 from whittlem/beta updated version and changelog
Refactor text boxes in logs (whittlem#404) * Refactor text boxes in logs * Update CHANGELOG.md and README.md * Move banner generation to separate method Co-authored-by: Norbert Varzariu <loomsen@gmail.com> Co-authored-by: Michael Whittle <whittlem@users.noreply.github.com>
Fixes - recv_window and replace tabs in configs (whittlem#415) * set receive window to user supplied one if it was set on cli Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * bump versions Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * normalize json (replace tabs with spaces) Signed-off-by: Norbert Varzariu <loomsen@gmail.com>
Feature/binance v2 (whittlem#406) * started migrating way from python-binance * converted getAccounts and getAccount * added getFees * finished getOrders * updated getOrders and added getTime * added getTicker * added getHistoricalData * added getMarketInfoFilters, getTradeFee, and marketSell * all functions migrated and tested (need to test binance US) * refactoring and testing * updated version and change log * updated requirements.txt * fixed getAccounts() error to not expect an argument * moved convert_time into AuthAPIBase * removed references to 'client' in AppState * skipping some unit tests which will need to be rewritten, fixed bug * getOrders improvement * improved getHistoricalData startTime * increased default recvWindow from 5000 to 6000 * adding mocked binance unit tests * updated requirements.txt * fixing unit tests and allowing bot to run test mode without api keys * Draft - adapt unit tests (whittlem#407) * add contributing.md, clean up trailing whitespaces, add coinbase sandbox URLs to allowed domains Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * fix markdown lint in readme, add coinbase sandbox URLs to models Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * sort imports and remove trailing whitespace * add unit test for instantiating binance api Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * re-integrate unit tests Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * add sandbox URLs to coinbase parser, fix formatting in coinbase exchange, add unit tests for coinbase Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * add account test, but skip it Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * fixed startTime and raise exception on incorrect granularity * updated api passphrase validation for coinbase * fixed price in getOrders * made recvWindow configurable with --recvWindow val * refactored using black formatter * Feature/binance v2 merge (whittlem#414) * remove boilerplate from tests Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * strip out configuration to its own class to make pycryptobot class more readable Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * further refactoring Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * cleaning up files and rewriting logic to be more readable * fix missing imports Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * add yaml to requirements Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * cleanup imports and move getVersionFromReadme to base class Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * add config.yaml as an example Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * move parse_args method into config class and add recv_window changes Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * refactor, strip out more logic to reduce complexity Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * format file with black Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * added some error handling * fix get_version function and add unit test for it Signed-off-by: Norbert Varzariu <loomsen@gmail.com> * initialize self.config with empty dict Signed-off-by: Norbert Varzariu <loomsen@gmail.com> Co-authored-by: Norbert Varzariu <loomsen@gmail.com>
PreviousNext