]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git/log
perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git
6 years agoStop when portfolio worker is down and data is not fetched
Ismaël Bouya [Mon, 27 Aug 2018 09:21:18 +0000 (11:21 +0200)] 
Stop when portfolio worker is down and data is not fetched

6 years agoUse market options for fetch balances
Ismaël Bouya [Mon, 27 Aug 2018 09:19:55 +0000 (11:19 +0200)] 
Use market options for fetch balances

6 years agoAdd increasing delay to fetching cryptoportfolio
Ismaël Bouya [Sun, 26 Aug 2018 20:22:03 +0000 (22:22 +0200)] 
Add increasing delay to fetching cryptoportfolio

6 years agoRefactor a bit the options passing process
Ismaël Bouya [Sat, 4 Aug 2018 18:33:16 +0000 (20:33 +0200)] 
Refactor a bit the options passing process

6 years agoAdd liquidity option for cryptoportfolio users
Ismaël Bouya [Sat, 4 Aug 2018 18:12:33 +0000 (20:12 +0200)] 
Add liquidity option for cryptoportfolio users

6 years agoEat several positions in the order book after some time spent
Ismaël Bouya [Mon, 30 Jul 2018 22:36:05 +0000 (00:36 +0200)] 
Eat several positions in the order book after some time spent

6 years agoFix orders disappearing but finally not
Ismaël Bouya [Mon, 30 Jul 2018 21:18:00 +0000 (23:18 +0200)] 
Fix orders disappearing but finally not

6 years agoSome fixes
Ismaël Bouya [Wed, 25 Jul 2018 18:29:08 +0000 (20:29 +0200)] 
Some fixes

- DB cursor expects an enumerable
- None should be returned when repartition is not available

6 years agoFix available balance when buying
Ismaël Bouya [Sun, 10 Jun 2018 22:38:37 +0000 (00:38 +0200)] 
Fix available balance when buying

6 years agoFix orders marked as dust even when closed
Ismaël Bouya [Mon, 14 May 2018 06:22:01 +0000 (08:22 +0200)] 
Fix orders marked as dust even when closed

6 years agoFetch only enabled market
Ismaël Bouya [Thu, 10 May 2018 14:33:25 +0000 (16:33 +0200)] 
Fetch only enabled market

6 years agoCheck before processing that credentials are valid
Ismaël Bouya [Tue, 8 May 2018 19:00:27 +0000 (21:00 +0200)] 
Check before processing that credentials are valid

6 years agoAdd USDT rate to balances
Ismaël Bouya [Tue, 8 May 2018 18:33:47 +0000 (20:33 +0200)] 
Add USDT rate to balances

6 years agoRun prepared orders after disappeared order
Ismaël Bouya [Mon, 7 May 2018 10:50:43 +0000 (12:50 +0200)] 
Run prepared orders after disappeared order

6 years agoFix infinite recursion during fetch
Ismaël Bouya [Sun, 6 May 2018 21:04:40 +0000 (23:04 +0200)] 
Fix infinite recursion during fetch

6 years agoAdd checkpoints when fetching balance
Ismaël Bouya [Sat, 5 May 2018 12:41:03 +0000 (14:41 +0200)] 
Add checkpoints when fetching balance

6 years agoMerge branch 'refactor_db' into dev
Ismaël Bouya [Wed, 2 May 2018 22:23:26 +0000 (00:23 +0200)] 
Merge branch 'refactor_db' into dev

6 years agoInclude current portfolio currencies when printing balances
Ismaël Bouya [Wed, 2 May 2018 22:22:33 +0000 (00:22 +0200)] 
Include current portfolio currencies when printing balances

6 years agoStore last cryptoportfolio repartition to redis
Ismaël Bouya [Tue, 1 May 2018 23:50:46 +0000 (01:50 +0200)] 
Store last cryptoportfolio repartition to redis

6 years agoRefactor databases access
Ismaël Bouya [Tue, 1 May 2018 23:39:35 +0000 (01:39 +0200)] 
Refactor databases access

6 years agoStore tickers in balance log
Ismaël Bouya [Tue, 1 May 2018 15:24:40 +0000 (17:24 +0200)] 
Store tickers in balance log

