Commit Graph

35 Commits

Author SHA1 Message Date
548591c6e6 Flexibility changes in generic Long call trader 2025-04-21 09:31:31 -05:00
390b60b8d8 logging call parameters for generic trading and checking for market open 2025-03-06 14:03:45 -06:00
1f2ccc783e create generic version of the long call trading script. 2025-01-10 10:33:18 -06:00
aabc2d235e various smaller maintenance changes 2024-12-07 09:56:54 -06:00
bbb9d5dce6 Fix already done trade detecation and e-mail address in deadswitch call 2024-10-01 16:28:14 -05:00
b8b99a8a9e fix the already traded detection in the long calls auto trading 2024-09-23 14:31:50 -05:00
48f28be423 Adjust price for 1DTE and fix wrong days out value in auto-trader for SPY 2024-09-17 15:09:50 -05:00
bd682f670f change the access token to be cached 2024-09-03 11:33:37 -05:00
1b94d1d8dc Get access token before execute auto-trading. 2024-08-31 15:57:46 -05:00
e0be7c1889 Add caching to market hour and cater for (long) weekends in the 1DTE trade automation 2024-08-30 15:39:18 -05:00
51b4d17cd7 Add number of days to look back to the getting of the orders; use in 1DTE trade 2024-08-29 15:50:22 -05:00
d9c479af18 Fixing more of the log conversions to exit with errorleve even when logging as warning. Also, hardcode the Price of the 1DTE trade 2024-08-28 15:14:16 -05:00
d1e6337b08 Add NVDA 2024-08-28 11:10:00 -05:00
44dc8a4254 Fixing the problems I have introduced in my last change. 2024-08-27 12:59:41 -05:00
a6b7fc7afe Cleanup - centralize the log handling 2024-08-27 12:16:01 -05:00
d8891ec75f Introduce mnemonic account name resolution in getAccountNumbers 2024-08-26 21:44:43 -05:00
5535bdae7f - Separate getting option chains from recording
- Add checking for market open
- Remove SPX from recording
- Hopefully precent the refresh token from being
  overwritten sometimes
2024-08-26 15:18:24 -05:00
917703386d Fix account in autotrader; don't include the strike price in checking for existing order. 2024-08-22 12:22:04 -05:00
ea050ab12a Fix auto trading SPX, ends program if order doesn't exist due to grep errorlevel 2024-08-22 11:17:17 -05:00
7f3e1d74bb Fix account in autotrader; prevent writing warning to stderr. 2024-08-21 14:57:02 -05:00
ef28aa59e5 improve output format of get orders, add check if trade has been executed to auto trader scripts 2024-08-15 11:30:27 -05:00
fd90883e79 Error as warning only when falling back to stitching 2024-08-13 15:31:47 -05:00
082ffbb6e4 Change default duration of XSP recording to 400day, thats consistent with the stitching code. 2024-08-12 15:05:11 -05:00
9526e12abd make falling back to stitching the default behavior. 2024-08-09 08:46:53 -05:00
e9a651f92e - Fix SPX auto trading by differntiation of SPX and SPWX
- Prevent destruciton of the refresh token when things go wrong
- add auto trading wip code for order getting, and long trading
- add recording of 90 days out expiration tracking
- Add TSLA
2024-07-17 14:08:55 -05:00
d242be4d5e Implement stitiching as fallback, better error handling, add new symbols. 2024-06-20 09:34:11 -05:00
5f49216a88 Re-introduced stiching as a fallback for SPY too big; automatic order entry creation for SPX Put Spread works now. 2024-05-30 10:53:17 -05:00
6d2059f0e2 Adding account number program and auto-trading, but the auto-trading does not work - sent e-mail to API team. 2024-05-28 15:25:56 -05:00
499c16eb28 Improved error handling and taking special ITM/OTM handling out of XSP but just restricting to 200 days out. 2024-05-27 12:10:08 -05:00
d1103e6120 refresh token overwrite error handling to prevent destruction of valid token in file if something fails 2024-05-27 11:23:20 -05:00
2d80a407cf Adding SPX and corresponding filter options as schwab does not support huge result sets. 2024-05-17 15:17:09 -05:00
fa41d2e05e cosmetic fix in journal logging (log basename only) 2024-05-10 14:20:39 -05:00
a0f1895e6c Change the callback port to 2222 so that no sudo is needed. 2024-05-09 16:22:18 -05:00
Joe Tretter
327c993fff adding the git ignore file 2024-05-09 16:15:57 -05:00
Joe Tretter
3addfb992e Initial checkin 2024-05-09 15:29:45 -05:00