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.8.10.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

xarizmi-0.8.10-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xarizmi-0.8.10.tar.gz
Algorithm Hash digest
SHA256 1c284152e018d97ff867f4bb92f6084c7ec6b2c94e55f0d60981b5d76fd87217
MD5 5df0dbf274738eea39cf2aed07363e4a
BLAKE2b-256 67a94ca23858602ec49d023cc0e40b640812ad837e8dabc7e9d439004affce91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xarizmi-0.8.10-py3-none-any.whl
  • Upload date:
  • Size: 36.5 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.8.10-py3-none-any.whl
Algorithm Hash digest
SHA256 08ebdd97d42e09c38f0960b0ce79a125878d271b91f68765124ac7badf848c0b
MD5 7ca9a52a4ffa56610a507e93030dc5d1
BLAKE2b-256 bfbd7782a7377a0fea27a2ce8fc9642e2225e1483504711432053f04ab8eb350

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