Metadata-Version: 2.4
Name: cadlag-ce
Version: 0.1.0a1
Summary: A single-asset moving-average backtest for the Cadlag Mini educational toolkit
Author: Cadlag contributors
License-Expression: MIT
Project-URL: Homepage, https://cadlag.pro
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cadlag-sdk==0.1.0a1
Dynamic: license-file

# cadlag-ce — Cadlag Mini

**Version 0.1.0a1 is an educational miniature written independently from scratch.**
It provides the small functionality described below. It does not provide the full
Cadlag platform and is not API-compatible with previous Cadlag distributions.
It is an alpha release for learning and experimentation, not live trading.

A single-asset moving-average backtest for the Cadlag Mini educational toolkit.

## Usage

```python
from cadlag_sdk import load_prices
from cadlag_ce import backtest
result = backtest(load_prices("prices.csv"), window=3, fee_bps=10)
print(result.as_dict())
```

Signals use only previous closes. Trades occur at the current close. Warm-up
observations hold cash; fractional units are allowed. Buy and sell fees are
charged. Ending holdings are marked to market without forced liquidation.
There is no slippage, leverage, interest, tax, dividend or corporate-action model.


## Package family

- `cadlag-sdk`: price records and CSV validation.
- `cadlag-ce`: a prior-close moving-average strategy and equity curve.
- `cadlag-starter`: synthetic sample prices and a runnable example.
- `cadlag-pro`: basic drawdown and volatility calculations.
- `cadlag-quant`: command-line bundle, with optional analytics extra.

All Mini components use version `0.1.0a1` and are MIT licensed. Only Python's
standard library is used beyond dependencies on other Mini components.
