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`