Files
nofx/trader
shinchan-zhai 0e338558d4 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-25 01:05:54 +08:00
..
2026-01-19 12:07:14 +08:00