Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NoFxAiOS/nofx
/ functions
Functions
2,846 in github.com/NoFxAiOS/nofx
⨍
Functions
2,846
◇
Types & classes
581
Function
Panic
(args ...interface{})
logger/logger.go:177
Function
Panicf
(format string, args ...interface{})
logger/logger.go:181
Method
ParseMCPResponse
(body []byte)
mcp/client.go:267
Method
ParseMCPResponse
(body []byte)
mcp/payment/claw402.go:258
Method
ParseMCPResponse
── Response parsers ────────────────────────────────────────────────────────── ParseMCPResponse extracts the plain-text reply from an Anthropic respon
mcp/provider/claude.go:227
Method
ParseMCPResponseFull
(body []byte)
mcp/mock_test.go:293
Method
ParseMCPResponseFull
(body []byte)
mcp/payment/claw402.go:265
Method
PlaceLimitOrder
PlaceLimitOrder implements limit order using available methods For exchanges without native limit order support, this uses conditional orders
trader/interface.go:33
Method
PlaceLimitOrder
PlaceLimitOrder implements limit order using available methods For exchanges without native limit order support, this uses conditional orders
trader/types/interface.go:175
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading This implements the GridTrader interface for FuturesTrader
trader/binance/futures_orders.go:418
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/bybit/trader_orders.go:589
Method
PlaceLimitOrder
PlaceLimitOrder implements GridTrader interface for grid trading Places a limit order at the specified price
trader/lighter/trading.go:929
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading
trader/aster/trader_orders.go:705
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/bitget/trader_orders.go:629
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/hyperliquid/trader_orders.go:1031
Method
PlaceLimitOrder
PlaceLimitOrder places a limit order for grid trading Implements GridTrader interface
trader/okx/trader_orders.go:810
Method
Placeholder
Placeholder returns placeholder for parameterized queries SQLite uses ?, PostgreSQL uses $1, $2, etc.
store/driver.go:115
Function
PositionHistory
({ traderId }: PositionHistoryProps)
web/src/components/trader/PositionHistory.tsx:336
Function
PositionRow
({ position }: { position: HistoricalPosition })
web/src/components/trader/PositionHistory.tsx:232
Method
PriceRank
PriceRank PriceChg Ranking
provider/coinank/instrument_agg_rank.go:93
Function
PunkAvatar
({ seed, size = 40, className = '' }: PunkAvatarProps)
web/src/components/common/PunkAvatar.tsx:49
Function
ReadAllLimited
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
Function
RegisterHook
(key string, hook HookFunc)
hook/hooks.go:30
Function
RegisterPage
()
web/src/components/auth/RegisterPage.tsx:14
Function
RegistrationDisabled
()
web/src/components/auth/RegistrationDisabled.tsx:5
Method
Reset
Reset clears memory for the given chat (called on /start).
telegram/agent/manager.go:55
Function
ResetPasswordPage
()
web/src/components/auth/ResetPasswordPage.tsx:11
Function
ResolveClient
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
Function
RiskRadar
({ positions, account, config, fullStats }: RiskRadarProps)
web/src/components/terminal/RiskRadar.tsx:48
Method
RoundTrip
(req *http.Request)
trader/bybit/trader.go:86
Method
RoundTrip
(req *http.Request)
trader/okx/trader_margin_mode_test.go:25
Method
RoundTrip
RoundTrip implements http.RoundTripper interface
mcp/mock_test.go:145
Function
Row
({ px, sz, cum, maxCum, side, h, mark }: RowProps)
web/src/components/terminal/OrderBook.tsx:273
Method
Run
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
Function
SafeFloat64
SafeFloat64 Safely extract float64 value from map
trader/helpers.go:9
Function
SafeForbidden
SafeForbidden returns forbidden error
api/errors.go:76
Function
SafeInt
SafeInt Safely extract int value from map
trader/helpers.go:54
Function
SafeString
SafeString Safely extract string value from map
trader/helpers.go:37
Function
SafeUnauthorized
SafeUnauthorized returns unauthorized error
api/errors.go:71
Method
Save
Save saves equity snapshot
store/equity.go:50
Method
SaveGridConfig
==================== Config Operations ==================== SaveGridConfig saves or updates a grid configuration
store/grid.go:258
Method
SaveGridEvent
==================== Event Operations ==================== SaveGridEvent saves a grid event
store/grid.go:410
Method
SaveGridInstance
==================== Instance Operations ==================== SaveGridInstance saves or updates a grid instance
store/grid.go:331
Method
SaveGridLevel
==================== Level Operations ==================== SaveGridLevel saves or updates a grid level
store/grid.go:373
Method
SaveGridLevels
SaveGridLevels saves multiple grid levels
store/grid.go:379
Method
SaveGridRegimeAssessment
==================== Regime Assessment Operations ==================== SaveGridRegimeAssessment saves a regime assessment
store/grid.go:459
Method
SaveToken
Get current config (may not exist)
store/telegram_config.go:38
Method
SaveToken
(botToken string)
store/telegram_config.go:72
Method
SetAPIKey
(_, _, _ string)
telegram/agent/agent_test.go:23
Method
SetAPIKey
SetCustomAPI sets custom OpenAI-compatible API
mcp/client.go:149
Method
SetAPIKey
SetAPIKey stores the EVM private key and selects the model endpoint.
mcp/payment/claw402.go:128
Method
SetAPIKey
── Hook overrides ──────────────────────────────────────────────────────────── SetAPIKey stores credentials and optional custom endpoint / model.
mcp/provider/claude.go:68
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/minimax.go:50
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/gemini.go:50
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/kimi.go:51
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/qwen.go:52
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/openai.go:50
Method
SetAPIKey
(apiKey string, customURL string, customModel string)
mcp/provider/grok.go:50
Method
SetAuthHeader
(reqHeader http.Header)
mcp/client.go:212
Method
SetAuthHeader
(h http.Header)
mcp/payment/claw402.go:167
Method
SetAuthHeader
SetAuthHeader uses x-api-key instead of Authorization: Bearer.
mcp/provider/claude.go:84
Method
SetAuthHeader
MiniMax uses standard OpenAI-compatible API with Bearer auth
mcp/provider/minimax.go:71
Method
SetAuthHeader
Gemini OpenAI-compatible API uses standard Bearer auth
mcp/provider/gemini.go:71
Method
SetAuthHeader
Kimi uses standard OpenAI-compatible API
mcp/provider/kimi.go:72
Method
SetAuthHeader
(reqHeaders http.Header)
mcp/provider/deepseek.go:67
Method
SetAuthHeader
(reqHeaders http.Header)
mcp/provider/qwen.go:72
Method
SetAuthHeader
OpenAI uses standard Bearer auth
mcp/provider/openai.go:71
Method
SetAuthHeader
Grok uses standard OpenAI-compatible API with Bearer auth
mcp/provider/grok.go:71
Method
SetConfig
SetConfig updates client configuration
provider/nofxos/client.go:71
Function
SetEnabled
(enabled bool)
telemetry/experience.go:87
Method
SetLanguage
(lang string)
store/telegram_config.go:140
Method
SetMarginMode
SetMarginMode sets margin mode
trader/binance/futures_positions.go:69
Method
SetMarginMode
SetMarginMode sets margin mode
trader/kucoin/trader_orders.go:519
Method
SetMarginMode
SetMarginMode sets position margin mode
trader/bybit/trader_orders.go:217
Method
SetMarginMode
SetMarginMode Set margin mode (implements Trader interface) Lighter uses UpdateLeverage transaction which includes both leverage and margin mode Margi
trader/lighter/trading.go:687
Method
SetMarginMode
SetMarginMode Set margin mode
trader/aster/trader_positions.go:66
Method
SetMarginMode
SetMarginMode sets margin mode
trader/bitget/trader_account.go:78
Method
SetMarginMode
SetMarginMode sets margin mode (set together with SetLeverage)
trader/hyperliquid/trader_positions.go:142
Method
SetMarginMode
SetMarginMode sets margin mode (cross or isolated)
trader/gate/trader_orders.go:34
Method
SetMarginMode
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
Method
SetStopLoss
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
Method
SetStopLoss
SetStopLoss sets stop loss order
trader/kucoin/trader_orders.go:342
Method
SetStopLoss
SetStopLoss sets stop loss order
trader/bybit/trader_orders.go:282
Method
SetStopLoss
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
Method
SetStopLoss
SetStopLoss Set stop loss
trader/aster/trader_orders.go:332
Method
SetStopLoss
SetStopLoss sets stop loss order
trader/bitget/trader_orders.go:256
Method
SetStopLoss
SetStopLoss sets stop loss order
trader/hyperliquid/trader_orders.go:934
Method
SetStopLoss
SetStopLoss sets a stop loss order
trader/gate/trader_orders.go:324
Method
SetStopLoss
SetStopLoss sets stop loss order
trader/okx/trader_orders.go:404
Method
SetTakeProfit
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
Method
SetTakeProfit
SetTakeProfit sets take profit order
trader/kucoin/trader_orders.go:382
Method
SetTakeProfit
SetTakeProfit sets take profit order
trader/bybit/trader_orders.go:328
Method
SetTakeProfit
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
Method
SetTakeProfit
SetTakeProfit Set take profit
trader/aster/trader_orders.go:373
Method
SetTakeProfit
SetTakeProfit sets take profit order
trader/bitget/trader_orders.go:295
Method
SetTakeProfit
SetTakeProfit sets take profit order
trader/hyperliquid/trader_orders.go:982
Method
SetTakeProfit
SetTakeProfit sets a take profit order
trader/gate/trader_orders.go:376
Method
SetTakeProfit
SetTakeProfit sets take profit order
trader/okx/trader_orders.go:449
Method
SetTelegramReloadCh
SetTelegramReloadCh sets the channel used to signal the Telegram bot to reload
api/server.go:726
Method
SetTimeout
(_ time.Duration)
telegram/agent/agent_test.go:24
← previous
next →
2,001–2,100 of 2,846, ranked by callers