Files
nofx/trader
shinchan-zhai c7dff02a75 feat(alpaca): comprehensive integration tests with mock server
- 22 test cases covering full Trader interface
- Mock Alpaca server simulating account, positions, orders, clock
- Tests: GetBalance, GetPositions, OpenLong, CloseLong, SetStopLoss,
  SetTakeProfit, CancelStopOrders, CancelAllOrders, IsMarketOpen,
  FormatQuantity, GetOrderStatus, GetClosedPnL, full trade flow
- Edge cases: fractional shares, no-position close, short not supported
- Live test skeleton (skipped without env vars)
- Cache behavior verification
2026-03-23 20:48:12 +08:00
..
2026-01-19 12:07:14 +08:00