aboutsummaryrefslogtreecommitdiff
path: root/portfolio.py
Commit message (Collapse)AuthorAgeFilesLines
* Add print_balances helperIsmaël Bouya2018-02-121-0/+2
|
* Add method to wait for portfolio updateIsmaël Bouya2018-02-121-7/+16
|
* Add missing amount operationsIsmaël Bouya2018-02-121-0/+8
|
* Fix some errors in api responsesIsmaël Bouya2018-02-121-8/+20
| | | | Handle some exceptions
* Add missing testsIsmaël Bouya2018-02-111-27/+28
|
* Add Makefile and test coverageIsmaël Bouya2018-02-111-41/+57
| | | | | | Fix order preparation and add tests for the step Separate tests between acceptance and unit Add more tests
* Separate store and add helperIsmaël Bouya2018-02-101-278/+31
|
* Fix Amount.__sub__ not working with 0Ismaël Bouya2018-02-091-1/+3
| | | | Add more tests
* Implement order followingIsmaël Bouya2018-02-061-55/+175
| | | | | | | | - 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
* WIP: handle more balance informationIsmaël Bouya2018-02-041-72/+171
|
* Work in progress to use shortsIsmaël Bouya2018-02-031-53/+79
|
* Add first steps for margin tradingIsmaël Bouya2018-01-261-6/+7
|
* Return correct values and fix isinstance useIsmaël Bouya2018-01-251-5/+5
|
* Remove unnecessary dependency on ccxtIsmaël Bouya2018-01-251-3/+3
|
* Add comments to explain the trade -> order conversionIsmaël Bouya2018-01-241-4/+32
|
* Handle error when placing ordersIsmaël Bouya2018-01-221-3/+7
|
* Fix selling price for inverted marketsIsmaël Bouya2018-01-221-7/+16
|
* Add method to print ordersIsmaël Bouya2018-01-221-5/+19
|
* Fix bid/ask to sell/buy in ordersIsmaël Bouya2018-01-221-2/+2
|
* Allow dispatch asset to have custom repartitionIsmaël Bouya2018-01-221-4/+13
|
* Add debug mode parameter rather than global flagIsmaël Bouya2018-01-221-5/+2
|
* Add some tests and cleanup exchange processIsmaël Bouya2018-01-211-30/+61
| | | | | | | | | - 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
* Store currency conversion rate and use it in trade computationsIsmaël Bouya2018-01-211-14/+14
|
* Add compute value lambdas for currency conversionIsmaël Bouya2018-01-211-12/+39
|
* Remove unused decoratorIsmaël Bouya2018-01-201-6/+0
|
* Change integer to decimalsIsmaël Bouya2018-01-201-28/+22
|
* Don't autoprepare the orders when creating tradeIsmaël Bouya2018-01-181-6/+4
|
* Move ticker to Trade class and add testsIsmaël Bouya2018-01-181-47/+49
|
* Add Balance class testsIsmaël Bouya2018-01-181-7/+4
|
* Write some tests for Portfolio classIsmaël Bouya2018-01-171-2/+8
|
* Complete refactor of the script to use classesjl/devIsmaël Bouya2018-01-161-0/+430