mirror of
https://github.com/lukewilson2002/autotrader.git
synced 2025-08-03 05:29:32 +00:00
Added Oanda module
This commit is contained in:
@@ -21,6 +21,8 @@ var (
|
||||
ErrPositionClosed = errors.New("position closed")
|
||||
)
|
||||
|
||||
var _ Broker = (*TestBroker)(nil) // Compile-time interface check.
|
||||
|
||||
func Backtest(trader *Trader) {
|
||||
switch broker := trader.Broker.(type) {
|
||||
case *TestBroker:
|
||||
|
Reference in New Issue
Block a user