Commit Graph

29 Commits

Author SHA1 Message Date
0c92789d26 Use the correct exit slippage when updating spread details 2024-05-22 07:38:53 -07:00
3926429751 Remove unused metrics collection code 2024-03-26 05:35:39 -07:00
663d4e13a3 Trivial formatting change 2024-03-25 13:21:53 -07:00
4532e2499f Utilize configurable entry and exit slippages provided by the client via the option spread strategies 2024-03-10 05:26:11 -07:00
37c3ebe1fa Incorporate more realistic slippage into entries and exits 2024-03-07 12:58:59 -08:00
2ea84e8dcd Correctly update the closing price of each spread 2024-03-04 15:59:06 -08:00
16db358eaf Trivial indentation fix 2024-03-04 11:05:51 -08:00
311a0595f8 Remove logging basic configuration as 1) the log level defaults to warnings already and 2) this was causing issues downstream when importing backtesting logic in other packages as subsequent calls to set the basic configuration are ignored 2024-02-16 07:44:20 -08:00
8379184b62 Remove unused import 2024-02-15 06:09:49 -08:00
4e250ef57f Ensure that provided dates are set to midnight in order to include all the data for the requested dates 2024-02-15 06:03:50 -08:00
517e70b471 Remove unused import 2024-02-13 08:11:01 -08:00
bb8ab9f556 Remove unusued code for tracking total wins, win rate, and average premium received 2024-02-07 05:58:18 -08:00
e02e831288 Add the ability to filter out days to trade by providing a list of backtest filters 2024-02-06 07:50:28 -08:00
31c60d10e3 Move backtest result dataclass to its own file 2024-02-06 05:33:17 -08:00
8670609517 Rename credit / delta targeting utilities 2024-02-04 05:44:47 -08:00
2335f6798c Capitalize spread field names for the sake of consistency 2024-02-02 07:54:06 -08:00
05288fc235 Removing comments as backtest is now successful over all dates and entry times in 2018 2024-02-01 06:14:00 -08:00
527bca9682 Remove bounding information from delta targeting strategy and instead use a fixed target 2024-02-01 05:56:47 -08:00
ea46e6dd13 Refactoring credit and delta targeting strike selection in order to prevent scenarios where an infinite loop is entered and assigning a default value to the current call and put spread prices 2024-01-31 14:51:28 -08:00
c56e7bf0bf Prevent backtests over periods where the market closes early 2024-01-31 13:46:50 -08:00
f0f6e02a12 Remove unnecessary code 2024-01-30 12:37:22 -08:00
98ce824d19 Remove unnecessary depenency on plotly as plotting logic was moved to another module 2024-01-30 11:19:28 -08:00
ab3f28e1e4 Remove plotting logic and instead depend on local plotting module 2024-01-30 11:17:46 -08:00
f223238bd5 Resolve issue where backtest results were incorrect when stopping out and perform backtests in parallel using multiprocessing 2024-01-30 08:49:18 -08:00
e4bb364e11 Add TODO for sanitizing the start and end dates 2024-01-19 07:57:39 -08:00
02763460cf Refactor strategy creation to enable clients to more easily perform backtests 2024-01-17 11:37:37 -08:00
93930bfea8 Add spread information to backtest result data frame 2024-01-16 06:32:27 -08:00
1b475175c0 Update backtest result data frame to conform to table schema 2024-01-15 11:32:00 -08:00
936b32f35f Local Python module setup and configuration 2024-01-10 05:18:42 -08:00