Commit Graph

52 Commits

Author SHA1 Message Date
zwitschi 8ceca2a7e4 feat: improve SQL query formatting and add type hints for better clarity
CI / lint-test-build (push) Failing after 53s
2026-06-04 19:53:32 +02:00
zwitschi c8e3daeb57 Refactor code for improved readability and consistency
CI / lint-test-build (push) Failing after 12s
- Consolidated multiline string formatting into single-line for SQL queries in multiple files.
- Adjusted argument formatting in function calls for better alignment and readability.
- Removed unnecessary line breaks and improved spacing in various sections of the codebase.
- Updated test cases to maintain consistency in formatting and improve clarity.
2026-06-04 19:04:30 +02:00
zwitschi 7d18bdf316 feat: add 'dist' directory to .dockerignore and .gitignore for build artifact exclusion 2026-06-04 19:04:18 +02:00
zwitschi 83f2064fa9 feat: remove obsolete wheel distribution file 2026-06-04 19:03:40 +02:00
zwitschi 7728f9a8cd feat: enhance backtesting functionality with database integration and UI updates
CI / lint-test-build (push) Failing after 1m20s
2026-06-04 18:39:17 +02:00
zwitschi a83d231d06 feat: refactor health endpoint handling and improve job ID display in backtesting 2026-06-04 17:59:41 +02:00
zwitschi 1c2558cfb3 feat: refactor fee management by removing deprecated pair fee handling and updating dashboard to display equity 2026-06-04 17:48:41 +02:00
zwitschi a0366f06ff feat: add health check endpoint and refactor templates for consistent header usage 2026-06-04 17:13:40 +02:00
zwitschi 86d1046862 feat: update documentation structure and add deployment guide 2026-06-04 15:55:07 +02:00
zwitschi 6acd6bbbc9 feat: implement backtesting job management with database integration and UI updates 2026-06-03 21:34:19 +02:00
zwitschi ff71fc5feb feat: enhance fee management with API integration and audit trail support 2026-06-03 19:27:32 +02:00
zwitschi 587c9afc3b feat: implement fee synchronization and dashboard updates for Kraken account fees 2026-06-03 18:59:39 +02:00
zwitschi 5f2f968721 feat: update .gitignore and .dockerignore to include build artifacts 2026-06-03 18:48:11 +02:00
zwitschi 87dd655f08 feat: add pair fees configuration panel and related functionality
- Introduced a new HTML template for configuring pair fees, allowing users to add, edit, and delete fees for trading pairs.
- Implemented a responsive fee table displaying existing fees with options for editing and deleting.
- Added a form for adding new fees, including fields for base asset, quote asset, market type, and fee rates.
- Removed outdated templates related to backtesting, dashboard, health, and various partials to streamline the codebase.
- Ensured the new fee configuration panel integrates seamlessly with existing endpoints and uses htmx for dynamic updates.
2026-06-03 18:43:36 +02:00
zwitschi ccca9ef62a feat: add dashboard configuration management endpoints and services for pairing and fee management 2026-06-03 18:30:31 +02:00
zwitschi 57df3a4361 remove build dir 2026-06-03 18:30:08 +02:00
zwitschi 00bd2d664d feat: implement comprehensive configuration management system with web interface and database support
CI / lint-test-build (push) Failing after 1m18s
2026-06-02 17:23:58 +02:00
zwitschi 815284289e feat: add configuration management UI for fees, pairings, and application settings 2026-06-02 16:07:30 +02:00
zwitschi 107595826a refactor: update ConfigurationService to avoid circular imports and streamline repository usage 2026-06-02 15:33:14 +02:00
zwitschi 6b5973a0bb feat: implement configuration management with database support 2026-06-02 15:11:56 +02:00
zwitschi 1b21f2443a fix: remove package template smoke check from CI workflow
CI / lint-test-build (push) Successful in 1m4s
2026-06-02 14:30:43 +02:00
zwitschi 1df4b11aef Add HTML templates for dashboard, metrics, overview, and backtesting
CI / lint-test-build (push) Failing after 1m7s
- Introduced new HTML templates for the dashboard, metrics, overview, and backtesting functionalities.
- Implemented partial templates for metrics, overview, audit, controls, and charts to enhance modularity.
- Updated the Jinja2 template resolution logic to support different deployment environments.
- Added a health check template to display the service status.
- Included a test suite to verify the template resolution logic.
- Updated `pyproject.toml` to include new HTML templates in the package data.
2026-06-02 14:16:42 +02:00
zwitschi 38e1d64437 feat: add backtesting functionality with UI and API endpoints
CI / lint-test-build (push) Successful in 2m31s
- Introduced backtesting page and fragment in the dashboard for running backtests and viewing recent reports.
- Implemented backtest run logic with configuration options including event path, starting balances, trade capital, and fee profiles.
- Added recent backtest reports storage and retrieval.
- Created a new strategy module for statistical arbitrage experiments with validation on configuration parameters.
- Updated settings to include parameters for the statistical arbitrage strategy.
- Enhanced dashboard controls to support the new strategy mode.
- Added unit tests for backtesting functionality and strategy validation.
- Updated templates for backtesting UI integration.
2026-06-02 09:28:22 +02:00
zwitschi f612c8533a feat: Add backtesting parameter sweep support and related functionality 2026-06-02 08:44:10 +02:00
zwitschi 8ef8dc801d fix: Update CI workflow to publish Docker image and document Coolify deployment process
CI / lint-test-build (push) Successful in 2m36s
2026-06-01 17:48:13 +02:00
zwitschi df55953d31 fix: Update application port from 8000 to 9090 in configuration and deployment files
CI / lint-test-build (push) Failing after 43s
2026-06-01 17:23:59 +02:00
zwitschi 5051f2de83 fix: Update Dockerfile and docker-compose.yml for dependency installation and image reference
CI / lint-test-build (push) Successful in 2m35s
2026-06-01 17:13:30 +02:00
zwitschi 2845721797 refactor: Simplify strategy mode selection logic in controls template
CI / lint-test-build (push) Successful in 54s
2026-06-01 16:56:43 +02:00
zwitschi 9e2f08d40a fix: Update pip-audit command to specify requirements file for dependency audit
CI / lint-test-build (push) Failing after 43s
2026-06-01 16:50:02 +02:00
zwitschi 778b41910a chore: Update project dependencies and restructure requirements files
CI / lint-test-build (push) Failing after 29s
2026-06-01 16:30:55 +02:00
zwitschi 065dcbda20 style: Comment out Black code formatting step in CI workflow
CI / lint-test-build (push) Failing after 24s
2026-06-01 15:46:22 +02:00
zwitschi c3c524724e fix: Correctly assign alerts_last_channel_results in dashboard controls
CI / lint-test-build (push) Failing after 13s
2026-06-01 15:45:21 +02:00
zwitschi 6c7dd0a715 refactor: Simplify variable names and improve readability in metrics and lifecycle modules
CI / lint-test-build (push) Failing after 11s
2026-06-01 15:44:17 +02:00
zwitschi 0d1f6961d6 style: Clean up code formatting for improved readability
CI / lint-test-build (push) Failing after 14s
2026-06-01 15:18:01 +02:00
zwitschi d742577484 feat: Add dashboard controls for tradable pairs and strategy configuration 2026-06-01 15:13:05 +02:00
zwitschi 7c86e838fa feat: Add deterministic replay backtesting engine and related documentation
CI / lint-test-build (push) Failing after 14s
2026-06-01 14:57:42 +02:00
zwitschi cc11082ea7 feat: Implement latency profiling and guardrails for performance monitoring
CI / lint-test-build (push) Failing after 19s
- Added synthetic latency profiler scenarios and CLI scripts for baseline generation and regression checks.
- Introduced latency baseline and threshold artifacts for CI enforcement.
- Enhanced CI workflow with latency guardrail checks.
- Updated documentation to include latency profiling commands and performance metrics.
- Added unit tests for latency guardrail evaluation.
2026-06-01 14:47:52 +02:00
zwitschi c17f41aaf8 feat: add audit events and runtime state snapshots to database
- Introduced new tables for audit events and runtime state snapshots in the database schema.
- Created data classes for AuditRecord and RuntimeStateRecord to represent the new entities.
- Implemented AuditRepository and RuntimeStateRepository for inserting and retrieving records.
- Enhanced the dashboard to include an audit trail section, displaying recent audit events.
- Added tests for the new audit repository and runtime lifecycle functionalities.
- Updated settings validation to ensure proper configuration for alerting features.
- Integrated alert notifications across various components, including execution sequencer and loss limits.
2026-06-01 14:18:12 +02:00
zwitschi b413c66ca4 feat: Refactor dashboard template to extend base layout and improve structure 2026-06-01 12:44:36 +02:00
zwitschi bbc806bcef refactor: Consolidate dashboard response handling into a single function 2026-06-01 12:39:51 +02:00
zwitschi 24f2b2ed88 feat: Add dashboard charts with interactivity and basic authentication support 2026-06-01 12:28:02 +02:00
zwitschi cde181f343 feat: Enhance dashboard with live overview panel and control features 2026-06-01 12:20:28 +02:00
zwitschi 0c232b7aee feat: Add performance metrics dashboard and metrics calculator 2026-06-01 12:06:04 +02:00
zwitschi 93f4f62d42 feat: Implement idempotency and recovery mechanisms for order execution
- Add IdempotencyKeyFactory for generating unique user references based on execution legs.
- Introduce OrderReconciler to reconcile order statuses with historical data.
- Implement PartialFillRecovery to handle partial fills by canceling orders and placing hedges.
- Create TriangularExecutionSequencer for executing triangular arbitrage strategies.
- Enhance storage with new tables for trades, orders, and PnL events.
- Develop AsyncExecutionWriter for asynchronous writing of execution records to the database.
- Add unit tests for execution persistence, sequencer behavior, fill monitoring, and idempotency checks.
- Update KrakenRestClient to ensure proper payloads for order placement and querying.
2026-06-01 11:59:13 +02:00
zwitschi 240a591a64 Add risk management features: implement KillSwitch and StopConditionsGuard; update settings and tests 2026-06-01 11:22:17 +02:00
zwitschi 45e219d103 Add risk management features: implement loss limits, trade limits, and pre-trade validation; update settings and tests 2026-06-01 11:16:37 +02:00
zwitschi 9d8a8a8a45 Add benchmark detection script and related tests; refactor settings and update project scripts 2026-06-01 11:01:53 +02:00
zwitschi a89886186f Add opportunity detection and storage functionality with async processing
- Introduced OpportunityEvent class for structured opportunity data.
- Enhanced IncrementalCycleDetector to generate opportunities based on updated pairs.
- Implemented AsyncOpportunityWriter for persisting opportunities to the database.
- Updated MarketDataFeed to handle opportunity detection and execution in both paper and live trading modes.
- Added unit tests for opportunity detection and persistence.
2026-06-01 10:59:09 +02:00
zwitschi 652b20274a Add IncrementalCycleDetector and related classes for cycle scoring
- Implement IncrementalCycleDetector for scoring based on updated market data.
- Introduce CycleScore class to encapsulate cycle scoring details.
- Update CurrencyGraph and MarketDataFeed to integrate cycle detection.
- Add unit tests for IncrementalCycleDetector functionality.
2026-06-01 10:36:35 +02:00
zwitschi 7d3071463e Implement Kraken integration with REST and WebSocket clients, add market data handling, and enhance settings configuration 2026-06-01 10:30:58 +02:00