{"id":31225092,"url":"https://github.com/w3stling/insynsregistret","last_synced_at":"2025-09-22T00:36:11.453Z","repository":{"id":54653029,"uuid":"125115953","full_name":"w3stling/insynsregistret","owner":"w3stling","description":"Java library for extracting data from the Financial Supervisory Authority (Finansinspektionen) PDMR registry.","archived":false,"fork":false,"pushed_at":"2025-08-04T05:26:57.000Z","size":4030,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-04T08:27:08.046Z","etag":null,"topics":["api","finansinspektionen","insiderhandel","insynshandel","insynsregistret","pdmr","pdmr-transaction"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w3stling.png","metadata":{"files":{"readme":".github/README-template.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-13T21:18:24.000Z","updated_at":"2025-08-04T05:26:05.000Z","dependencies_parsed_at":"2024-02-17T08:28:04.731Z","dependency_job_id":"ff33412c-10e2-4d06-b3d4-2e1f971c6a6e","html_url":"https://github.com/w3stling/insynsregistret","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/w3stling/insynsregistret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Finsynsregistret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Finsynsregistret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Finsynsregistret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Finsynsregistret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w3stling","download_url":"https://codeload.github.com/w3stling/insynsregistret/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Finsynsregistret/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276329325,"owners_count":25623326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","finansinspektionen","insiderhandel","insynshandel","insynsregistret","pdmr","pdmr-transaction"],"created_at":"2025-09-22T00:36:07.074Z","updated_at":"2025-09-22T00:36:11.445Z","avatar_url":"https://github.com/w3stling.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Insynsregistret\n===============\n\n[![Build](https://github.com/w3stling/insynsregistret/actions/workflows/build.yml/badge.svg)](https://github.com/w3stling/insynsregistret/actions/workflows/build.yml)\n[![Download](https://img.shields.io/badge/download-%%version%%-brightgreen.svg)](https://central.sonatype.com/artifact/com.apptasticsoftware/insynsregistret/%%version%%/overview)\n[![Javadoc](https://img.shields.io/badge/javadoc-%%version%%-blue.svg)](https://w3stling.github.io/insynsregistret/javadoc/%%version%%)\n[![License](http://img.shields.io/:license-MIT-blue.svg?style=flat-round)](http://apptastic-software.mit-license.org)   \n[![CodeQL](https://github.com/w3stling/insynsregistret/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/w3stling/insynsregistret/actions/workflows/codeql-analysis.yml)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=w3stling_insynsregistret\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=w3stling_insynsregistret)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=w3stling_insynsregistret\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=w3stling_insynsregistret)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=w3stling_insynsregistret\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=w3stling_insynsregistret)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=w3stling_insynsregistret\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=w3stling_insynsregistret)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=w3stling_insynsregistret\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=w3stling_insynsregistret)\n\n\u003e **Note** - from version 4.0.0:\n\u003e * New Java package name\n\u003e * New group ID in Maven / Gradle dependency declaration\n\u003e * Moved repository from `JCenter` to `Maven Central Repository`\n\n[Insynsregistret][1] is a Swedish financial registry maintained by\nthe [Finansinspektionen][2] (FI). It contains information regarding insider trading on\nNasdaq Stockholm and Nordic Growth Market (NGM) and other trading venues.\n\nThis registry publishes information about the trading activities that have taken place during the day performed by\nthe insiders and people close to them. The registry includes information concerning\nthe position the insider involved in a certain trading activity has, what kind of activity it is (sell, buy or\ngift etc.), what kind of security that is traded and the quantity.\n\nAll insider trading is reported to FI, which publishes the data on a daily basis to this public database.\n\nThis Java library makes it easier to automate data extraction from Insynsregistret.\n\nExamples\n--------\n### Search issuer\nFind all issuer names that contains the word \"fing\" and prints it.\nIssuer can be used to refine the transaction search, see example below.\n```java\nInsynsregistret registry = new Insynsregistret();\n\nFreeTextQuery query = FreeTextQueryBuilder.issuer(\"fing\").build();\nregistry.search(query).forEach(System.out::println);\n```\n\n### Search persons discharging managerial responsibilities (PDMR)\nFind the first PDMR name that contains the word \"Carl\".\nPDMR can be used to refine the transaction search.\n```java\nInsynsregistret registry = new Insynsregistret();\n\nFreeTextQuery query = FreeTextQueryBuilder.pdmr(\"Carl\").build();\nOptional\u003cString\u003e pdmr = registry.search(query).findFirst();\n```\n\n### Search transactions\nGet all insider trades published in the last 30 days, presented in English. Default language is Swedish.\n\n```java\nInsynsregistret registry = new Insynsregistret();\n\nTransactionQuery query = TransactionQueryBuilder.publicationsLastDays(30)\n        .language(Language.ENGLISH)\n        .build();\n\nList\u003cTransaction\u003e transactions = registry.search(query)\n        .collect(Collectors.toList());\n```\n\nGet all insider trades published in the last 30 days in Swedish Match (ISIN SE0000310336)\nand that is part of a share option programme.\n\n```java\nInsynsregistret registry = new Insynsregistret();\n\nTransactionQuery query = TransactionQueryBuilder.publicationsLastDays(30).build();\n\nList\u003cTransaction\u003e transactions = registry.search(query)\n        .filter(Transaction::isLinkedToShareOptionProgramme)\n        .filter(t -\u003e t.getIsin().equals(\"SE0000310336\"))\n        .collect(Collectors.toList());\n```\n\nA better way to achieve the same result as in the example above is to refine the search\nwith an issuer query parameter to limit the search instead of filtering the search result.\nSee next example with Hexagon AB.\n\nGet the number of inside trades in Hexagon between given dates.\n\n```java\nInsynsregistret registry = new Insynsregistret();\n\nTransactionQuery query = TransactionQueryBuilder.publications(getFromDate(), getToDate())\n        .issuer(\"Hexagon AB\")\n        .build();\n\nlong nofTransactions = registry.search(query).count();\n```\n\nTotal value of all inside trades in company Loomis the last 30 days.\n\n```java\nInsynsregistret registry = new Insynsregistret();\n\nTransactionQuery query = TransactionQueryBuilder.transactionsLastDays(30)\n        .issuer(\"Loomis AB\")\n        .build();\n\ndouble total = registry.search(query)\n        .mapToDouble(t -\u003e t.getQuantity() * t.getPrice())\n        .sum();\n```\n\nJava System Properties\n----------------------\n| Key | Description | Default |\n| :--- | :--- | :--- |\n| https.proxyHost | The host name of the proxy server. |   |\n| https.proxyPort | The port number of the proxy server. |   |\n\nDownload\n--------\n\nDownload [the latest JAR][3] or grab via [Maven][4] or [Gradle][5].\n\n### Maven setup\nAdd dependency declaration:\n```xml\n\u003cproject\u003e\n    ...\n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.apptasticsoftware\u003c/groupId\u003e\n            \u003cartifactId\u003einsynsregistret\u003c/artifactId\u003e\n            \u003cversion\u003e%%version%%\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n    ...\n\u003c/project\u003e\n```\n\n### Gradle setup\nAdd dependency declaration:\n```groovy\ndependencies {\n    implementation 'com.apptasticsoftware:insynsregistret:%%version%%'\n}\n```\n\nInsynsregistret library requires at minimum Java 11.\n\nLicense\n-------\n\n    MIT License\n    \n    Copyright (c) %%year%%, Apptastic Software\n    \n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n    \n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n    \n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n\n\n[1]: https://www.fi.se/en/our-registers/pdmr-transactions\n[2]: https://www.fi.se/en\n[3]: https://central.sonatype.com/artifact/com.apptasticsoftware/insynsregistret/%%version%%/overview\n[4]: https://maven.apache.org\n[5]: https://gradle.org","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3stling%2Finsynsregistret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw3stling%2Finsynsregistret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3stling%2Finsynsregistret/lists"}