Portfolios on Coinbase International Exchange (INTX) are the primary unit for managing trading activity, balances, positions, and risk. Each portfolio allows you to view and manage margin, collateral, and position details within a scoped context.Each INTX account can have a maximum of 20 portfolios. Portfolios can be updated and patched after creation to modify their name and settings.
Use List Portfolios to retrieve all portfolios accessible to your INTX account. This is typically the first call made when initializing your trading integration.
An asset is a cryptocurrency that can be held, deposited, or withdrawn (e.g., BTC, ETH, USDC). An asset balance represents the quantity of that asset held within a portfolio.Retrieve asset balances across a portfolio using List Portfolio Balances. This returns the available, held, and total balance for each asset.
A position represents an open exposure in an instrument, either long or short, with an associated entry price and unrealized PnL.Track open positions using List Portfolio Positions. This returns all active positions with entry prices, unrealized PnL, and margin usage.
A fill is a completed trade execution representing part or all of an order being matched. Fills are generated for all instrument types—both perpetual futures and spot trades appear in the fill history.Retrieve trade execution history using List Portfolio Fills. Each fill includes the instrument, price, size, side, and fee details.
Transfer assets between portfolios using Transfer Funds. This moves cryptocurrency holdings (e.g., USDC, BTC) from one portfolio to another, enabling efficient capital allocation across different trading strategies.Note: This transfers assets (your held balances), not positions. To move open derivatives positions, see Position Transfers.
Report incorrect code
Copy
Ask AI
from intx_sdk import IntxServicesClientfrom intx_sdk.services.portfolios import TransferFundsRequestclient = IntxServicesClient.from_env()request = TransferFundsRequest( from_portfolio="source-portfolio-id", to_portfolio="destination-portfolio-id", asset="USDC", # The asset to transfer (not an instrument) quantity="1000")response = client.portfolios.transfer_funds(request)
Transfer open positions between portfolios using Transfer Position. This moves an open derivatives position (e.g., a BTC-PERP long) from one portfolio to another—useful for consolidating positions or rebalancing across strategies.Note: This transfers positions in an instrument, not asset balances. To move cryptocurrency holdings, see Fund Transfers.
Enable or disable cross-collateral functionality using Enable/Disable Cross Collateral. Cross-collateral allows using multiple assets as margin for positions.