-
8621f2b791
fix: timezone bugs
main
Justin Oros
2026-03-26 09:48:17 -07:00
-
2e63d5cca6
add time-based fallback for clock.is_open DST edge case
Justin Oros
2026-03-12 13:11:06 -07:00
-
578d2981d8
fix ISO8601 format parsing with utc=True
Justin Oros
2026-03-12 13:09:32 -07:00
-
3a2a4ef6de
fix mixed timezone comparison in log_indicators
Justin Oros
2026-03-12 11:55:30 -07:00
-
a6ae001e69
Fix engine sizing, OR-FVG gap units, and runtime errors
Justin Oros
2026-03-09 11:52:40 -07:00
-
278c44aa9f
fix: apply chunked sleep to top-of-loop market closed handler to prevent missing market open
Justin Oros
2026-02-26 08:32:18 -07:00
-
5ab7c35773
feat: improve status line readability with Hourly and Trades labels
Justin Oros
2026-02-25 13:03:31 -07:00
-
d4b40e4a1c
fix: pass start date to get_recent_bars for correct daily bar retrieval
Justin Oros
2026-02-25 12:35:09 -07:00
-
b1ef7ffa8a
fix: replace single overnight sleep with chunked loop to prevent missing market open
Justin Oros
2026-02-25 11:45:21 -07:00
-
e6076bdcc9
fix: use local time for debug print timestamps instead of Eastern
Justin Oros
2026-02-23 08:36:58 -07:00
-
66f39f0690
fix: add 30s timeout to get_bars to prevent silent hang on 200-bar fetch
Justin Oros
2026-02-23 08:33:13 -07:00
-
fc7669a7f5
fix: replace debug_print with debug_logger in PDTTracker methods
Justin Oros
2026-02-19 12:09:05 -07:00
-
21adf4eec1
fix: remove duplicate logging import in place_order
Justin Oros
2026-02-19 11:32:41 -07:00
-
28e86358b2
fix: add requests.exceptions to backoff retries and default PDT_RULE to true
Justin Oros
2026-02-19 11:28:53 -07:00
-
d5154d0bcc
Update README.md
Justin Oros
2026-02-19 11:24:12 -07:00
-
a91e220eb8
fix: move PDT startup log after class definitions to prevent NameError
Justin Oros
2026-02-19 11:21:14 -07:00
-
0f6c563177
feat: add PDT rolling 5-day window tracking with CSV persistence
Justin Oros
2026-02-19 11:19:11 -07:00
-
357bcaee67
fix: retry on requests ConnectionError in AlpacaClient
Justin Oros
2026-02-19 09:05:02 -07:00
-
b4a645cf01
refactor: replace position check error with friendly 'No open positions found' message
Justin Oros
2026-02-12 09:42:21 -07:00
-
e21bf3c8dd
Add 200 SMA filter implementation and optimize config for 15Min bars
Justin Oros
2026-02-09 14:39:38 -07:00
-
bf3d13d47f
Update config to 15Min bars with optimized parameters for better signal quality
Justin Oros
2026-02-09 14:26:26 -07:00
-
bcf591c940
Remove duplicate regime detection to improve performance
Justin Oros
2026-02-09 14:11:26 -07:00
-
6411a469ea
Format sleep duration in debug log to use human-readable format
Justin Oros
2026-02-09 14:06:01 -07:00
-
d0a9dda698
Fix datetime comparison in log_daily_performance by converting to date objects
Justin Oros
2026-02-09 14:03:11 -07:00
-
b4d44d144e
Fix datetime comparison in log_daily_performance by converting to date objects
Justin Oros
2026-02-09 14:02:40 -07:00
-
41ecc4cb4c
Fix datetime parsing in log_trade to handle ISO8601 format
Justin Oros
2026-02-09 12:28:19 -07:00
-
7ef9e0c648
Fix UnboundLocalError by initializing regime variable before use
Justin Oros
2026-02-09 11:49:02 -07:00
-
ab1f98d7ad
Fix datetime parsing in log_missed_signal to handle ISO8601 format
Justin Oros
2026-02-09 11:46:57 -07:00
-
94a9a02962
Fix missing return statement in calculate_position_size
Justin Oros
2026-02-09 08:55:38 -07:00
-
30847aa237
Update config.json
Justin Oros
2026-02-08 13:36:18 -07:00
-
fe28c82379
feat(strategy): add Opening Range + Fair Value Gap (OR-FVG) execution logic
Justin Oros
2026-02-08 13:23:21 -07:00
-
23c6c5dafd
Fix ISO8601 timestamp parsing in indicator logging
Justin Oros
2026-02-05 11:04:33 -07:00
-
f9815012e9
Update DEFAULT_CONFIG to paper margin optimized settings
Justin Oros
2026-02-05 10:53:03 -07:00
-
b99a4e7689
Fix undefined qty variable in target 2 trade logging
Justin Oros
2026-02-05 10:40:53 -07:00
-
a84725c575
Fix missing trade logging for profit targets, max hold time, and EOD closes
Justin Oros
2026-02-05 10:37:13 -07:00
-
d90ad33961
Add CSV tracking for trades, signals, performance, and indicators
Justin Oros
2026-02-05 10:13:46 -07:00
-
4d73fa3549
Rename session CSV file
Justin Oros
2026-02-05 10:05:11 -07:00
-
d07a62a3df
Add session state persistence to CSV for restart recovery
Justin Oros
2026-02-05 10:02:59 -07:00
-
c0ba4f25b6
Improve volume filter debug message with actual values and threshold
Justin Oros
2026-02-05 09:55:09 -07:00
-
a35e6b6d8e
Remove redundant loss.replace, add constants for magic numbers, document threading safety
Justin Oros
2026-02-04 16:54:13 -07:00
-
6c878c4e63
Fix duplicate return, add defensive null checks for bid/ask prices, and protect PnL calculation
Justin Oros
2026-02-04 16:47:03 -07:00
-
e615473d22
Replace print statements with proper logging for consistent log file output
Justin Oros
2026-02-04 16:36:16 -07:00
-
e210dc7a4a
Use returned position_type from signal generator instead of recalculating
Justin Oros
2026-02-04 16:33:57 -07:00
-
55f3e59d0b
Fix scale out for small positions and add exception handling to order placement
Justin Oros
2026-02-04 16:31:50 -07:00
-
122f719b8d
Add error logging for failed order execution to diagnose rejections
Justin Oros
2026-02-04 16:27:14 -07:00
-
3bad01c2f3
Add MACD confirmation requirement to range regime signals for consistency
Justin Oros
2026-02-04 16:21:40 -07:00
-
3d435a1357
Set strict quality filters for 1 trade/day strategy - sniper mode
Justin Oros
2026-02-04 16:19:46 -07:00
-
b64dc50ece
Remove redundant short selling block and restore sell execution logic
Justin Oros
2026-02-04 16:05:13 -07:00
-
2d3ff2a58f
Add smart account detection - auto-block short selling for live accounts under 25k
Justin Oros
2026-02-04 16:02:50 -07:00
-
f3827914df
Fix variable definition order - move cash account config vars before API validation
Justin Oros
2026-02-04 15:50:48 -07:00
-
b29b74587a
Add cash account support with T+1 settlement tracking and disable short selling by default
Justin Oros
2026-02-04 15:47:43 -07:00
-
1ce7da39fc
Update README.md
Justin Oros
2026-02-04 14:33:15 -07:00
-
c720ff389d
Fix SSL retry logic, add order timeouts, validate position sizes, fix array bounds in crossover detection
Justin Oros
2026-02-04 14:25:27 -07:00
-
8c90ff4328
Fixed division by zero vulnerabilities and improved API return value handling
Justin Oros
2026-02-04 12:37:37 -07:00
-
028cdf2933
Fixed ATR division by zero, replaced hard-coded sleep with dynamic market open calculation, removed unused dependencies
Justin Oros
2026-02-04 10:56:06 -07:00
-
8fe44df1c0
Replace function attributes with PositionState class and remove delattr calls
Justin Oros
2026-02-04 10:43:19 -07:00
-
0a943754a3
Fixed signal logic bugs: changed if to elif for mutually exclusive signals, added RSI_SELL_MIN condition, fixed crossover boundary checks
Justin Oros
2026-02-04 10:22:07 -07:00
-
efdbcd0899
Fix critical bugs: RSI division by zero, API price validation, order timeout, and crossover race condition
Justin Oros
2026-02-04 10:06:38 -07:00
-
91d9ed2e64
Ignore Python cache files
Justin Oros
2026-02-02 15:07:05 -07:00
-
5a004bc1a6
Add .env to gitignore
Justin Oros
2026-02-02 15:05:48 -07:00
-
3b4c9f9819
Update DEFAULT_CONFIG to production-ready settings
Justin Oros
2026-02-02 14:53:02 -07:00
-
4dbd7b31ff
Update DEFAULT_CONFIG to production-ready settings
Justin Oros
2026-02-02 14:50:48 -07:00
-
bf4a0f3ca3
Reset crossover flags at start of each trading session
Justin Oros
2026-02-02 14:40:31 -07:00
-
4ccc101fbf
Add crossover tracking, fix entry_time recovery, add RSI_SELL_MAX config, and improve scale-out persistence
Justin Oros
2026-02-02 14:34:15 -07:00
-
ff87d818bb
Fix RSI sell logic, add crossover detection, improve VIX fallback, and add position recovery on restart
Justin Oros
2026-02-02 14:25:33 -07:00
-
0939238934
Update README.md
Justin Oros
2026-02-02 14:13:54 -07:00
-
9522bd0488
Add configurable RSI thresholds for buy/sell signals
Justin Oros
2026-02-02 14:10:23 -07:00
-
91bafcc40d
Fix check_multiframe_confluence function signature conflict
Justin Oros
2026-02-02 08:21:12 -07:00
-
b91697c76d
Add .gitignore
Justin Oros
2026-01-30 16:39:02 -07:00
-
0f71a0bec1
Remove .DS_Store
Justin Oros
2026-01-30 16:38:38 -07:00
-
1abace4606
Update README.md
Justin Oros
2026-01-30 16:36:12 -07:00
-
a1f3a0cb0f
Alpaca Trader
Justin Oros
2026-01-30 16:31:18 -07:00
-
be9f5fb95b
Alpaca Trader
Justin Oros
2026-01-30 16:30:43 -07:00