devfinwiz / Fin-Maestro-Kin

Seamless Finance: Docker-Deployed APIs for Smart Investments. [WORK IN PROGRESS]
https://fin-maestro-kin.apidog.io/
MIT License
69 stars 10 forks source link

Introduce new data source (screener.in) to data-toolkit #24

Closed SuyashDM closed 7 months ago

SuyashDM commented 7 months ago

This PR introduces a new data source (screener.in) to add to the functionality of data-toolkit module. Currently, this PR includes only provision to fetch quarterly results for individual stocks from screener.in . image

Demo response obtained using the changes in this PR:

{
  "symbol": "vedl",
  "quarterly_reports": {
    "Sales": {
      "Dec 2020": "9,661",
      "Mar 2021": "12,391",
      "Jun 2021": "12,958",
      "Sep 2021": "15,123",
      "Dec 2021": "16,187",
      "Mar 2022": "19,009",
      "Jun 2022": "17,913",
      "Sep 2022": "16,998",
      "Dec 2022": "15,832",
      "Mar 2023": "17,337",
      "Jun 2023": "15,907",
      "Sep 2023": "19,236",
      "Dec 2023": "17,833"
    },
    "Expenses": {
      "Dec 2020": "7,184",
      "Mar 2021": "9,329",
      "Jun 2021": "9,190",
      "Sep 2021": "10,382",
      "Dec 2021": "12,354",
      "Mar 2022": "13,769",
      "Jun 2022": "15,016",
      "Sep 2022": "15,133",
      "Dec 2022": "13,888",
      "Mar 2023": "14,603",
      "Jun 2023": "14,107",
      "Sep 2023": "14,959",
      "Dec 2023": "14,654"
    },
    "Operating Profit": {
      "Dec 2020": "2,477",
      "Mar 2021": "3,062",
      "Jun 2021": "3,768",
      "Sep 2021": "4,741",
      "Dec 2021": "3,833",
      "Mar 2022": "5,240",
      "Jun 2022": "2,897",
      "Sep 2022": "1,865",
      "Dec 2022": "1,944",
      "Mar 2023": "2,734",
      "Jun 2023": "1,800",
      "Sep 2023": "4,277",
      "Dec 2023": "3,179"
    },
    "OPM %": {
      "Dec 2020": "26%",
      "Mar 2021": "25%",
      "Jun 2021": "29%",
      "Sep 2021": "31%",
      "Dec 2021": "24%",
      "Mar 2022": "28%",
      "Jun 2022": "16%",
      "Sep 2022": "11%",
      "Dec 2022": "12%",
      "Mar 2023": "16%",
      "Jun 2023": "11%",
      "Sep 2023": "22%",
      "Dec 2023": "18%"
    },
    "Other Income": {
      "Dec 2020": "6,015",
      "Mar 2021": "-140",
      "Jun 2021": "1,399",
      "Sep 2021": "639",
      "Dec 2021": "4,965",
      "Mar 2022": "1,122",
      "Jun 2022": "174",
      "Sep 2022": "381",
      "Dec 2022": "4,611",
      "Mar 2023": "14,188",
      "Jun 2023": "3,816",
      "Sep 2023": "-1,336",
      "Dec 2023": "2,570"
    },
    "Interest": {
      "Dec 2020": "756",
      "Mar 2021": "813",
      "Jun 2021": "722",
      "Sep 2021": "716",
      "Dec 2021": "840",
      "Mar 2022": "868",
      "Jun 2022": "858",
      "Sep 2022": "1,057",
      "Dec 2022": "1,197",
      "Mar 2023": "1,272",
      "Jun 2023": "1,335",
      "Sep 2023": "1,405",
      "Dec 2023": "1,409"
    },
    "Depreciation": {
      "Dec 2020": "633",
      "Mar 2021": "654",
      "Jun 2021": "704",
      "Sep 2021": "727",
      "Dec 2021": "772",
      "Mar 2022": "742",
      "Jun 2022": "873",
      "Sep 2022": "950",
      "Dec 2022": "1,040",
      "Mar 2023": "816",
      "Jun 2023": "881",
      "Sep 2023": "975",
      "Dec 2023": "996"
    },
    "Profit before tax": {
      "Dec 2020": "7,103",
      "Mar 2021": "1,455",
      "Jun 2021": "3,741",
      "Sep 2021": "3,937",
      "Dec 2021": "7,186",
      "Mar 2022": "4,752",
      "Jun 2022": "1,340",
      "Sep 2022": "239",
      "Dec 2022": "4,318",
      "Mar 2023": "14,834",
      "Jun 2023": "3,400",
      "Sep 2023": "561",
      "Dec 2023": "3,344"
    },
    "Tax %": {
      "Dec 2020": "19%",
      "Mar 2021": "1%",
      "Jun 2021": "11%",
      "Sep 2021": "17%",
      "Dec 2021": "10%",
      "Mar 2022": "13%",
      "Jun 2022": "-25%",
      "Sep 2022": "88%",
      "Dec 2022": "-8%",
      "Mar 2023": "-0%",
      "Jun 2023": "-0%",
      "Sep 2023": "96%",
      "Dec 2023": "8%"
    },
    "Net Profit": {
      "Dec 2020": "5,720",
      "Mar 2021": "1,441",
      "Jun 2021": "3,336",
      "Sep 2021": "3,279",
      "Dec 2021": "6,473",
      "Mar 2022": "4,157",
      "Jun 2022": "1,674",
      "Sep 2022": "29",
      "Dec 2022": "4,684",
      "Mar 2023": "14,872",
      "Jun 2023": "3,408",
      "Sep 2023": "22",
      "Dec 2023": "3,084"
    },
    "EPS in Rs": {
      "Dec 2020": "15.39",
      "Mar 2021": "3.88",
      "Jun 2021": "8.97",
      "Sep 2021": "8.82",
      "Dec 2021": "17.41",
      "Mar 2022": "11.18",
      "Jun 2022": "4.50",
      "Sep 2022": "0.08",
      "Dec 2022": "12.60",
      "Mar 2023": "40.01",
      "Jun 2023": "9.17",
      "Sep 2023": "0.06",
      "Dec 2023": "8.30"
    },
    "Raw PDF": {
      "Dec 2020": "",
      "Mar 2021": "",
      "Jun 2021": "",
      "Sep 2021": "",
      "Dec 2021": "",
      "Mar 2022": "",
      "Jun 2022": "",
      "Sep 2022": "",
      "Dec 2022": "",
      "Mar 2023": "",
      "Jun 2023": "",
      "Sep 2023": "",
      "Dec 2023": ""
    }
  }
}