Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tfukaza committed Jun 2, 2024
1 parent 8144908 commit 2971d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harvest/storage/base_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def aggregate(
self.storage_price[symbol][target] = self.storage_price[symbol][target].iloc[-self.price_storage_size :]
self.storage_lock.release()

def init_performace_data(self, equity: float, timestamp: dt.datetime) -> None:
def init_performance_data(self, equity: float, timestamp: dt.datetime) -> None:
for interval, _ in self.performance_history_intervals:
self.storage_performance[interval] = pd.DataFrame({"equity": [equity]}, index=[timestamp])

Expand Down

0 comments on commit 2971d88

Please sign in to comment.