{"id":13487672,"url":"https://github.com/crypto-lake/lake-api","last_synced_at":"2025-03-27T22:31:59.328Z","repository":{"id":61058314,"uuid":"548011074","full_name":"crypto-lake/lake-api","owner":"crypto-lake","description":"Python API for accessing Lake high frequency tick trades \u0026 order book data","archived":false,"fork":false,"pushed_at":"2024-09-09T11:43:29.000Z","size":182,"stargazers_count":24,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-09T13:56:27.063Z","etag":null,"topics":["backtesting","crypto-python","crypto-trading-strategies","cryptocurrency","cryptocurrency-api","data-provider","dataset","market-data","market-data-service","orderbook","orderbook-data","orderbook-snapshots","orderbook-tick-data","quant","quantitative-finance","quantitative-trading","tick-data","trading-strategies"],"latest_commit_sha":null,"homepage":"https://crypto-lake.com/","language":"Python","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/crypto-lake.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","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":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-08T18:55:19.000Z","updated_at":"2024-09-09T11:43:31.000Z","dependencies_parsed_at":"2023-02-14T01:01:06.062Z","dependency_job_id":"3fb53254-de3b-48cf-9b3c-3641bea7c4cf","html_url":"https://github.com/crypto-lake/lake-api","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-lake%2Flake-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-lake%2Flake-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-lake%2Flake-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-lake%2Flake-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypto-lake","download_url":"https://codeload.github.com/crypto-lake/lake-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222322034,"owners_count":16966433,"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":["backtesting","crypto-python","crypto-trading-strategies","cryptocurrency","cryptocurrency-api","data-provider","dataset","market-data","market-data-service","orderbook","orderbook-data","orderbook-snapshots","orderbook-tick-data","quant","quantitative-finance","quantitative-trading","tick-data","trading-strategies"],"created_at":"2024-07-31T18:01:01.892Z","updated_at":"2024-10-30T22:31:28.768Z","avatar_url":"https://github.com/crypto-lake.png","language":"Python","readme":"========\nLake API\n========\n\n\n.. image:: https://img.shields.io/pypi/v/lakeapi.svg\n        :target: https://pypi.python.org/pypi/lakeapi\n        :alt: Pypi package status\n\n.. image:: https://readthedocs.org/projects/lake-api/badge/?version=latest\n        :target: https://lake-api.readthedocs.io/en/latest/?version=latest\n        :alt: Documentation status\n\n.. image:: https://github.com/crypto-lake/lake-api/actions/workflows/dev.yml/badge.svg\n     :target: https://github.com/crypto-lake/lake-api/actions/workflows/dev.yml\n     :alt: Build status\n\n\nAPI for accessing Lake crypto market data.\n\nLake is a service providing `historical cryptocurrency market data \u003chttps://crypto-lake.com/\u003e`_ in high detail, including `order book data \u003chttps://crypto-lake.com/order-book-data/\u003e`_, tick trades and 1m trade candles. It is tuned for convenient quant and machine-learning purposes and so offers high performance, caching and parallelization.\n\n\n* Web: https://crypto-lake.com/\n* Documentation: https://lake-api.readthedocs.io.\n* Online example -- executable collab notebook: https://colab.research.google.com/drive/1E7MSUT8xqYTMVLiq_rMBLNcZmI_KusK3\n\n\nUsage\n-----\n\nIf you don't have a paid plan with AWS credentials, you can access sample data:\n\n.. code-block:: python\n\n    import lakeapi\n\n    lakeapi.use_sample_data(anonymous_access = True)\n\n    df = lakeapi.load_data(\n        table=\"book\",\n        start=None,\n        end=None,\n        symbols=[\"BTC-USDT\"],\n        exchanges=[\"BINANCE\"],\n    )\n\n\nWith paid access, you can query any data:\n\n.. code-block:: python\n\n    import lakeapi\n\n    # Downloads SOL-USDT depth snapshots for last 2 days from Kucoin exchange\n    df = lakeapi.load_data(\n        table=\"trades\",\n        start=datetime.datetime.now() - datetime.timedelta(days=2),\n        end=None,\n        symbols=[\"SOL-USDT\"],\n        exchanges=[\"KUCOIN\"],\n    )\n\nWe recommend putting .lake_cache directory into .gitignore, because Lake API stores cache into this directory in the\nworking directory.\n","funding_links":[],"categories":["Python","Data Sources"],"sub_categories":["Data Sources","Cryptocurrencies"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-lake%2Flake-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypto-lake%2Flake-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-lake%2Flake-api/lists"}