Commit Graph

73 Commits

Author SHA1 Message Date
Matthias 4013701bdb allow wallet update to be skipped if the value is fresh enough.
Value is NOT configurable, having this wrong can result in bans on the
exchange.
2020-01-15 06:42:53 +01:00
Matthias f487dac047 FIx bug in dry-run wallets causing balances to stay there after trades
are sold
2019-12-24 06:27:11 +01:00
Matthias ce845ab092 Improve docstring for dry-run wallet method 2019-12-15 11:03:40 +01:00
Matthias 56e13c8919 Enhance documentation for dry-run wallet 2019-12-15 10:55:15 +01:00
Matthias 5a5741878c Improve dry-run calculations 2019-12-15 10:26:56 +01:00
Matthias f0bbc75038 Combine dry_run wallet into original Wallets class 2019-12-15 09:48:35 +01:00
Matthias fda8f7e305 Introuce WalletDry - supporting dry-run wallets 2019-12-15 09:38:18 +01:00
Matthias 50350a09cd use wallets instead of doing a direct call to /balance 2019-11-24 19:41:51 +01:00
hroff-1902 849d694c27 Don't inherit from object 2019-09-12 04:39:52 +03:00
hroff-1902 4df44d8b32 wallets cleanup 2019-03-01 01:26:29 +03:00
Matthias 460900ddd7 Remove unused and duplicate datastructure 2018-12-29 09:01:58 +01:00
misagh e9305b6592 position size fixed 2018-11-28 15:36:32 +01:00
Pan Long 16eec078d7
Use dot to access attribute in NamedTuple
This should fix the crash in #1359
2018-11-26 09:18:29 +08:00
misagh 29347a6931 adding get_free to wallet 2018-11-24 16:37:28 +01:00
misagh a9f04609d3 tests fixed 2018-11-23 10:17:10 +01:00
misagh 4b86b2b7e3 Happy flake8 ! 2018-11-21 23:36:48 +01:00
misagh 3a2134db24 removed Optional 2018-11-21 23:35:44 +01:00
misagh 4d75e9059c None ripped off for optional as wallet must have exchange and currency 2018-11-21 21:05:20 +01:00
misagh b129750f4d adding “optional” in str 2018-11-21 19:58:28 +01:00
misagh 88f61581d9 1) NamedTuple refactored 2) Missing data handled 2018-11-21 19:47:51 +01:00
misagh c033378048 change dict type to Any 2018-11-18 14:57:03 +01:00
misagh 9c549f4513 removing unnecessary private function 2018-11-18 14:39:31 +01:00
misagh 608ce98e1a moving wallets to root 2018-11-18 14:38:31 +01:00