Implemented backtesting orders

This commit is contained in:
Luke I. Wilson
2023-05-13 09:09:11 -05:00
parent 2ca0ccc293
commit 4a12b93992
5 changed files with 177 additions and 32 deletions

View File

@@ -49,7 +49,7 @@ func main() {
// AccountID: "101-001-14983263-001",
// DemoAccount: true,
// }),
Broker: auto.NewTestBroker(nil, data, 10000, 50, 0),
Broker: auto.NewTestBroker(nil, data, 10000, 50, 0.0002, 0),
Strategy: &SMAStrategy{},
Symbol: "EUR_USD",
Frequency: "D",