auto-trading/tests/test_metrics.py