]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git/log
perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git
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

6 years agoRefactor the store to be more conciliant with multiple markets v0.2
Ismaël Bouya [Sun, 25 Feb 2018 17:02:44 +0000 (18:02 +0100)] 
Refactor the store to be more conciliant with multiple markets

6 years agoAdd main running file and fetch information from database
Ismaël Bouya [Sat, 24 Feb 2018 22:35:40 +0000 (23:35 +0100)] 
Add main running file and fetch information from database

6 years agoAdd requirement file v0.1
Ismaël Bouya [Sat, 24 Feb 2018 22:11:46 +0000 (23:11 +0100)] 
Add requirement file

6 years agoAdd tags to balance log
Ismaël Bouya [Sat, 24 Feb 2018 21:12:29 +0000 (22:12 +0100)] 
Add tags to balance log

6 years agoAdd report store to store messages and logs
Ismaël Bouya [Sat, 24 Feb 2018 18:53:58 +0000 (19:53 +0100)] 
Add report store to store messages and logs

6 years agoAdd mouvement representation
Ismaël Bouya [Mon, 19 Feb 2018 17:17:06 +0000 (18:17 +0100)] 
Add mouvement representation

6 years agoAdd liquidity to helper methods
Ismaël Bouya [Mon, 19 Feb 2018 17:16:43 +0000 (18:16 +0100)] 
Add liquidity to helper methods

6 years agoAllow dispatch assets to receive liquidity
Ismaël Bouya [Mon, 19 Feb 2018 13:06:45 +0000 (14:06 +0100)] 
Allow dispatch assets to receive liquidity

6 years agoMake nonce in nanoseconds
Ismaël Bouya [Mon, 19 Feb 2018 13:04:13 +0000 (14:04 +0100)] 
Make nonce in nanoseconds

6 years agoAdd print_balances helper
Ismaël Bouya [Mon, 12 Feb 2018 13:11:02 +0000 (14:11 +0100)] 
Add print_balances helper

6 years agoAdd method to wait for portfolio update
Ismaël Bouya [Mon, 12 Feb 2018 12:57:28 +0000 (13:57 +0100)] 
Add method to wait for portfolio update

6 years agoAdd missing amount operations
Ismaël Bouya [Mon, 12 Feb 2018 01:13:17 +0000 (02:13 +0100)] 
Add missing amount operations

6 years agoFix move_balance not moving currencies absent from trades
Ismaël Bouya [Mon, 12 Feb 2018 01:08:50 +0000 (02:08 +0100)] 
Fix move_balance not moving currencies absent from trades

6 years agocreate wrapper for poloniex class
Ismaël Bouya [Mon, 12 Feb 2018 01:08:08 +0000 (02:08 +0100)] 
create wrapper for poloniex class

6 years agoMove market to ccxt_wrapper
Ismaël Bouya [Sun, 11 Feb 2018 23:52:24 +0000 (00:52 +0100)] 
Move market to ccxt_wrapper

6 years agoAdd last tests for helper
Ismaël Bouya [Sun, 11 Feb 2018 23:41:10 +0000 (00:41 +0100)] 
Add last tests for helper

6 years agoFix some errors in api responses
Ismaël Bouya [Sun, 11 Feb 2018 23:13:24 +0000 (00:13 +0100)] 
Fix some errors in api responses

Handle some exceptions

6 years agoAdd missing tests
Ismaël Bouya [Sun, 11 Feb 2018 21:40:30 +0000 (22:40 +0100)] 
Add missing tests

6 years agoAdd Makefile and test coverage
Ismaël Bouya [Sun, 11 Feb 2018 12:36:54 +0000 (13:36 +0100)] 
Add Makefile and test coverage

Fix order preparation and add tests for the step
Separate tests between acceptance and unit
Add more tests

6 years agoSeparate store and add helper
Ismaël Bouya [Sat, 10 Feb 2018 12:52:46 +0000 (13:52 +0100)] 
Separate store and add helper

6 years agoFix Amount.__sub__ not working with 0
Ismaël Bouya [Fri, 9 Feb 2018 19:00:26 +0000 (20:00 +0100)] 
Fix Amount.__sub__ not working with 0

Add more tests

6 years agoImplement order following heads/immae/dev
Ismaël Bouya [Tue, 6 Feb 2018 14:42:40 +0000 (15:42 +0100)] 
Implement order following

- Change urllib to requests and use it in tests
- Add debug mode for sensitive actions
- Follow orders when trade is running
- Fetch order from the api and store the mouvements already filled
- Start rewriting tests

6 years agoWIP: handle more balance information
Ismaël Bouya [Sun, 4 Feb 2018 18:12:50 +0000 (19:12 +0100)] 
WIP: handle more balance information

6 years agoWork in progress to use shorts
Ismaël Bouya [Sat, 3 Feb 2018 20:31:29 +0000 (21:31 +0100)] 
Work in progress to use shorts

6 years agoAdd first steps for margin trading
Ismaël Bouya [Thu, 25 Jan 2018 23:10:03 +0000 (00:10 +0100)] 
Add first steps for margin trading

6 years agoAdd test for Trade
Ismaël Bouya [Thu, 25 Jan 2018 23:07:47 +0000 (00:07 +0100)] 
Add test for Trade

6 years agoReturn correct values and fix isinstance use
Ismaël Bouya [Thu, 25 Jan 2018 22:59:39 +0000 (23:59 +0100)] 
Return correct values and fix isinstance use

