Metadata-Version: 2.0
Name: ohlc
Version: 0.1.2
Summary: ohlc: open-high-low-close types and tools
Home-page: https://github.com/ubunatic/ohlc
Author: Uwe Jugel
Author-email: uwe.jugel@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/ubunatic/ohlc
Project-URL: Bug Reports, https://github.com/ubunatic/ohlc/issues
Project-URL: Funding, https://github.com/ubunatic/ohlc
Project-URL: Say Thanks!, https://saythanks.io/to/ubunatic
Project-URL: Source, https://github.com/ubunatic/ohlc
Keywords: ohlc,data,types,finance,bitcoin,ccxt,candlesticks,charts,widgets,graph
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: dev
Requires-Dist: drawille
Requires-Dist: future
Requires-Dist: typing
Requires-Dist: urwid
Requires-Dist: widdy
Provides-Extra: dev
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: pasteurize; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: twine; extra == 'dev'

[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/ubunatic)

ohlc: data type and tools
=========================
ohlc provides `Ohlc`, a `namedtuple` for storing and efficiently processing
open-high-low-close data, used for financial charts and calculations.
It also provides tools for processing and visualizing lists of `Ohlc` values
in the console.

For visualizations it provides raw colored console output using terminal colors and also
supports styled output for embedding in [urwid](http://urwid.org) console apps.
It provides a simple ohlc grapher built using the [widdy](https://github.com/ubunatic/widdy/)
widgets urwid-wrapper.

Installation
------------

    pip install ohlc

Usage (WIP)
-----------

    ohlc candles --name "random values"             # start the ohlc candlestick visualization using random values
    shuf -i0-1000 | ohlc candles --name "shuf 1000" # visualize raw input data

Development
-----------
First clone the repo.

    git clone https://github.com/ubunatic/ohlc
    cd ohlc

Then install the cloned version and install missing tools.

    make             # clean and run all tests
    make install     # install the checked-out dev version
    make transpiled  # transpile Py3 to Py2

You may need to install some tools and modules, i.e., `flake8`, `pytest-3`, `twine`, `urwid`, and maybe others.

[Pull requests](https://github.com/ubunatic/ohlc/pulls) are welcome!


