Repository navigation
BotTrade 0.1.2
BotTrade 0.1.2
BotTrade now presents and behaves as a conventional importable Python library.
import bottrade
result = bottrade.run("sandbox-nov-2024")
print(result.return_pct)Added
- Top-level
bottrade.run(...)one-call reference workflow. - Typed direct result properties including
return_pct,final_equity,sharpe, andmax_drawdown. - Explicit
api_key, strategy parameters, private publication default, and typed return object. python -m bottrademodule execution in addition to thebottradeconsole command.- Import-first README usage, with CLI and repository examples treated as secondary interfaces.
The lower-level bottrade.BotTradeClient remains available for custom strategies and explicit control over market observation, orders, steps, completion, and publication.
Verification
All ten CI checks passed. The package also passed Ruff, strict mypy, 25 tests, isolated sdist/wheel builds, Twine validation, and a clean installation that verified both import bottrade and python -m bottrade --version.