Skip to content

Releases: rhettre/coinbase-advancedtrade-python

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

05 Jun 15:56
c0ebc92

Choose a tag to compare

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.

v0.6.0 - Post-Only Limit Orders and Enhanced Error Handling Latest

27 Oct 01:12
127bcdb

Choose a tag to compare

What's New
-Added post-only (maker-only) support to limit orders (fiat_limit_buy/fiat_limit_sell)
-Configurable default via DEFAULT_CONFIG['POST_ONLY_DEFAULT']
-Improved error handling with explicit logging when post-only orders would immediately match
-Logging now includes post-only flag and clearer limit/market order summaries
-README updated with post-only examples and a “Post-Only vs Allow Taker” section
-Expanded tests covering defaults, explicit post_only usage, sell orders, and rejection handling
Please refer to the updated README for detailed usage and new post-only limit order examples.

v0.4.0 - Python 3.12 + Fear and Greed Wrapper

29 Dec 20:19
a7733e7

Choose a tag to compare

What's New

  • Updated minimum Python version requirement to 3.12
  • Removed support for Python versions 3.9-3.11
  • Updated Lambda layer configuration to use Python 3.12
  • Integrated Fear and Greed Index wrapper for market sentiment analysis

Please note this is a breaking change for users on Python versions below 3.12. Make sure to update your Python environment before upgrading to this version. You will also need to install the latest dependencies to continue using fear and greed code as all the API interactions have been moved to the new wrapper.

Please refer to the updated README for detailed installation instructions and new sentiment analysis features.

v0.3.2 - AlphaSquared Integration

13 Oct 16:32
6862f7a

Choose a tag to compare

What's New

-Integrated AlphaSquared for risk analysis and trading strategies
-Added AlphaSquaredTrader class for executing trades based on AlphaSquared risk levels
-Improved error handling and logging for AlphaSquared operations
-Simplified CI/CD and added a delay to ensure the correct version makes it to the layer.zip

Please refer to the updated README for detailed usage instructions and new features.

v0.2.0 - Support for Coinbase Cloud Authentication

06 Jul 23:40
e48d75c

Choose a tag to compare

What's New

  • Added support for the new Coinbase Cloud authentication method
  • Introduced advanced FGI schedule management
  • Improved documentation with clear examples
  • Moved legacy authentication to a separate module

Please refer to the updated README for detailed usage instructions and new features.