A guide to creating and configuring portfolios using the Glider API
name
: The display name of the portfoliodescription
: A description of the portfolioentry
: The portfolio structure
blockType
: The type of portfolio structure (e.g., “weight” for weighted allocation)weightType
: For weighted portfolios, specifies how weights are calculated (e.g., “specified-percentage”)weightings
: Array of string percentages for each assetchildren
: Array of assets or nested structures
{ blockType: "asset", assetId: "0xTokenAddress:chainId" }
tradingSettings
: Rebalancing settings
type
: “threshold” or “calendar”triggerPercentage
: For threshold type, the deviation percentage that triggers rebalancingfrequency
: For calendar type, how often to rebalance (e.g., “daily”, “weekly”, “monthly”)