728x90
pip install FinanceDataReader
위와 같은 명령을 실행하자 아래와 같은 에러가 발생했다.
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement FinanceDataReader (from versions: none)
ERROR: No matching distribution found for FinanceDataReader
다음과 같은 명령어를 실행하자 문제 없이 패키지가 설치되었다.
pip install -U finance-datareader
임포트 해서 사용할 때에는 FinanceDataReader로 불러오면 된다. 아래와 같이 사용할 수 있다.
import FinanceDataReader as fdr
728x90