arbret/backend/services
counterweight 41e158376c
Step 6: Update exchange creation logic to use new pricing config
- Update ExchangeService to load pricing config from database
- Update validate_eur_amount to use direction-specific limits
- Update apply_premium_for_direction to calculate base + extra premium
- Update create_exchange to use new premium calculation
- Add tests for premium calculation (small trade extra, large trade base only, direction-specific)
- Update existing tests to account for new premium calculation
2025-12-26 20:24:13 +01:00
..
__init__.py refactors 2025-12-25 00:59:57 +01:00
auth.py Complete repository delegation - remove remaining direct db operations 2025-12-25 18:57:55 +01:00
availability.py Complete repository delegation - remove remaining direct db operations 2025-12-25 18:57:55 +01:00
exchange.py Step 6: Update exchange creation logic to use new pricing config 2025-12-26 20:24:13 +01:00
invite.py Delegate invite persistence to InviteRepository 2025-12-25 18:52:52 +01:00
price.py Delegate price persistence to PriceRepository 2025-12-25 18:51:24 +01:00
pricing.py Step 3: Add admin API endpoints for pricing configuration 2025-12-26 20:13:24 +01:00
profile.py Delegate user persistence to UserRepository 2025-12-25 18:52:23 +01:00