Finance tools module
Project description
finpredict python package
Example Usage
from finpredict import FinData
data = FinData()
df = data.get_stock('MSFT', start='2015-01', end='2021-04')
print(df.tail())
Output:
Date High Low Open Close Volume Adj Close ... Year 8ema 21ema 20sma 50sma 100sma 200sma
1568 2021-03-26 236.710007 231.550003 231.550003 236.479996 25471700.0 236.479996 ... 2021 234.814500 234.462601 233.582500 234.082044 224.850104 216.130061
1569 2021-03-29 236.800003 231.880005 236.589996 235.240005 25227500.0 235.240005 ... 2021 234.909057 234.533274 233.497501 234.536234 225.189124 216.381713
1570 2021-03-30 233.850006 231.100006 233.529999 231.850006 24792000.0 231.850006 ... 2021 234.229268 234.289341 233.396501 234.930007 225.453446 216.609118
1571 2021-03-31 239.100006 232.389999 232.910004 235.770004 43623500.0 235.770004 ... 2021 234.571654 234.423947 233.807001 235.326554 225.657856 216.850167
1572 2021-04-01 242.839996 238.050003 238.470001 242.350006 30312000.0 242.350006 ... 2021 236.300176 235.144498 234.588002 235.697064 225.859404 217.101135
Supported methods and how to use
get_gdp
Get Global GDP
get_unemployment
Get Unemployment rate
get_currencies
get_finance_data
get_stock
get_war_index
get_covid_stat
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
finpredict-0.0.20.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file finpredict-0.0.20.tar.gz
.
File metadata
- Download URL: finpredict-0.0.20.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ea0c95696c07426052c103861599632da7633f1cb68225edf4314ce912899f |
|
MD5 | cadb387de2b8be3b7d3d2a2f7dcf2555 |
|
BLAKE2b-256 | 8fa62bcd68ad4e8f9a62891a7cb5d01ad34a2d34bd523c639ac8eb751951f038 |
File details
Details for the file finpredict-0.0.20-py3-none-any.whl
.
File metadata
- Download URL: finpredict-0.0.20-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f894ab8992265652f78d3ed6213cfad1eb31dd09340ba1adf09b8bbccb9fb62c |
|
MD5 | e930c0c81c8a68cbd0faf5caf278f803 |
|
BLAKE2b-256 | 9303af3bfef11c75f5144500f5f9f95c306d2a742ea625ee50620b062ce577d1 |