Skip to main content

Xarizmi (read Khwarizmi) project is an educational project thatcontains tools for technical analysis in Python.

Project description

Xarizmi

Xarizmi (read Khwarizmi) project is an educational project that contains tools for technical analysis in Python.

Installation

pip install xarizmi

Example

Build Candlestick

from xarizmi.candlestick import Candlestick
c = Candlestick(
    **{
        "open": 2,
        "low": 1,
        "high": 4,
        "close": 3,
    }
)

Indicators

OBV Indicator

from xarizmi.candlestick import CandlestickChart
from xarizmi.ta.obv import OBVIndicator

# assuming btc_usdt_monthly_data is defined (similar to tests/conftest.py)
c = CandlestickChart.model_validate({"candles": btc_usdt_monthly_data})

obv_indicator = OBVIndicator(candlestick_chart=c, volume='amount')
obv_indicator.compute()
print(obv_indicator.indicator_data)
obv_indicator.plot()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xarizmi-0.6.5.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

xarizmi-0.6.5-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file xarizmi-0.6.5.tar.gz.

File metadata

  • Download URL: xarizmi-0.6.5.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for xarizmi-0.6.5.tar.gz
Algorithm Hash digest
SHA256 666ff6f8d93f3cbc9072be01d80609061db6d9090e330b322a84687880910d2c
MD5 3abd4ac744517db9889c930cf309ef57
BLAKE2b-256 2d9e482fd21912727be1f4801c7f05e7ee91cdd040d049df19c0c2244df64685

See more details on using hashes here.

File details

Details for the file xarizmi-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: xarizmi-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for xarizmi-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9b528f03948e275b72070d322648af3f1f3b2b6d8b6c42ca2b388831098499b9
MD5 cd716923818c6ace08ca1a54529bda3b
BLAKE2b-256 be508e31c518402148b49c434b70724b060443cf2adac1d9f89f5cb0cf67360c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page