Package to scrape the Finansinspektion's registers
Project description
Swedish Market Insights
SMI is a small package for fetching inside trades made in Sweden.
The data is collected with requests and parsed with BeautifulSoup4.
All data is publicly available on Finansinspektionen's website.
Installation
Usage
from swedish_market_insights import ficlient
api = ficlient.FiClient()
recent_inside_trades = api.get_trades_by_transaction_date()
Features
- Fetch inside trades by transaction date
- Fetch inside trades by publication date
Examples
Fetch inside trades by transaction date
from swedish_market_insights import ficlient
from datetime import date
api = ficlient.FiClient()
trades = api.get_trades_by_transaction_date(
from_date=date(2020, 1, 1),
to_date=date(2020, 1, 31))
Fetch inside trades by publication date
from datetime import date
from swedish_market_insights import ficlient
api = ficlient.FiClient()
trades = api.get_trades_by_publish_date(
from_date=date(2022, 10, 8),
to_date=date(2022, 10, 10))
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub if you have any suggestions or improvements.
License
This project is licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swedish_market_insights-0.1.2.tar.gz.
File metadata
- Download URL: swedish_market_insights-0.1.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.13 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b93645c5f163099a6b119531c6bcdcca89ab3a6ffcfa9d0cc6deb33706d3eddd
|
|
| MD5 |
a4d6668fe024dbd61628a85a4c8ca24a
|
|
| BLAKE2b-256 |
1aab50878afe6373f82bec9726c16cc70ac20fdd5d0f492a9aa584d0886be530
|
File details
Details for the file swedish_market_insights-0.1.2-py3-none-any.whl.
File metadata
- Download URL: swedish_market_insights-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.13 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f82329e9650de1544c095826780572a06e317d69594eb78841e2a9147f357788
|
|
| MD5 |
f0bdf22250539139fe1f94f750ff6b19
|
|
| BLAKE2b-256 |
5463049b9f03c37d02350117d1f79601b2fe3efd7b222faa3092fa758a8b8e8e
|