Commit Graph

50 Commits

Author SHA1 Message Date
577aa73ec3 Refactor order submission to utilize new IBKR client 2024-02-19 14:29:49 -08:00
6426fd2f63 Update stop loss order submission based on recent changes to the IBKR client 2024-02-19 12:51:39 -08:00
e91cbb696b Simplify IBKR client creation by removing optional host and port input parameters 2024-02-19 08:53:18 -08:00
cfdfb1421f Retrieve strategy name from trade results table 2024-02-17 05:56:42 -08:00
aedbedc40f Another trivial formatting change 2024-02-14 12:35:38 -08:00
a72d8aa0ab Trivial formatting change 2024-02-14 12:34:34 -08:00
c05bed04b9 Pass the entry time to the iron condor trade processes 2024-02-14 08:29:37 -08:00
786364a8af Filter trading days according to the current volatility regime 2024-02-13 14:30:22 -08:00
9b6405dc30 Add example of options chain usage 2024-02-13 12:19:30 -08:00
97c5bd982f Trivial change to utilize existing expiration variable when retrieving the options chain 2024-02-13 10:51:42 -08:00
9ce9067e5d Provide the entry time to the iron condor entry script in order to be explicit about the expected entry time of each trade 2024-02-13 10:50:50 -08:00
b5168bd92d Select short strikes based on target credit 2024-02-13 08:49:02 -08:00
a0f4b62f65 Implement a string representation of the options chain 2024-02-13 08:36:20 -08:00
7119af4e34 Retrieve entry times from environment variables 2024-02-13 08:13:51 -08:00
afd33102bd Add helper utility for retrieving and interacting with an options chain 2024-02-08 03:22:31 -08:00
632294a89a Convert option type to a enum 2024-02-08 03:22:07 -08:00
02cfa6d7cc Convert datetime back to date when looking up the profit from the backtest table 2024-02-03 06:04:58 -08:00
e64357bcd4 Update trade report following changes made to backtest and trade tables 2024-02-03 06:00:07 -08:00
3aed5afc94 Strip seconds, microseconds, and time zone information from the trade entry time when inserting records into the table in order to facilitate joins against the backtest table where this information is not present 2024-02-03 05:40:06 -08:00
8edef67e2b Remove entry time from strategy name when inserting records into the trades table 2024-02-03 05:18:36 -08:00
d285a33dd0 Utilize the new utility method in options-backtesting for retrieving the best performing entry times 2024-02-02 10:48:05 -08:00
fe99cae735 Add log files to .gitignore so they don't accidentally get committed 2024-02-01 05:03:23 -08:00
768cc6de53 Initial commit of daily trade report script 2024-01-31 09:49:14 -08:00
730ff1079f Sort entry times 2024-01-29 08:44:37 -08:00
7dcdbcfa75 Update requirements 2024-01-29 08:42:12 -08:00
1cc6d303f5 Retrieve options chain from TradeStation as opposed to IBKR 2024-01-29 08:41:17 -08:00
cd473ded8a Prevent scheduling trades for entry time that have already elapsed 2024-01-29 08:39:58 -08:00
5766a49164 Insert records into trades table once orders have been filled 2024-01-25 07:18:53 -08:00
32744f80cc Determine entry times by comparing recent backtests 2024-01-19 13:19:13 -08:00
21bf4c92f5 Monitor the price of each spread and perform stop outs when necessary 2023-12-15 14:48:47 -08:00
1cc0c7867f Verify connection to IBKR before scheduling trade entry jobs 2023-12-13 06:39:58 -08:00
0fe6181e7c Add iron condor trade scheduler script 2023-12-07 08:12:50 -08:00
b13e5d1525 Add logging to iron condor entry script 2023-12-07 08:04:57 -08:00
bb8ad7c23e Rename iron condor scripts 2023-12-01 12:47:46 -08:00
80a782aefc Remove usage of double quotes 2023-11-30 09:31:48 -08:00
9a316b85dc Add example script for entering an iron condor on IBKR 2023-11-28 13:27:42 -08:00
2a30a791bf Add pycache directory to gitignore 2023-11-28 13:24:43 -08:00
599b219870 Re-order dependencies 2023-11-28 13:23:13 -08:00
ec4067deb6 Submit stop limit order following successful fill 2023-09-22 08:06:26 -07:00
034769ffc0 Determine the fill price of each spread 2023-09-20 11:48:26 -07:00
bd4ec63a0f Expect some additional slippage in order to achieve quicker fills 2023-09-19 08:56:39 -07:00
4c6c24bfd9 Add logic for placing the appropriate orders to enter the iron condor 2023-09-19 08:52:03 -07:00
a52c0c1e22 Add option type enum 2023-09-18 11:30:22 -07:00
8bc4b296a8 Identify which strikes to use for entering an iron condor based on a target delta 2023-09-18 09:15:51 -07:00
13b7919377 Fix formatting to use only single quotes 2023-09-18 09:14:39 -07:00
190a6f9a73 Add Tastytrade client to Iron Condor example 2023-09-15 08:45:19 -07:00
d3ddfc50e5 Add .gitignore 2023-09-15 08:40:40 -07:00
fb7bca281d Add requirements.txt 2023-09-15 08:40:16 -07:00
95fd184f99 Add requirements.txt 2023-09-15 07:18:13 -07:00
c166a5560c Work in progress Iron Condor automation script 2023-09-15 07:17:44 -07:00