140 Commits
Author SHA1 Message Date
wassname 16394d5c3e fixed 2022-07-08 22:43:37 +08:00
wassname 6764b03b04 make it a package, get it working with my data 2022-07-04 13:19:01 +08:00
Camilo1704 aa266c0638 fixed sell 1 entry case and test added 2020-03-26 15:50:28 -03:00
Juan Pablo AmorosoandGitHub 1f63da74b2 Merge pull request #72 from lambdaclass/notebook-update
Updated example notebooks
2020-03-25 17:33:55 -03:00
Camilo1704 a726063637 data settings moved to conftest 2020-03-25 17:28:23 -03:00
Camilo1704 feb426876e linter error fixed 2020-03-25 16:43:41 -03:00
Camilo1704 899b0ff340 test branch cleaned up 2020-03-25 16:10:05 -03:00
Camilo1704 f063ffc983 sign of qty changed in trade_log 2020-03-25 14:04:23 -03:00
Camilo1704 53af4c0464 cash calculations modified 2020-03-25 13:11:45 -03:00
Javier Rodríguez Chatruc 1bda04d30b Updated example notebooks 2020-03-25 10:54:25 -03:00
Javier Rodríguez Chatruc dfefb79198 Fixed a bug caused by using integer position instead of index in sell_some_options 2020-03-20 18:54:15 -03:00
Juan Pablo AmorosoandGitHub f504e1b5ed Merge pull request #70 from lambdaclass/organize-repo
Organized repo
2020-03-20 17:05:07 -03:00
Juan Pablo AmorosoandGitHub 61bcce5a67 Merge pull request #69 from lambdaclass/disaggregated-stock-qty
Disaggregated stock qty
2020-03-20 16:40:00 -03:00
Javier Rodríguez Chatruc 97c0ebe6cc Removed old run_benchmark file 2020-03-20 16:38:08 -03:00
Javier Rodríguez Chatruc de0fed75cd Modified test_backtest to keep only the balance columns used for the test 2020-03-20 15:04:58 -03:00
Camilo PlataandGitHub 7586609a08 Merge pull request #68 from lambdaclass/ci-notebook-test
Ci notebook test
2020-03-20 14:58:57 -03:00
Juan Pablo Amoroso a6c8a3f58d Removed obsolete test file. 2020-03-20 14:18:04 -03:00
Juan Pablo Amoroso 0e55dd51e5 Refactored pyfolio notebook 2020-03-20 13:35:30 -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 ChatrucandGitHub 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
Javier Rodríguez Chatruc 0569f34e1f Balance now has stock qty disaggregated by symbol 2020-03-20 11:53:14 -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 AmorosoandGitHub 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 AmorosoandGitHub 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 AmorosoandGitHub 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 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 ChatrucandGitHub 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 ChatrucandGitHub 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
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 ChatrucandGitHub 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 55356ff56d Added global test 2020-03-17 15:40:23 -03:00