MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

FunctionPanic
(args ...interface{})
logger/logger.go:177
FunctionPanicf
(format string, args ...interface{})
logger/logger.go:181
MethodParseMCPResponse
(body []byte)
mcp/client.go:267
MethodParseMCPResponse
(body []byte)
mcp/payment/claw402.go:258
MethodParseMCPResponse
── Response parsers ────────────────────────────────────────────────────────── ParseMCPResponse extracts the plain-text reply from an Anthropic respon
mcp/provider/claude.go:227
MethodParseMCPResponseFull
(body []byte)
mcp/mock_test.go:293
MethodParseMCPResponseFull
(body []byte)
mcp/payment/claw402.go:265
MethodPlaceLimitOrder
PlaceLimitOrder implements limit order using available methods For exchanges without native limit order support, this uses conditional orders
trader/interface.go:33
MethodPlaceLimitOrder
PlaceLimitOrder implements limit order using available methods For exchanges without native limit order support, this uses conditional orders
trader/types/interface.go:175
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading This implements the GridTrader interface for FuturesTrader
trader/binance/futures_orders.go:418
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/bybit/trader_orders.go:589
MethodPlaceLimitOrder
PlaceLimitOrder implements GridTrader interface for grid trading Places a limit order at the specified price
trader/lighter/trading.go:929
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading
trader/aster/trader_orders.go:705
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/bitget/trader_orders.go:629
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/hyperliquid/trader_orders.go:1031
MethodPlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/okx/trader_orders.go:810
MethodPlaceholder
Placeholder returns placeholder for parameterized queries SQLite uses ?, PostgreSQL uses $1, $2, etc.
store/driver.go:115
FunctionPositionHistory
({ traderId }: PositionHistoryProps)
web/src/components/trader/PositionHistory.tsx:336
FunctionPositionRow
({ position }: { position: HistoricalPosition })
web/src/components/trader/PositionHistory.tsx:232
MethodPriceRank
PriceRank PriceChg Ranking
provider/coinank/instrument_agg_rank.go:93
FunctionPunkAvatar
({ seed, size = 40, className = '' }: PunkAvatarProps)
web/src/components/common/PunkAvatar.tsx:49
FunctionReadAllLimited
ReadAllLimited reads all bytes from r up to maxBytes. If maxBytes <= 0, it defaults to MaxResponseBody (10MB). Returns an error if the response exceed
safe/io.go:15
FunctionRegisterHook
(key string, hook HookFunc)
hook/hooks.go:30
FunctionRegisterPage
()
web/src/components/auth/RegisterPage.tsx:14
FunctionRegistrationDisabled
()
web/src/components/auth/RegistrationDisabled.tsx:5
MethodReset
Reset clears memory for the given chat (called on /start).
telegram/agent/manager.go:55
FunctionResetPasswordPage
()
web/src/components/auth/ResetPasswordPage.tsx:11
FunctionResolveClient
ResolveClient returns a nofxos data client, routed through the claw402 x402 payment gateway when a wallet key is available. Resolution order: the expl
provider/nofxos/client_resolve.go:14
FunctionRiskRadar
({ positions, account, config, fullStats }: RiskRadarProps)
web/src/components/terminal/RiskRadar.tsx:48
MethodRoundTrip
(req *http.Request)
trader/bybit/trader.go:86
MethodRoundTrip
(req *http.Request)
trader/okx/trader_margin_mode_test.go:25
MethodRoundTrip
RoundTrip implements http.RoundTripper interface
mcp/mock_test.go:145
FunctionRow
({ px, sz, cum, maxCum, side, h, mark }: RowProps)
web/src/components/terminal/OrderBook.tsx:273
MethodRun
Run processes a message for the given chat ID. If the same chat is already processing a message, this call blocks until it completes or the lane wait
telegram/agent/manager.go:42
FunctionSafeFloat64
SafeFloat64 Safely extract float64 value from map
trader/helpers.go:9
FunctionSafeForbidden
SafeForbidden returns forbidden error
api/errors.go:76
FunctionSafeInt
SafeInt Safely extract int value from map
trader/helpers.go:54
FunctionSafeString
SafeString Safely extract string value from map
trader/helpers.go:37
FunctionSafeUnauthorized
SafeUnauthorized returns unauthorized error
api/errors.go:71
MethodSave
Save saves equity snapshot
store/equity.go:50
MethodSaveGridConfig
==================== Config Operations ==================== SaveGridConfig saves or updates a grid configuration
store/grid.go:258
MethodSaveGridEvent
==================== Event Operations ==================== SaveGridEvent saves a grid event
store/grid.go:410
MethodSaveGridInstance
==================== Instance Operations ==================== SaveGridInstance saves or updates a grid instance
store/grid.go:331
MethodSaveGridLevel
==================== Level Operations ==================== SaveGridLevel saves or updates a grid level
store/grid.go:373
MethodSaveGridLevels
SaveGridLevels saves multiple grid levels
store/grid.go:379
MethodSaveGridRegimeAssessment
==================== Regime Assessment Operations ==================== SaveGridRegimeAssessment saves a regime assessment
store/grid.go:459
MethodSaveToken
Get current config (may not exist)
store/telegram_config.go:38
MethodSaveToken
(botToken string)
store/telegram_config.go:72
MethodSetAPIKey
(_, _, _ string)
telegram/agent/agent_test.go:23
MethodSetAPIKey
SetCustomAPI sets custom OpenAI-compatible API
mcp/client.go:149
MethodSetAPIKey
SetAPIKey stores the EVM private key and selects the model endpoint.
mcp/payment/claw402.go:128
MethodSetAPIKey
── Hook overrides ──────────────────────────────────────────────────────────── SetAPIKey stores credentials and optional custom endpoint / model.
mcp/provider/claude.go:68
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/minimax.go:50
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/gemini.go:50
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/kimi.go:51
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/qwen.go:52
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/openai.go:50
MethodSetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/grok.go:50
MethodSetAuthHeader
(reqHeader http.Header)
mcp/client.go:212
MethodSetAuthHeader
(h http.Header)
mcp/payment/claw402.go:167
MethodSetAuthHeader
SetAuthHeader uses x-api-key instead of Authorization: Bearer.
mcp/provider/claude.go:84
MethodSetAuthHeader
MiniMax uses standard OpenAI-compatible API with Bearer auth
mcp/provider/minimax.go:71
MethodSetAuthHeader
Gemini OpenAI-compatible API uses standard Bearer auth
mcp/provider/gemini.go:71
MethodSetAuthHeader
Kimi uses standard OpenAI-compatible API
mcp/provider/kimi.go:72
MethodSetAuthHeader
(reqHeaders http.Header)
mcp/provider/deepseek.go:67
MethodSetAuthHeader
(reqHeaders http.Header)
mcp/provider/qwen.go:72
MethodSetAuthHeader
OpenAI uses standard Bearer auth
mcp/provider/openai.go:71
MethodSetAuthHeader
Grok uses standard OpenAI-compatible API with Bearer auth
mcp/provider/grok.go:71
MethodSetConfig
SetConfig updates client configuration
provider/nofxos/client.go:71
FunctionSetEnabled
(enabled bool)
telemetry/experience.go:87
MethodSetLanguage
(lang string)
store/telegram_config.go:140
MethodSetMarginMode
SetMarginMode sets margin mode
trader/binance/futures_positions.go:69
MethodSetMarginMode
SetMarginMode sets margin mode
trader/kucoin/trader_orders.go:519
MethodSetMarginMode
SetMarginMode sets position margin mode
trader/bybit/trader_orders.go:217
MethodSetMarginMode
SetMarginMode Set margin mode (implements Trader interface) Lighter uses UpdateLeverage transaction which includes both leverage and margin mode Margi
trader/lighter/trading.go:687
MethodSetMarginMode
SetMarginMode Set margin mode
trader/aster/trader_positions.go:66
MethodSetMarginMode
SetMarginMode sets margin mode
trader/bitget/trader_account.go:78
MethodSetMarginMode
SetMarginMode sets margin mode (set together with SetLeverage)
trader/hyperliquid/trader_positions.go:142
MethodSetMarginMode
SetMarginMode sets margin mode (cross or isolated)
trader/gate/trader_orders.go:34
MethodSetMarginMode
SetMarginMode configures the margin mode (cross/isolated) that will be applied to all subsequent leverage and order requests for this trader instance.
trader/okx/trader_account.go:103
MethodSetStopLoss
SetStopLoss sets stop-loss order using new Algo Order API Binance has migrated stop orders to Algo Order system (error -4120 STOP_ORDER_SWITCH_ALGO)
trader/binance/futures_orders.go:655
MethodSetStopLoss
SetStopLoss sets stop loss order
trader/kucoin/trader_orders.go:342
MethodSetStopLoss
SetStopLoss sets stop loss order
trader/bybit/trader_orders.go:282
MethodSetStopLoss
SetStopLoss Set stop-loss order (implements Trader interface) IMPORTANT: Uses StopLossOrder type (type=2) with TriggerPrice, NOT regular limit order
trader/lighter/orders.go:17
MethodSetStopLoss
SetStopLoss Set stop loss
trader/aster/trader_orders.go:332
MethodSetStopLoss
SetStopLoss sets stop loss order
trader/bitget/trader_orders.go:256
MethodSetStopLoss
SetStopLoss sets stop loss order
trader/hyperliquid/trader_orders.go:934
MethodSetStopLoss
SetStopLoss sets a stop loss order
trader/gate/trader_orders.go:324
MethodSetStopLoss
SetStopLoss sets stop loss order
trader/okx/trader_orders.go:404
MethodSetTakeProfit
SetTakeProfit sets take-profit order using new Algo Order API Binance has migrated stop orders to Algo Order system (error -4120 STOP_ORDER_SWITCH_ALG
trader/binance/futures_orders.go:689
MethodSetTakeProfit
SetTakeProfit sets take profit order
trader/kucoin/trader_orders.go:382
MethodSetTakeProfit
SetTakeProfit sets take profit order
trader/bybit/trader_orders.go:328
MethodSetTakeProfit
SetTakeProfit Set take-profit order (implements Trader interface) IMPORTANT: Uses TakeProfitOrder type (type=4) with TriggerPrice, NOT regular limit o
trader/lighter/orders.go:39
MethodSetTakeProfit
SetTakeProfit Set take profit
trader/aster/trader_orders.go:373
MethodSetTakeProfit
SetTakeProfit sets take profit order
trader/bitget/trader_orders.go:295
MethodSetTakeProfit
SetTakeProfit sets take profit order
trader/hyperliquid/trader_orders.go:982
MethodSetTakeProfit
SetTakeProfit sets a take profit order
trader/gate/trader_orders.go:376
MethodSetTakeProfit
SetTakeProfit sets take profit order
trader/okx/trader_orders.go:449
MethodSetTelegramReloadCh
SetTelegramReloadCh sets the channel used to signal the Telegram bot to reload
api/server.go:726
MethodSetTimeout
(_ time.Duration)
telegram/agent/agent_test.go:24
← previousnext →2,001–2,100 of 2,846, ranked by callers