From b22ecd145b2be48c68c265eebdbba3e376d867b4 Mon Sep 17 00:00:00 2001 From: Chia-hung Tai Date: Fri, 7 Oct 2022 22:32:07 +0800 Subject: [PATCH] Fix typo (#1308) --- qlib/backtest/decision.py | 2 +- qlib/utils/index_data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qlib/backtest/decision.py b/qlib/backtest/decision.py index 042b73fea..4cef6062c 100644 --- a/qlib/backtest/decision.py +++ b/qlib/backtest/decision.py @@ -301,7 +301,7 @@ class TradeRangeByTime(TradeRange): class BaseTradeDecision(Generic[DecisionType]): """ - Trade decisions ara made by strategy and executed by executor + Trade decisions are made by strategy and executed by executor Motivation: Here are several typical scenarios for `BaseTradeDecision` diff --git a/qlib/utils/index_data.py b/qlib/utils/index_data.py index ea935dcaa..b62bc02ce 100644 --- a/qlib/utils/index_data.py +++ b/qlib/utils/index_data.py @@ -2,7 +2,7 @@ # Licensed under the MIT License. """ Motivation of index_data -- Pandas has a lot of user-friendly interfaces. However, integrating too much features in a single tool bring to much overhead and makes it much slower than numpy. +- Pandas has a lot of user-friendly interfaces. However, integrating too much features in a single tool bring too much overhead and makes it much slower than numpy. Some users just want a simple numpy dataframe with indices and don't want such a complicated tools. Such users are the target of `index_data`