- 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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| helpers.py | ||
| test_auth.py | ||
| test_availability.py | ||
| test_exchange.py | ||
| test_invites.py | ||
| test_permissions.py | ||
| test_price_history.py | ||
| test_pricing_api.py | ||
| test_pricing_repository.py | ||
| test_profile.py | ||
| test_validation.py | ||