Files
QuanTAlib/python/quantalib/__init__.py
T
2026-02-28 14:14:35 -08:00

36 lines
815 B
Python

"""quantalib — Python wrapper for QuanTAlib NativeAOT exports.
Usage::
import quantalib as qtl
result = qtl.sma(close_array, length=14)
result = qtl.bbands(close_array, length=20, std=2.0)
"""
from __future__ import annotations
from ._loader import load_native_library
from . import indicators
from .indicators import * # noqa: F401, F403 — re-export all indicator functions
from ._compat import ALIASES, get_compat
from ._bridge import (
QtlError,
QtlNullPointerError,
QtlInvalidLengthError,
QtlInvalidParamError,
QtlInternalError,
)
__all__ = [
"load_native_library",
"indicators",
"ALIASES",
"get_compat",
"QtlError",
"QtlNullPointerError",
"QtlInvalidLengthError",
"QtlInvalidParamError",
"QtlInternalError",
]
__version__ = "0.1.0"