6 years agoActually close closed dust remaining at the end
Ismaël Bouya [Tue, 1 May 2018 14:13:46 +0000 (16:13 +0200)] 
Actually close closed dust remaining at the end

6 years agoDon’t close dust remaining orders before end of trade.
Ismaël Bouya [Tue, 1 May 2018 14:02:00 +0000 (16:02 +0200)] 
Don’t close dust remaining orders before end of trade.

Fixes https://git.immae.eu/mantisbt/view.php?id=41

6 years agoFix price imprecision due to floats
Ismaël Bouya [Mon, 30 Apr 2018 12:21:41 +0000 (14:21 +0200)] 
Fix price imprecision due to floats

6 years agoRemove fixed FIXME
Ismaël Bouya [Sun, 22 Apr 2018 12:04:39 +0000 (14:04 +0200)] 
Remove fixed FIXME

6 years agoFixes https://git.immae.eu/mantisbt/view.php?id=44
Ismaël Bouya [Sun, 22 Apr 2018 11:50:15 +0000 (13:50 +0200)] 
Fixes https://git.immae.eu/mantisbt/view.php?id=44

6 years agoChange psycopg package to binary
Ismaël Bouya [Sat, 21 Apr 2018 10:13:47 +0000 (12:13 +0200)] 
Change psycopg package to binary

6 years agoAdd latest date to redis
Ismaël Bouya [Sat, 21 Apr 2018 08:44:16 +0000 (10:44 +0200)] 
Add latest date to redis

6 years agoMerge branch 'redis' into dev
Ismaël Bouya [Fri, 20 Apr 2018 22:42:47 +0000 (00:42 +0200)] 
Merge branch 'redis' into dev

6 years agoStore some information to redis
Ismaël Bouya [Fri, 20 Apr 2018 18:20:02 +0000 (20:20 +0200)] 
Store some information to redis

6 years agoUse generic parser for market processing
Ismaël Bouya [Fri, 20 Apr 2018 17:48:28 +0000 (19:48 +0200)] 
Use generic parser for market processing

6 years agoMerge branch 'test_cleanup' into dev
Ismaël Bouya [Fri, 20 Apr 2018 18:18:51 +0000 (20:18 +0200)] 
Merge branch 'test_cleanup' into dev

6 years agoTemporarily remove acceptance tests
Ismaël Bouya [Fri, 20 Apr 2018 18:10:50 +0000 (20:10 +0200)] 
Temporarily remove acceptance tests

6 years agoAdd test actions to makefile
Ismaël Bouya [Fri, 20 Apr 2018 18:09:45 +0000 (20:09 +0200)] 
Add test actions to makefile

6 years agoMove acceptance tests to common directory
Ismaël Bouya [Fri, 20 Apr 2018 18:09:13 +0000 (20:09 +0200)] 
Move acceptance tests to common directory

6 years agoStore duration in http requests
Ismaël Bouya [Fri, 20 Apr 2018 18:07:03 +0000 (20:07 +0200)] 
Store duration in http requests

6 years agoFix ccxt switching currency codes
Ismaël Bouya [Mon, 9 Apr 2018 09:52:45 +0000 (11:52 +0200)] 
Fix ccxt switching currency codes

6 years agoMerge branch 'acceptance_tests' into dev
Ismaël Bouya [Sun, 8 Apr 2018 23:43:36 +0000 (01:43 +0200)] 
Merge branch 'acceptance_tests' into dev

6 years agoAdd some acceptance tests
Ismaël Bouya [Sun, 8 Apr 2018 17:06:55 +0000 (19:06 +0200)] 
Add some acceptance tests

6 years agoMerge branch 'test_cleanup' into dev
Ismaël Bouya [Sat, 7 Apr 2018 22:53:34 +0000 (00:53 +0200)] 
Merge branch 'test_cleanup' into dev

6 years agoAdd acceptance tests
Ismaël Bouya [Sat, 7 Apr 2018 21:23:10 +0000 (23:23 +0200)] 
Add acceptance tests

Fixes https://git.immae.eu/mantisbt/view.php?id=42
(new scenario files still need to be added to improve coverage)

