Commit Graph

7 Commits

Author SHA1 Message Date
warproxxx 652e330424 Remove debug logging statements
Clean up debug prints that were added during troubleshooting of hyperparameter parsing issues.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 10:30:39 -07:00
warproxxx 4d206e05d8 Fix excessive order cancellation and recreation
Implement smarter order management logic to avoid constantly cancelling and recreating orders:
- Only cancel orders when price differs by >0.5 cents or size differs by >10%
- Keep existing orders if changes are minor to reduce unnecessary market activity
- Add detailed logging to show when orders are kept vs cancelled

This should resolve the issue where orders were being cancelled and recreated repeatedly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 10:28:13 -07:00
warproxxx ee24553856 Fix hyperparameter parsing for read-only mode
- Improved CSV parsing logic for hyperparameters with empty type cells
- Enhanced read-only mode sheet access with multiple URL formats and GID mapping
- Added debug logging to identify parameter type mismatches
- Fixed UnboundLocalError for max_size variable
- Fixed unused variable warnings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 10:18:29 -07:00
warproxxx dacee40482 Optimize read only mode 2025-06-22 10:15:07 -07:00
warproxxx 9b327f451e Fix a bug with max size calculation 2025-06-22 10:07:14 -07:00
warproxxx 8456697577 Implement progressive position sizing with max_size parameter
- Add max_size support to trading logic, defaulting to trade_size
- Continue quoting trade_size amounts until max_size is reached
- Implement progressive exit strategy: sell trade_size increments when at max_size
- Track both token positions for better exposure management
- Update buy conditions to use max_size instead of 0.9 * trade_size

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:38:27 -07:00
warproxxx 8e500d9437 Repo is ready 2025-03-31 12:16:51 -04:00