# 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": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "quant,trading,crypto,cancles,ohlc,ohlcv,dataframe,pandas",
"author": "Oleksandr Polieno",
"author_email": "polyenoom@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d3/a1/2022fedbd5a3c38cd0ee688669dc6e97a0478d3d456c67dac4311ee0f8ca/local_candles-0.2.4.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.4",
"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": "8c380fc8ee6df69adeb952382410e6be692d80bc86e5e6e06a064a65b3c8bdd7",
"md5": "c0de1e6d67abff9350892d51f6cd4e21",
"sha256": "049fbb612d3bf831a1191acfd62bd61c8c2d7b34335713e3d9fa28ea3f9d4fbf"
},
"downloads": -1,
"filename": "local_candles-0.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c0de1e6d67abff9350892d51f6cd4e21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 11533,
"upload_time": "2023-08-21T16:31:44",
"upload_time_iso_8601": "2023-08-21T16:31:44.536726Z",
"url": "https://files.pythonhosted.org/packages/8c/38/0fc8ee6df69adeb952382410e6be692d80bc86e5e6e06a064a65b3c8bdd7/local_candles-0.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d3a12022fedbd5a3c38cd0ee688669dc6e97a0478d3d456c67dac4311ee0f8ca",
"md5": "3c8b7faf202c83e34c91d7c5d3f55abc",
"sha256": "30a74ec7dea469c9679042b93ea8aef5b5ea967ff5c888f7489d1bfcfa8b5afd"
},
"downloads": -1,
"filename": "local_candles-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "3c8b7faf202c83e34c91d7c5d3f55abc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 7112,
"upload_time": "2023-08-21T16:31:45",
"upload_time_iso_8601": "2023-08-21T16:31:45.677388Z",
"url": "https://files.pythonhosted.org/packages/d3/a1/2022fedbd5a3c38cd0ee688669dc6e97a0478d3d456c67dac4311ee0f8ca/local_candles-0.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-21 16:31:45",
"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"
}