{"id":27933440,"url":"https://github.com/timescale/templates","last_synced_at":"2025-05-07T04:58:42.841Z","repository":{"id":222539196,"uuid":"745210591","full_name":"timescale/templates","owner":"timescale","description":"Templates to get started with Timescale on Finance or Sensors (IoT)","archived":false,"fork":false,"pushed_at":"2025-04-30T15:25:13.000Z","size":113,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T04:58:38.869Z","etag":null,"topics":["templates","timescaledb"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timescale.png","metadata":{"files":{"readme":"README.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":"2024-01-18T21:19:31.000Z","updated_at":"2025-03-24T06:18:53.000Z","dependencies_parsed_at":"2024-04-04T02:27:00.050Z","dependency_job_id":"b299ff16-d4b9-4cf0-9e2c-f0b2ca67aeb4","html_url":"https://github.com/timescale/templates","commit_stats":null,"previous_names":["timescale/timescaledb-finance","timescale/templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Ftemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Ftemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Ftemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Ftemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816948,"owners_count":21808704,"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":["templates","timescaledb"],"created_at":"2025-05-07T04:58:42.383Z","updated_at":"2025-05-07T04:58:42.830Z","avatar_url":"https://github.com/timescale.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timescale Templates\n\nTemplate to get started with TimescaleDB for financial and IoT time-series data.\n\nEvery folder has its own setup and usage:\n\n* [finance](./finance/README.md) folder contains market data processing.\n* [sensors](./sensors/README.md) folder contains IoT data processing.\n\n## What is TimescaleDB?\n\nTimescaleDB is an open-source database designed to make SQL scalable for time-series data. It's optimized for fast ingest and complex queries, making it ideal for finance, IoT, DevOps, and other time-series data applications.\n\n## Finance Market Data\n\nThis setup is ideal for anyone working with financial time-series data in TimescaleDB, such as:\n\n- Financial analysts tracking market trends.\n- Data scientists conducting financial research.\n- Fintech applications requiring real-time market data analysis.\n\n\n### Prerequisites\n\nTo use this repository, you need to have TimescaleDB installed. If you haven't already,\nyou can find detailed installation instructions on the\n[Timescale installation pages](https://docs.timescale.com/latest/getting-started/installation).\n\nAlso, to use all the hyperfunctions available, you need to have the\n[timescaledb-toolkit](https://docs.timescale.com/self-hosted/latest/tooling/install-toolkit/) extension.\n\nTo fastest way to setup both extensions at once on premise is with [timescaledb-ha docker](https://hub.docker.com/r/timescale/timescaledb-ha) image.\n\n### Setup and Usage\n\nThis is a main repository with folders that contains different scenarios. The\nsetup and usage is inside each folder. For now we have:\n\nThe [finance](./finance/README.md) setup your market data processing with:\n\n- A `ticks` hypertable for efficient storage and querying of tick data.\n- Continuous aggregates for generating candlesticks.\n- Compression and retention policies.\n- Utilities for tracking symbol pairs and last prices.\n\nThe [sensors](./sensors/README.md) setup your IoT data processing with:\n- A configurable system that you can define what is your hypertable name and other details of your data.\n- Dynamic SQL for generating Hierarchical Continuous Aggregates.\n- Compression and retention policies.\n- Example of how to use the system with a sample dataset and with data simulator\n    functions generating data using background workers.\n\n## Contributing\n\nYour contributions are welcome! Feel free to fork this repository, make changes, and submit pull requests. If you have any suggestions or need support, join the `#tech-design` channel on our [slack](https://timescaledb.slack.com).\n\n## Feedback and Support\n\nFor feedback and support, please join our [Slack community](https://www.timescale.com/community/). Your input helps us improve and expand this project.\n\n📺[Youtube Playlist][youtube] with all presentations about this project.\n\nIf you need any extra detail, feel free to reach out `jonatas@timescale.com` or\nor join our [timescaledb Slack](https://timescaledb.slack.com/).\n\n\n[ical]: https://timescale.zoom.us/webinar/tJcocu-qqTMuG9CfVhEQueFx0mcqY1pb8eNl/ics?icsToken=98tyKuCrqz4sGNOdtBiDRowqGY_4M-rwtlxbjfp-mintJhFGZyXuZu9BI4suANqI\n[youtube]: https://www.youtube.com/playlist?list=PLsceB9ac9MHStasIKKOs-jTWyCAXybfbc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Ftemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Ftemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Ftemplates/lists"}