Skip to content

v0.8.0 - AlphaSquared Action Runner and Portfolio-Scoped Trading

Latest

Choose a tag to compare

@rhettre rhettre released this 05 Jun 15:56
c0ebc92

v0.8.0 - AlphaSquared Action Runner and Portfolio-Scoped Trading

This release adds an AlphaSquared pending-action runner for Coinbase Advanced Trade workflows, plus portfolio-scoped balance and order support for deterministic scheduled trading.

Added

  • Added AlphaSquaredTrader.execute_pending_strategy_actions(...).
  • Added AlphaSquaredActionResult result objects with as_dict() output.
  • Added deterministic Coinbase client_order_id generation for AlphaSquared action retries.
  • Added optional portfolio_uuid support for AlphaSquared action execution.
  • Added portfolio-scoped account balance lookups using Coinbase retail_portfolio_id.
  • Added portfolio-scoped Coinbase order placement for market buys/sells, limit buys/sells, and exact-base limit sells.
  • Added EnhancedRESTClient.trade_based_on_fgi_ladder(...) for static-dollar Fear & Greed ladder demos.

Behavior

  • AlphaSquared BUY actions are treated as quote-currency notional and placed as Coinbase limit buys.
  • AlphaSquared SELL actions are treated as a percentage of available base balance in the selected portfolio.
  • AlphaSquared actions are marked executed only after Coinbase accepts the order.
  • Malformed or unknown AlphaSquared actions are skipped without placing orders or marking them executed.
  • If no portfolio UUID is provided, the runner resolves the Coinbase default portfolio before trading.

Packaging

  • Bumped package version to 0.8.0.
  • Updated release workflow and Lambda layer build to Python 3.14.
  • Updated dependencies for the current Coinbase SDK and Python 3.14 support.

Notes

Run one scheduled worker at a time per strategy unless you add your own coordination layer.