aboutsummaryrefslogtreecommitdiff
path: root/portfolio.py
Commit message (Collapse)AuthorAgeFilesLines
* Don’t close dust remaining orders before end of trade.Ismaël Bouya2018-05-011-4/+4
| | | | Fixes https://git.immae.eu/mantisbt/view.php?id=41
* Remove fixed FIXMEIsmaël Bouya2018-04-221-3/+0
|
* Fix ccxt switching currency codesIsmaël Bouya2018-04-091-0/+4
|
* Acceptance test preparationIsmaël Bouya2018-04-071-3/+3
| | | | | | Save some headers for http requests Wait for all threads after the end of main Simplify library imports for mocking
* Improve fix of vanishing ordersIsmaël Bouya2018-04-031-28/+22
|
* Fix vanishing ordersIsmaël Bouya2018-04-021-0/+19
| | | | Fixes https://git.immae.eu/mantisbt/view.php?id=60
* Handle invalid noncesIsmaël Bouya2018-03-251-2/+10
|
* Handle timeouts for order creationsIsmaël Bouya2018-03-251-8/+71
|
* Merge branch 'night_fixes' into devIsmaël Bouya2018-03-121-13/+13
|\
| * Fix mark finished order not alway called when necessaryIsmaël Bouya2018-03-121-5/+4
| |
| * Fix fullfiled not having correct currenciesIsmaël Bouya2018-03-121-8/+9
| |
* | Move Portfolio to store and cleanup methodsIsmaël Bouya2018-03-081-78/+1
|/ | | | Make report stored in portfolio class instead of market
* Fixes after night runv0.5Ismaël Bouya2018-03-041-6/+20
| | | | | | | | - 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
* Add close trades actionIsmaël Bouya2018-03-041-0/+8
|
* Various fixes/improvementsv0.3Ismaël Bouya2018-03-011-47/+52
| | | | | - Use pending gains to compute the move_balance - Use ttl_cache for tickers
* Add make_order and get_user_market helpersIsmaël Bouya2018-02-271-4/+5
| | | | | Fix cancel order not actually fetching the order Fetch only necessary order to poloniex
* Retry running order when available balance is insufficientIsmaël Bouya2018-02-261-3/+16
|
* Fix dust amount errorIsmaël Bouya2018-02-261-2/+2
|
* Refactor the store to be more conciliant with multiple marketsv0.2Ismaël Bouya2018-02-251-43/+38
|
* Add report store to store messages and logsIsmaël Bouya2018-02-241-22/+85
|
* Add mouvement representationIsmaël Bouya2018-02-191-0/+16
|
* 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
|