Metadata-Version: 2.1
Name: local-candles
Version: 0.2.2
Summary: Candles (ohlc) loaders and cache
Home-page: https://github.com/nanvel/local-candles
License: MIT
Keywords: quant,trading,crypto,cancles,ohlc,ohlcv,dataframe,pandas
Author: Oleksandr Polieno
Author-email: polyenoom@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pandas (>=2.0.2,<3.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Project-URL: Repository, https://github.com/nanvel/local-candles
Description-Content-Type: text/markdown

# 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()
```