6 years agoRemove unnecessary dependency on ccxt
Ismaël Bouya [Wed, 24 Jan 2018 14:50:59 +0000 (15:50 +0100)] 
Remove unnecessary dependency on ccxt

6 years agoAdd dummy README and gitignore
Ismaël Bouya [Wed, 24 Jan 2018 14:49:06 +0000 (15:49 +0100)] 
Add dummy README and gitignore

6 years agoAdd comments to explain the trade -> order conversion
Ismaël Bouya [Wed, 24 Jan 2018 07:20:21 +0000 (08:20 +0100)] 
Add comments to explain the trade -> order conversion

6 years agoHandle error when placing orders
Ismaël Bouya [Mon, 22 Jan 2018 00:07:21 +0000 (01:07 +0100)] 
Handle error when placing orders

6 years agoFix selling price for inverted markets
Ismaël Bouya [Mon, 22 Jan 2018 00:07:06 +0000 (01:07 +0100)] 
Fix selling price for inverted markets

6 years agoAdd method to print orders
Ismaël Bouya [Mon, 22 Jan 2018 00:06:39 +0000 (01:06 +0100)] 
Add method to print orders

6 years agoFix bid/ask to sell/buy in orders
Ismaël Bouya [Mon, 22 Jan 2018 00:06:13 +0000 (01:06 +0100)] 
Fix bid/ask to sell/buy in orders

6 years agoAllow dispatch asset to have custom repartition
Ismaël Bouya [Mon, 22 Jan 2018 00:04:30 +0000 (01:04 +0100)] 
Allow dispatch asset to have custom repartition

6 years agoAdd debug mode parameter rather than global flag
Ismaël Bouya [Mon, 22 Jan 2018 00:03:38 +0000 (01:03 +0100)] 
Add debug mode parameter rather than global flag

6 years agoAdd some tests and cleanup exchange process
Ismaël Bouya [Sun, 21 Jan 2018 19:46:39 +0000 (20:46 +0100)] 
Add some tests and cleanup exchange process

- Acceptance test for the whole exchange process
- Cut exchange two steps:
  - Compute the outcome of the exchange
  - Do all the sells
  - Recompute the buys according to the sells result
  - Do all the buys

6 years agoStore currency conversion rate and use it in trade computations
Ismaël Bouya [Sun, 21 Jan 2018 14:57:13 +0000 (15:57 +0100)] 
Store currency conversion rate and use it in trade computations

6 years agoAdd compute value lambdas for currency conversion
Ismaël Bouya [Sun, 21 Jan 2018 14:17:48 +0000 (15:17 +0100)] 
Add compute value lambdas for currency conversion

6 years agoRemove unused decorator
Ismaël Bouya [Sat, 20 Jan 2018 13:19:51 +0000 (14:19 +0100)] 
Remove unused decorator

6 years agoChange integer to decimals
Ismaël Bouya [Sat, 20 Jan 2018 12:44:30 +0000 (13:44 +0100)] 
Change integer to decimals

6 years agoDon't autoprepare the orders when creating trade
Ismaël Bouya [Thu, 18 Jan 2018 08:57:23 +0000 (09:57 +0100)] 
Don't autoprepare the orders when creating trade

6 years agoMove ticker to Trade class and add tests
Ismaël Bouya [Thu, 18 Jan 2018 00:43:19 +0000 (01:43 +0100)] 
Move ticker to Trade class and add tests

6 years agoAdd Balance class tests
Ismaël Bouya [Thu, 18 Jan 2018 00:00:57 +0000 (01:00 +0100)] 
Add Balance class tests

6 years agoWrite some tests for Portfolio class
Ismaël Bouya [Wed, 17 Jan 2018 01:43:28 +0000 (02:43 +0100)] 
Write some tests for Portfolio class

6 years agoComplete refactor of the script to use classes jl/dev
Ismaël Bouya [Mon, 15 Jan 2018 23:44:20 +0000 (00:44 +0100)] 
Complete refactor of the script to use classes

6 years agoInclude fees in computation
Ismaël Bouya [Sun, 14 Jan 2018 02:34:42 +0000 (03:34 +0100)] 
Include fees in computation

6 years agoAdd order processing functions
Ismaël Bouya [Sun, 14 Jan 2018 02:02:11 +0000 (03:02 +0100)] 
Add order processing functions

6 years agoAugment ticker information to show adjusted bid/ask
Ismaël Bouya [Sun, 14 Jan 2018 02:00:29 +0000 (03:00 +0100)] 
Augment ticker information to show adjusted bid/ask

6 years agoAdd split shares smart contract for Ethereum
Ismaël Bouya [Fri, 12 Jan 2018 10:04:32 +0000 (11:04 +0100)] 
Add split shares smart contract for Ethereum

6 years agoFetch assets from market heads/master
Ismaël Bouya [Thu, 11 Jan 2018 23:39:27 +0000 (00:39 +0100)] 
Fetch assets from market

6 years agoAdd log-in api key to market
Ismaël Bouya [Thu, 11 Jan 2018 23:39:09 +0000 (00:39 +0100)] 
Add log-in api key to market

6 years agoCache ticker values
Ismaël Bouya [Thu, 11 Jan 2018 22:06:12 +0000 (23:06 +0100)] 
Cache ticker values

6 years agoFirst script skeleton
Ismaël Bouya [Thu, 11 Jan 2018 01:48:38 +0000 (02:48 +0100)] 
First script skeleton