Documentation
¶
Overview ¶
Package server contains Portosync server component
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balance ¶
type Balance struct {
SourceType string `` /* 139-byte string literal not displayed */
SourceAccount string `` /* 147-byte string literal not displayed */
AssetSymbol string `json:"asset_symbol" jsonschema:"description:Trading symbol or ticker of the asset (e.g., BBCA for Bank Central Asia stock)"`
AssetName string `json:"asset_name" jsonschema:"description:Full descriptive name of the asset"`
AssetType string `json:"asset_type" jsonschema:"description:Primary classification of the asset (e.g., Stock, Bond, Mutual Fund)"`
AssetSubType string `` /* 136-byte string literal not displayed */
UnitsAmount float64 `json:"units_amount" jsonschema:"description:Quantity of asset units held in the account"`
UnitsValue float64 `json:"units_value" jsonschema:"description:Total monetary value of the asset holdings in the specified currency"`
UnitsCurrency string `` /* 133-byte string literal not displayed */
}
func (Balance) AssetTypeFull ¶
func (Balance) Description ¶
type GetPortfolioArgs ¶
type GetPortfolioArgs struct {
AccountNames []string `` /* 295-byte string literal not displayed */
}
type GetPortfolioResult ¶
type GetPortfolioResult struct {
Balances []Balance `` /* 183-byte string literal not displayed */
}
func (GetPortfolioResult) Description ¶
func (r GetPortfolioResult) Description() string
Description returns a description of the GetPortfolioResult as MCP response text
type ListAccountNamesArgs ¶ added in v0.3.0
type ListAccountNamesArgs struct {
}
type ListAccountNamesResult ¶ added in v0.3.0
type ListAccountNamesResult struct {
AccountNames []string `` /* 194-byte string literal not displayed */
}
func (ListAccountNamesResult) Description ¶ added in v0.3.0
func (r ListAccountNamesResult) Description() string
Description returns a description of the ListAccountNamesResult as MCP response text
Click to show internal directories.
Click to hide internal directories.