{"id":14066936,"url":"https://github.com/microsoft/finnts","last_synced_at":"2025-05-15T13:06:00.587Z","repository":{"id":40889800,"uuid":"382409450","full_name":"microsoft/finnts","owner":"microsoft","description":"Microsoft Finance Time Series Forecasting Framework (FinnTS) is a forecasting package that utilizes cutting-edge time series forecasting and parallelization on the cloud to produce accurate forecasts for financial data.","archived":false,"fork":false,"pushed_at":"2025-04-24T00:49:45.000Z","size":3862,"stargazers_count":196,"open_issues_count":10,"forks_count":38,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-05-15T00:08:02.696Z","etag":null,"topics":["business","data-science","feature-selection","finance","finnts","forecasting","machine-learning","microsoft","r","r-package","rstats","time-series"],"latest_commit_sha":null,"homepage":"https://microsoft.github.io/finnts","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-02T16:53:31.000Z","updated_at":"2025-04-06T21:38:41.000Z","dependencies_parsed_at":"2023-11-29T22:27:28.080Z","dependency_job_id":"d6c48fab-5a6a-47b0-a3d5-2249c7f6ae41","html_url":"https://github.com/microsoft/finnts","commit_stats":{"total_commits":654,"total_committers":8,"mean_commits":81.75,"dds":0.08103975535168195,"last_synced_commit":"370d625f830de9f568f6a56b4f81713fdf8051e6"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Ffinnts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Ffinnts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Ffinnts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Ffinnts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/finnts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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","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":["business","data-science","feature-selection","finance","finnts","forecasting","machine-learning","microsoft","r","r-package","rstats","time-series"],"created_at":"2024-08-13T07:05:20.465Z","updated_at":"2025-05-15T13:06:00.565Z","avatar_url":"https://github.com/microsoft.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# Microsoft Finance Time Series Forecasting Framework\n\n\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"200\" style=\"float:right; height:200px;\"/\u003e\n\n\u003c!-- badges: start --\u003e\n\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/finnts)](https://cran.r-project.org/package=finnts)\n\n\u003c!-- badges: end --\u003e\n\nThe Microsoft Finance Time Series Forecasting Framework, aka finnts or Finn, is an automated forecasting framework for producing financial forecasts. While it was built for corporate finance activities, it can easily expand to any time series forecasting problem!\n\n-   Automated feature engineering, feature selection, back testing, and model selection.\n-   Access to 25+ models. Both univariate and multivariate models.\n-   Azure integration to run thousands of time series in parallel within the cloud.\n-   Supports daily, weekly, monthly, quarterly, and yearly forecasts.\n-   Handles external regressors, either purely historical or historical+future values.\n\n## Installation\n\n### CRAN version\n\n``` r\ninstall.packages(\"finnts\")\n```\n\n### Development version\n\nTo get a bug fix or to use a feature from the development version, you can install the development version of finnts from GitHub.\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"microsoft/finnts\")\n```\n\n## Usage\n\n``` r\nlibrary(finnts)\n\n# prepare historical data\nhist_data \u003c- timetk::m4_monthly %\u003e%\n  dplyr::rename(Date = date) %\u003e%\n  dplyr::mutate(id = as.character(id))\n\n# call main finnts modeling function\nfinn_output \u003c- forecast_time_series(\n  input_data = hist_data,\n  combo_variables = c(\"id\"),\n  target_variable = \"value\",\n  date_type = \"month\",\n  forecast_horizon = 3,\n  back_test_scenarios = 6, \n  models_to_run = c(\"arima\", \"ets\"), \n  run_global_models = FALSE, \n  run_model_parallel = FALSE\n)\n```\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit \u003chttps://cla.opensource.microsoft.com\u003e.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode\\@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Trademarks\n\nThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark \u0026 Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Ffinnts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Ffinnts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Ffinnts/lists"}