Skip to main content

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.

Release files for swedish-market-insights 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swedish-market-insights 0.1.2
File Size Uploaded
swedish_market_insights-0.1.2.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swedish-market-insights 0.1.2
File Interpreter ABI Platform
swedish_market_insights-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / swedish_market_insights-0.1.2.tar.gz

Download URL swedish_market_insights-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b93645c5f163099a6b119531c6bcdcca89ab3a6ffcfa9d0cc6deb33706d3eddd
BLAKE2b-256 checksum
How to use checksums
1aab50878afe6373f82bec9726c16cc70ac20fdd5d0f492a9aa584d0886be530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.8.13 Darwin/22.2.0

Release files / swedish_market_insights-0.1.2-py3-none-any.whl

Download URL swedish_market_insights-0.1.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f82329e9650de1544c095826780572a06e317d69594eb78841e2a9147f357788
BLAKE2b-256 checksum
How to use checksums
5463049b9f03c37d02350117d1f79601b2fe3efd7b222faa3092fa758a8b8e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.8.13 Darwin/22.2.0

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page