arbret/backend/routes
counterweight d317939ad0
Step 5: Update exchange price endpoint to use new pricing config
- Update ExchangeConfigResponse schema with direction-specific fields
- Remove premium_percentage from PriceResponse (now in config)
- Update price endpoint to load pricing config from database
- Update frontend to use direction-specific min/max and calculate premium
- Update tests to seed pricing config
- Add logic to clamp amount when direction changes
2025-12-26 20:20:23 +01:00
..
__init__.py first implementation 2025-12-20 22:18:14 +01:00
audit.py Extract price logic to PriceService 2025-12-25 18:30:26 +01:00
auth.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
availability.py Extract availability logic to AvailabilityService 2025-12-25 18:31:13 +01:00
exchange.py Step 5: Update exchange price endpoint to use new pricing config 2025-12-26 20:20:23 +01:00
invites.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
meta.py Add bitcoin_transfer_methods to constants endpoint 2025-12-23 14:28:28 +01:00
pricing.py Step 3: Add admin API endpoints for pricing configuration 2025-12-26 20:13:24 +01:00
profile.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
test.py working 2025-12-26 19:21:34 +01:00