mcp

package
v0.1.0-dev0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterTools

func RegisterTools(srv *server.MCPServer, manager *kc.Manager)

Types

type CancelOrderTool

type CancelOrderTool struct{}

func (*CancelOrderTool) Handler

func (*CancelOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*CancelOrderTool) Tool

func (*CancelOrderTool) Tool() mcp.Tool

type DeleteGTTOrderTool

type DeleteGTTOrderTool struct{}

func (*DeleteGTTOrderTool) Handler

func (*DeleteGTTOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*DeleteGTTOrderTool) Tool

func (*DeleteGTTOrderTool) Tool() mcp.Tool

type GTTOrdersTool

type GTTOrdersTool struct{}

func (*GTTOrdersTool) Handler

func (*GTTOrdersTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*GTTOrdersTool) Tool

func (*GTTOrdersTool) Tool() mcp.Tool

type HistoricalDataTool

type HistoricalDataTool struct{}

func (*HistoricalDataTool) Handler

func (*HistoricalDataTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*HistoricalDataTool) Tool

func (*HistoricalDataTool) Tool() mcp.Tool

type HoldingsTool

type HoldingsTool struct{}

func (*HoldingsTool) Handler

func (*HoldingsTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*HoldingsTool) Tool

func (*HoldingsTool) Tool() mcp.Tool

type InstrumentsSearchTool

type InstrumentsSearchTool struct{}

func (*InstrumentsSearchTool) Handler

func (*InstrumentsSearchTool) Tool

func (*InstrumentsSearchTool) Tool() mcp.Tool

type LTPTool

type LTPTool struct{}

func (*LTPTool) Handler

func (*LTPTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*LTPTool) Tool

func (*LTPTool) Tool() mcp.Tool

type LoginTool

type LoginTool struct{}

func (*LoginTool) Handler

func (*LoginTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*LoginTool) Tool

func (*LoginTool) Tool() mcp.Tool

type MFHoldingsTool

type MFHoldingsTool struct{}

func (*MFHoldingsTool) Handler

func (*MFHoldingsTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*MFHoldingsTool) Tool

func (*MFHoldingsTool) Tool() mcp.Tool

type MarginsTool

type MarginsTool struct{}

func (*MarginsTool) Handler

func (*MarginsTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*MarginsTool) Tool

func (*MarginsTool) Tool() mcp.Tool

type ModifyGTTOrderTool

type ModifyGTTOrderTool struct{}

func (*ModifyGTTOrderTool) Handler

func (*ModifyGTTOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*ModifyGTTOrderTool) Tool

func (*ModifyGTTOrderTool) Tool() mcp.Tool

type ModifyOrderTool

type ModifyOrderTool struct{}

func (*ModifyOrderTool) Handler

func (*ModifyOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*ModifyOrderTool) Tool

func (*ModifyOrderTool) Tool() mcp.Tool

type OHLCTool

type OHLCTool struct{}

func (*OHLCTool) Handler

func (*OHLCTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*OHLCTool) Tool

func (*OHLCTool) Tool() mcp.Tool

type OrderHistoryTool

type OrderHistoryTool struct{}

func (*OrderHistoryTool) Handler

func (*OrderHistoryTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*OrderHistoryTool) Tool

func (*OrderHistoryTool) Tool() mcp.Tool

type OrderTradesTool

type OrderTradesTool struct{}

func (*OrderTradesTool) Handler

func (*OrderTradesTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*OrderTradesTool) Tool

func (*OrderTradesTool) Tool() mcp.Tool

type OrdersTool

type OrdersTool struct{}

func (*OrdersTool) Handler

func (*OrdersTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*OrdersTool) Tool

func (*OrdersTool) Tool() mcp.Tool

type PlaceGTTOrderTool

type PlaceGTTOrderTool struct{}

func (*PlaceGTTOrderTool) Handler

func (*PlaceGTTOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*PlaceGTTOrderTool) Tool

func (*PlaceGTTOrderTool) Tool() mcp.Tool

type PlaceOrderTool

type PlaceOrderTool struct{}

func (*PlaceOrderTool) Handler

func (*PlaceOrderTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*PlaceOrderTool) Tool

func (*PlaceOrderTool) Tool() mcp.Tool

type PositionsTool

type PositionsTool struct{}

func (*PositionsTool) Handler

func (*PositionsTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*PositionsTool) Tool

func (*PositionsTool) Tool() mcp.Tool

type ProfileTool

type ProfileTool struct{}

func (*ProfileTool) Handler

func (*ProfileTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*ProfileTool) Tool

func (*ProfileTool) Tool() mcp.Tool

type QuotesTool

type QuotesTool struct{}

func (*QuotesTool) Handler

func (*QuotesTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*QuotesTool) Tool

func (*QuotesTool) Tool() mcp.Tool

type Tool

type Tool interface {
	Tool() gomcp.Tool
	Handler(*kc.Manager) server.ToolHandlerFunc
}

type TradesTool

type TradesTool struct{}

func (*TradesTool) Handler

func (*TradesTool) Handler(manager *kc.Manager) server.ToolHandlerFunc

func (*TradesTool) Tool

func (*TradesTool) Tool() mcp.Tool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL