Commit Graph

162 Commits

Author SHA1 Message Date
Javier Rodríguez Chatruc 1bda04d30b Updated example notebooks 2020-03-25 10:54:25 -03:00
Camilo Plata 7586609a08 Merge pull request #68 from lambdaclass/ci-notebook-test
Ci notebook test
2020-03-20 14:58:57 -03:00
Juan Pablo Amoroso 5ca3b05402 Moved lint step to before_script. 2020-03-20 14:23:49 -03:00
Juan Pablo Amoroso a6c8a3f58d Removed obsolete test file. 2020-03-20 14:18:04 -03:00
Juan Pablo Amoroso 99d39c5bdc make install now installs dev dependencies aswell. 2020-03-20 13:51:44 -03:00
Juan Pablo Amoroso 0e55dd51e5 Refactored pyfolio notebook 2020-03-20 13:35:30 -03:00
Juan Pablo Amoroso 3d1575b2da Added travis config. 2020-03-20 13:33:21 -03:00
Juan Pablo Amoroso 501e64cc39 Updated Makefile. Removed old targets. 2020-03-20 13:33:08 -03:00
Juan Pablo Amoroso 32548530ca Updated Pipfile. Removed unused dependencies. 2020-03-20 13:28:03 -03:00
Juan Pablo Amoroso 82b6fc6b7b Flake8 changes:
- Ignore error W504 (break line on operator)
	- Ignore unused import in stats.py (used for pandas query)
2020-03-20 13:24:47 -03:00
Javier Rodríguez Chatruc 8adde5bac6 Merge pull request #65 from lambdaclass/sell-options-fix
sell_some_options fixed
2020-03-20 12:36:15 -03:00
Javier Rodríguez Chatruc 3124aa8a56 Changed variable names to improve readability 2020-03-20 12:33:52 -03:00
Camilo1704 636b807be1 fixed exit cost in trade_log when exiting options 2020-03-20 11:58:23 -03:00
Juan Pablo Amoroso 2789c206c9 Sample backtest notebook. 2020-03-20 11:20:45 -03:00
Juan Pablo Amoroso 5cc0aabf7c Removed unused imports 2020-03-20 11:20:45 -03:00
Juan Pablo Amoroso a743a506b4 Merge pull request #66 from lambdaclass/better-example
merged_bt_example now has a more thorough explanation of the backtester
2020-03-20 11:18:41 -03:00
Camilo1704 5b87075c22 order and costs in trade_log modified in sell_some_options exits 2020-03-19 18:48:41 -03:00
Javier Rodríguez Chatruc 2ec5cff32e merged_bt_example now has a more thorough explanation of the backtester 2020-03-19 16:23:10 -03:00
Juan Pablo Amoroso 63e307b0fa Merge pull request #58 from lambdaclass/global-test
Added global test
2020-03-19 16:14:43 -03:00
Juan Pablo Amoroso 0f1637fac0 Renamed test_data.csv to test_data_options.csv 2020-03-19 16:11:53 -03:00
Juan Pablo Amoroso e0272074da Added only options test 2020-03-19 15:11:23 -03:00
Camilo1704 87d34df284 sell_some_options fixed 2020-03-19 14:39:58 -03:00
Juan Pablo Amoroso ff70bf12eb Add constant price sma test 2020-03-19 14:36:11 -03:00
Juan Pablo Amoroso 87ada8c0cb Merge pull request #64 from lambdaclass/fill-na-balance
update_balance now fills nan values with zero when computing options …
2020-03-19 13:43:30 -03:00
Javier Rodríguez Chatruc eba533c912 Merge pull request #62 from lambdaclass/remove-asserts
Removed unnecessary asserts
2020-03-19 12:27:43 -03:00
Javier Rodríguez Chatruc 4fdcbbfd63 update_balance now fills nan values with zero when computing options balance 2020-03-19 12:10:41 -03:00
Juan Pablo Amoroso 5eccfcad37 Removed unnecessary asserts 2020-03-19 11:52:24 -03:00
Javier Rodríguez Chatruc 0b73e73b6a Merge pull request #59 from lambdaclass/pyfolio_example
Pyfolio example
2020-03-18 18:06:39 -03:00
Javier Rodríguez Chatruc 565931c062 Added tests for buy_stocks, current_stock_capital and sma 2020-03-18 18:04:06 -03:00
Juan Pablo Amoroso bb0a294c86 Added only cash test 2020-03-18 17:48:40 -03:00
Juan Pablo Amoroso 045e15e078 Merge branch 'master' into global-test 2020-03-18 17:46:48 -03:00
Javier Rodríguez Chatruc 0de9bf630e Merge pull request #61 from lambdaclass/rebalance-fix
Changed the way self.current_cash is updated
2020-03-18 17:42:20 -03:00
Juan Pablo Amoroso c6c7b16dcd Changed the way self.current_cash is updated 2020-03-18 16:42:46 -03:00
Javier Rodríguez Chatruc 43acbfef49 Merge pull request #60 from lambdaclass/fix-sma-calculation
fixed sma calculation
2020-03-18 14:57:16 -03:00
Camilo1704 fc5dc145b4 fixed sma calculation 2020-03-18 14:54:49 -03:00
Juan Pablo Amoroso d8011a4418 Added Ivy portfolio data 2020-03-18 12:04:20 -03:00
Juan Pablo Amoroso 13557f9a54 Added only stocks test 2020-03-17 19:16:39 -03:00
Camilo1704 3bc8ad30df merged_bt_example with pyfolio plots 2020-03-17 17:34:59 -03:00
Juan Pablo Amoroso de05f055ae Merge branch 'master' into global-test 2020-03-17 17:21:51 -03:00
Javier Rodríguez Chatruc c50025a21c Merge pull request #56 from lambdaclass/drop-entries-with-0-qty
Drop entries with 0 qty
2020-03-17 17:07:36 -03:00
Camilo1704 349253a410 pyfolio graphs added 2020-03-17 16:42:07 -03:00
Javier Rodríguez Chatruc be56c8e1a0 Merge pull request #57 from lambdaclass/rebalancing_days
rebalancing days calculation with days in data
2020-03-17 16:02:53 -03:00
Javier Rodríguez Chatruc 55356ff56d Added global test 2020-03-17 15:40:23 -03:00
Camilo1704 fff5455894 rebalancing days calculation with days in data 2020-03-17 15:01:16 -03:00
Javier Rodríguez Chatruc 36e46d3187 Various fixes 2020-03-17 10:51:36 -03:00
Juan Pablo Amoroso 3698358124 Flake8 now ignores star import errors 2020-03-16 19:40:20 -03:00
Juan Pablo Amoroso 21ee9134d2 Drop entry signals with qty == 0. _buy_stocks and _sell_some_options now update self.current_cash 2020-03-16 19:39:48 -03:00
Juan Pablo Amoroso cb00fc528b Merge pull request #54 from lambdaclass/dependabot/pip/bleach-3.1.1
Bump bleach from 3.1.0 to 3.1.1
2020-03-16 17:41:23 -03:00
dependabot[bot] 2ac9a38615 Merge pull request #44 from catalinasy/master
Adding data for testing
2020-03-16 20:32:21 +00:00
Juan Pablo Amoroso 8f0c2a7523 Moved 2legs example to backtester/examples 2020-03-16 17:17:25 -03:00