local-candles


Namelocal-candles JSON
Version 0.2.5 PyPI version JSON
download
home_pagehttps://github.com/nanvel/local-candles
SummaryCandles (ohlc) loaders and cache
upload_time2025-02-13 09:32:05
maintainerNone
docs_urlNone
authorOleksandr Polieno
requires_python<4.0,>=3.8
licenseMIT
keywords quant trading crypto cancles ohlc ohlcv dataframe pandas
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Local candles

[![PyPI version](https://badge.fury.io/py/local-candles.svg)](https://badge.fury.io/py/local-candles)
[![Python Versions](https://img.shields.io/pypi/pyversions/local-candles.svg)](https://pypi.python.org/pypi/local-candles/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Usage example:
```python
from local_candles import load_candles


def main():
    df = load_candles(
        source="binance_usdm_futures_ohlc",
        start_ts="2021-01-01",
        stop_ts="2021-02-01",
        interval="1d",
        symbol="BTCUSDT",
    )

    print(df)


if __name__ == "__main__":
    main()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nanvel/local-candles",
    "name": "local-candles",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "quant, trading, crypto, cancles, ohlc, ohlcv, dataframe, pandas",
    "author": "Oleksandr Polieno",
    "author_email": "polyenoom@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/76/75/c56793ac95646349d53b4134818072b1c75ec0a6f1e0fdd7547dc2e5dd59/local_candles-0.2.5.tar.gz",
    "platform": null,
    "description": "# Local candles\n\n[![PyPI version](https://badge.fury.io/py/local-candles.svg)](https://badge.fury.io/py/local-candles)\n[![Python Versions](https://img.shields.io/pypi/pyversions/local-candles.svg)](https://pypi.python.org/pypi/local-candles/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nUsage example:\n```python\nfrom local_candles import load_candles\n\n\ndef main():\n    df = load_candles(\n        source=\"binance_usdm_futures_ohlc\",\n        start_ts=\"2021-01-01\",\n        stop_ts=\"2021-02-01\",\n        interval=\"1d\",\n        symbol=\"BTCUSDT\",\n    )\n\n    print(df)\n\n\nif __name__ == \"__main__\":\n    main()\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Candles (ohlc) loaders and cache",
    "version": "0.2.5",
    "project_urls": {
        "Homepage": "https://github.com/nanvel/local-candles",
        "Repository": "https://github.com/nanvel/local-candles"
    },
    "split_keywords": [
        "quant",
        " trading",
        " crypto",
        " cancles",
        " ohlc",
        " ohlcv",
        " dataframe",
        " pandas"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7c42de4dae963cf8640a8b476f34c1e6a00701b2529352ff744bb9547d558f6",
                "md5": "cc0d4597dd2f62d16068514bac094f8b",
                "sha256": "2cb1631c33e02836c7f91ef98090568a2b90030e90f0abb9fdff740340f7c38d"
            },
            "downloads": -1,
            "filename": "local_candles-0.2.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc0d4597dd2f62d16068514bac094f8b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 11545,
            "upload_time": "2025-02-13T09:32:04",
            "upload_time_iso_8601": "2025-02-13T09:32:04.680054Z",
            "url": "https://files.pythonhosted.org/packages/b7/c4/2de4dae963cf8640a8b476f34c1e6a00701b2529352ff744bb9547d558f6/local_candles-0.2.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7675c56793ac95646349d53b4134818072b1c75ec0a6f1e0fdd7547dc2e5dd59",
                "md5": "c6acff36c0bb6f6f5ee0cdbd71a1dd7e",
                "sha256": "d62ae6712eb26a93d036be91f22c3a68cb5e2bf26d51ef35cc0e436d719aecf3"
            },
            "downloads": -1,
            "filename": "local_candles-0.2.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c6acff36c0bb6f6f5ee0cdbd71a1dd7e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 6675,
            "upload_time": "2025-02-13T09:32:05",
            "upload_time_iso_8601": "2025-02-13T09:32:05.803348Z",
            "url": "https://files.pythonhosted.org/packages/76/75/c56793ac95646349d53b4134818072b1c75ec0a6f1e0fdd7547dc2e5dd59/local_candles-0.2.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-13 09:32:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nanvel",
    "github_project": "local-candles",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "local-candles"
}
        
Elapsed time: 0.39825s