Skip to main content
Glama

Controtto

by contre95
asset.go657 B
package pnl // type Symbol string const ( Crypto AssetType = "Crypto" Forex AssetType = "Forex" Stock AssetType = "Stock" ) type AssetType string func GetValidTypes() []AssetType { return []AssetType{Crypto, Forex, Stock} } // Asset represents individual assets like BTC, USD, EUR, etc. the Symbol property uniquely identifies an asset. type Asset struct { Symbol string Color string Name string CountryCode string Type AssetType } // Assets is the repository that handles the CRUD of Assets type Assets interface { AddAsset(a Asset) error ListAssets() ([]Asset, error) GetAsset(symbol string) (*Asset, error) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/contre95/controtto'

If you have feedback or need assistance with the MCP directory API, please join our Discord server