6 years agoAcceptance test preparation
Ismaël Bouya [Sat, 7 Apr 2018 15:39:29 +0000 (17:39 +0200)] 
Acceptance test preparation

Save some headers for http requests
Wait for all threads after the end of main
Simplify library imports for mocking

6 years agoMove tests to separate files
Ismaël Bouya [Fri, 6 Apr 2018 19:08:06 +0000 (21:08 +0200)] 
Move tests to separate files

6 years agoFix console helper
Ismaël Bouya [Thu, 5 Apr 2018 10:14:49 +0000 (12:14 +0200)] 
Fix console helper

6 years agoMerge branch 'config_parsing' into dev
Ismaël Bouya [Thu, 5 Apr 2018 07:57:45 +0000 (09:57 +0200)] 
Merge branch 'config_parsing' into dev

6 years agoRefactor config parsing
Ismaël Bouya [Thu, 5 Apr 2018 07:56:51 +0000 (09:56 +0200)] 
Refactor config parsing

6 years agoMerge branch 'logs' into dev
Ismaël Bouya [Wed, 4 Apr 2018 11:02:43 +0000 (13:02 +0200)] 
Merge branch 'logs' into dev

6 years agoLog http requests exceptions
Ismaël Bouya [Wed, 4 Apr 2018 10:02:50 +0000 (12:02 +0200)] 
Log http requests exceptions

6 years agoAdd logging at market instance creation
Ismaël Bouya [Wed, 4 Apr 2018 10:02:13 +0000 (12:02 +0200)] 
Add logging at market instance creation

6 years agoMerge branch 'retry_vanished' into dev
Ismaël Bouya [Tue, 3 Apr 2018 18:43:40 +0000 (20:43 +0200)] 
Merge branch 'retry_vanished' into dev

6 years agoImprove fix of vanishing orders
Ismaël Bouya [Tue, 3 Apr 2018 18:43:05 +0000 (20:43 +0200)] 
Improve fix of vanishing orders

6 years agoMerge branch 'retry_vanished' into dev
Ismaël Bouya [Mon, 2 Apr 2018 17:19:49 +0000 (19:19 +0200)] 
Merge branch 'retry_vanished' into dev

6 years agoFix vanishing orders
Ismaël Bouya [Mon, 2 Apr 2018 17:18:49 +0000 (19:18 +0200)] 
Fix vanishing orders

Fixes https://git.immae.eu/mantisbt/view.php?id=60

6 years agoSmall refactor for `super` use
Ismaël Bouya [Mon, 2 Apr 2018 11:40:14 +0000 (13:40 +0200)] 
Small refactor for `super` use

6 years agoAdd conditional install with virtual env
Ismaël Bouya [Tue, 27 Mar 2018 19:30:41 +0000 (21:30 +0200)] 
Add conditional install with virtual env

6 years agoMerge branch 'invalid_nonce' into dev
Ismaël Bouya [Sun, 25 Mar 2018 21:57:57 +0000 (23:57 +0200)] 
Merge branch 'invalid_nonce' into dev

Fixes https://git.immae.eu/mantisbt/view.php?id=59

6 years agoHandle invalid nonces
Ismaël Bouya [Sun, 25 Mar 2018 21:57:39 +0000 (23:57 +0200)] 
Handle invalid nonces

6 years agoMerge branch 'timeouts' into dev
Ismaël Bouya [Sun, 25 Mar 2018 20:01:59 +0000 (22:01 +0200)] 
Merge branch 'timeouts' into dev

Fixes https://git.immae.eu/mantisbt/view.php?id=58

6 years agoHandle timeouts for order creations
Ismaël Bouya [Sun, 25 Mar 2018 17:09:05 +0000 (19:09 +0200)] 
Handle timeouts for order creations

6 years agoHandle timeouts for move_balances
Ismaël Bouya [Sun, 25 Mar 2018 17:08:48 +0000 (19:08 +0200)] 
Handle timeouts for move_balances

6 years agoMerge branch 'retry_timeout' into dev
Ismaël Bouya [Sat, 24 Mar 2018 15:07:11 +0000 (16:07 +0100)] 
Merge branch 'retry_timeout' into dev

