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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarizmi-0.6.4.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for xarizmi-0.6.4.tar.gz
Algorithm Hash digest
SHA256 4e5c4a5e9485aa4cfea6cf50b4837d9f99e74ec91a2180da430e66b6ddcd95ae
MD5 dd5625e1644818f9a548583d10acc21e
BLAKE2b-256 3e12156679b28caefe42a857d3f57c00db63d8324700ce030e39bfa0097dc777

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xarizmi-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 81727f1aa3b85169e8889d2ff166bd83892068f6a9d57bdcb69550796bab13c5
MD5 18226f920e45ed1921bfcdfb72f5eec6
BLAKE2b-256 4292f64141a0ac0bffb15b18e1fe871f3954deeeee097f769ba9c260b10bbc7d

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