Skip to content

Commit

Permalink
[REFACTOR]
Browse files Browse the repository at this point in the history
  • Loading branch information
VladKochetov007 committed Jan 7, 2024
1 parent 216048e commit 81e3f20
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/debug/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,7 @@ func debugGrid() {
bot := gridBot()
equity := backtest(bot)

history := equity.Deposit()
balanceHistory := equity.PortfolioHistory()
balanceHistory[data.NewCurrency("Total", "")] = history

err := dtr.WriteMap(balanceHistory, "testdata/BBEquity.csv")
err := dtr.WriteMap(equity.PortfolioHistory(), "testdata/BBEquity.csv")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 81e3f20

Please sign in to comment.