6 years agoMove request wrapper to ccxt
Ismaël Bouya [Sat, 24 Mar 2018 14:18:56 +0000 (15:18 +0100)] 
Move request wrapper to ccxt

6 years agoAdd retry facility for api call timeouts
Ismaël Bouya [Sat, 24 Mar 2018 14:18:31 +0000 (15:18 +0100)] 
Add retry facility for api call timeouts

Fixes https://git.immae.eu/mantisbt/view.php?id=40

6 years agoFetch market_config for import report task
Ismaël Bouya [Sat, 24 Mar 2018 10:15:33 +0000 (11:15 +0100)] 
Fetch market_config for import report task

6 years agoMerge branch 'store_reports' into dev
Ismaël Bouya [Sat, 24 Mar 2018 09:41:28 +0000 (10:41 +0100)] 
Merge branch 'store_reports' into dev

Add reports storing in database.

See https://git.immae.eu/mantisbt/view.php?id=56 for the expected schema

6 years agoCleanup market from_config
Ismaël Bouya [Fri, 23 Mar 2018 22:33:36 +0000 (23:33 +0100)] 
Cleanup market from_config

6 years agoAdd task to migrate reports to database
Ismaël Bouya [Sat, 24 Mar 2018 09:27:39 +0000 (10:27 +0100)] 
Add task to migrate reports to database

6 years agoStore reports to database
Ismaël Bouya [Fri, 23 Mar 2018 00:11:34 +0000 (01:11 +0100)] 
Store reports to database

Fixes https://git.immae.eu/mantisbt/view.php?id=57

6 years agoAdd quiet flag for running
Ismaël Bouya [Thu, 22 Mar 2018 20:35:00 +0000 (21:35 +0100)] 
Add quiet flag for running

6 years agoMerge branch 'immae/store_logs' into dev
Ismaël Bouya [Mon, 12 Mar 2018 01:54:54 +0000 (02:54 +0100)] 
Merge branch 'immae/store_logs' into dev

6 years agoStore printed logs
Ismaël Bouya [Mon, 12 Mar 2018 01:54:13 +0000 (02:54 +0100)] 
Store printed logs

6 years agoMerge branch 'night_fixes' into dev
Ismaël Bouya [Mon, 12 Mar 2018 01:10:08 +0000 (02:10 +0100)] 
Merge branch 'night_fixes' into dev

6 years agoFix mark finished order not alway called when necessary
Ismaël Bouya [Mon, 12 Mar 2018 00:55:46 +0000 (01:55 +0100)] 
Fix mark finished order not alway called when necessary

6 years agoFix fullfiled not having correct currencies
Ismaël Bouya [Mon, 12 Mar 2018 00:55:17 +0000 (01:55 +0100)] 
Fix fullfiled not having correct currencies

6 years agoMerge branch 'immae/parallelize' into dev
Ismaël Bouya [Fri, 9 Mar 2018 18:18:02 +0000 (19:18 +0100)] 
Merge branch 'immae/parallelize' into dev

Fixes https://git.immae.eu/mantisbt/view.php?id=51

6 years agoAdd parallelization
Ismaël Bouya [Fri, 9 Mar 2018 14:37:10 +0000 (15:37 +0100)] 
Add parallelization

6 years agoAdd fake scenario
Ismaël Bouya [Thu, 8 Mar 2018 01:37:53 +0000 (02:37 +0100)] 
Add fake scenario

6 years agoAdd merge method for report
Ismaël Bouya [Thu, 8 Mar 2018 01:15:50 +0000 (02:15 +0100)] 
Add merge method for report

6 years agoMove Portfolio to store and cleanup methods
Ismaël Bouya [Thu, 8 Mar 2018 01:04:50 +0000 (02:04 +0100)] 
Move Portfolio to store and cleanup methods

Make report stored in portfolio class instead of market

6 years agoMove market processing to single method
Ismaël Bouya [Thu, 8 Mar 2018 00:18:21 +0000 (01:18 +0100)] 
Move market processing to single method

6 years agoComplete tests for the ccxt wrapper
Ismaël Bouya [Tue, 6 Mar 2018 00:59:59 +0000 (01:59 +0100)] 
Complete tests for the ccxt wrapper

