]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git/commit
Add some tests and cleanup exchange process
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 21 Jan 2018 19:46:39 +0000 (20:46 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 21 Jan 2018 20:41:26 +0000 (21:41 +0100)
commita9950fd073198f3c9dc938fd731d97c9821a3845
treec613cdeb603e186c702f1dc4679ad6d0d9f5a7d0
parentc2644ba8db6e3890458af6a244aa3217e2ac4797
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
portfolio.py
test.py