6 years agoMove helper methods to their due places
Ismaël Bouya [Mon, 5 Mar 2018 23:21:52 +0000 (00:21 +0100)] 
Move helper methods to their due places

6 years agoFixes after night run v0.5
Ismaël Bouya [Sun, 4 Mar 2018 22:35:16 +0000 (23:35 +0100)] 
Fixes after night run

- Currency pair doesn’t work when fetching orders
- Store error in main to report.
- Cancel orders when closing trade
- Print closed status of trade to repr
- Don’t try to cancel not cancellable orders

6 years agoFix test for pretty-printing json
Ismaël Bouya [Sun, 4 Mar 2018 21:18:57 +0000 (22:18 +0100)] 
Fix test for pretty-printing json

6 years agoAdd build_release in Makefile
Ismaël Bouya [Sun, 4 Mar 2018 18:35:12 +0000 (19:35 +0100)] 
Add build_release in Makefile

6 years agoPretty-print the json output
Ismaël Bouya [Sun, 4 Mar 2018 18:19:45 +0000 (19:19 +0100)] 
Pretty-print the json output

6 years agoWrite tests for Processor class v0.4
Ismaël Bouya [Sun, 4 Mar 2018 13:49:54 +0000 (14:49 +0100)] 
Write tests for Processor class

Make default repartition less sensitive to BTC
Automatic signature for methods

Fixes https://git.immae.eu/mantisbt/view.php?id=49 https://git.immae.eu/mantisbt/view.php?id=39

6 years agoAdd close trades action
Ismaël Bouya [Sun, 4 Mar 2018 11:59:57 +0000 (12:59 +0100)] 
Add close trades action

6 years agoAdd processors
Ismaël Bouya [Fri, 2 Mar 2018 12:59:25 +0000 (13:59 +0100)] 
Add processors

Fixes https://git.immae.eu/mantisbt/view.php?id=45

6 years agoRemove useless update_trades method
Ismaël Bouya [Thu, 1 Mar 2018 18:08:56 +0000 (19:08 +0100)] 
Remove useless update_trades method

Add arguments to log_stage

6 years agoAdd processors
Ismaël Bouya [Thu, 1 Mar 2018 16:39:48 +0000 (17:39 +0100)] 
Add processors

6 years agoDynamically use process methods
Ismaël Bouya [Thu, 1 Mar 2018 14:23:27 +0000 (15:23 +0100)] 
Dynamically use process methods

6 years agoFix ticker fetcher
Ismaël Bouya [Thu, 1 Mar 2018 14:22:58 +0000 (15:22 +0100)] 
Fix ticker fetcher

6 years agoAdd tests for ccxt_wrapper
Ismaël Bouya [Thu, 1 Mar 2018 13:12:03 +0000 (14:12 +0100)] 
Add tests for ccxt_wrapper

6 years agoVarious fixes/improvements v0.3
Ismaël Bouya [Thu, 1 Mar 2018 12:14:41 +0000 (13:14 +0100)] 
Various fixes/improvements

- Use pending gains to compute the move_balance
- Use ttl_cache for tickers

6 years agoAdd make_order and get_user_market helpers
Ismaël Bouya [Mon, 26 Feb 2018 23:58:52 +0000 (00:58 +0100)] 
Add make_order and get_user_market helpers

Fix cancel order not actually fetching the order
Fetch only necessary order to poloniex

6 years agoRetry running order when available balance is insufficient
Ismaël Bouya [Mon, 26 Feb 2018 13:18:34 +0000 (14:18 +0100)] 
Retry running order when available balance is insufficient

6 years agoFix dust amount error
Ismaël Bouya [Mon, 26 Feb 2018 11:07:07 +0000 (12:07 +0100)] 
Fix dust amount error

6 years agoAdd user and action for main actions
Ismaël Bouya [Mon, 26 Feb 2018 10:13:38 +0000 (11:13 +0100)] 
Add user and action for main actions

6 years agoFix not serializable object
Ismaël Bouya [Mon, 26 Feb 2018 08:02:54 +0000 (09:02 +0100)] 
Fix not serializable object