MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

↓ 1 callersFunctionminInt
(a, b int)
kernel/engine.go:873
↓ 1 callersFunctionmissingExchangeCredentials
(exchangeCfg *store.Exchange)
api/exchange_account_state.go:321
↓ 1 callersFunctionmissingExchangeFields
(exchange *store.Exchange)
api/handler_trader.go:104
↓ 1 callersFunctionnewAPICallTool
(port int, token string)
telegram/agent/apicall.go:126
↓ 1 callersFunctionnormBias
(raw: string)
web/src/components/terminal/SignalMatrix.tsx:22
↓ 1 callersMethodnormalize
normalize Recursively normalize parameters (sorted by key, all values converted to strings)
trader/aster/trader.go:224
↓ 1 callersFunctionnormalizeAESKey
normalizeAESKey normalizes AES key length
crypto/crypto.go:153
↓ 1 callersMethodnormalizeAndStringify
normalizeAndStringify Normalize parameters and serialize to JSON string (sorted by key)
trader/aster/trader.go:211
↓ 1 callersFunctionnormalizeCoinSourceType
(value string)
store/strategy.go:280
↓ 1 callersFunctionnormalizeStrategyConfigPatch
(patch map[string]any)
store/strategy.go:502
↓ 1 callersFunctionnormalizeStrategyType
(value string)
store/strategy.go:268
↓ 1 callersFunctionnormalizeTimeframes
(values []string)
store/strategy.go:345
↓ 1 callersFunctionnormalizeTimestamp
(ts: string)
web/src/components/charts/ComparisonChart.tsx:100
↓ 1 callersFunctionopenActionSide
(action string)
trader/auto_trader_throttle.go:59
↓ 1 callersFunctionopenPostgres
openPostgres opens PostgreSQL database
store/driver.go:210
↓ 1 callersFunctionopenSQLite
openSQLite opens SQLite database
store/driver.go:172
↓ 1 callersMethodopenThrottleReason
(decision kernel.Decision, ctx *kernel.Context, opensQueuedThisCycle int)
trader/auto_trader_throttle.go:89
↓ 1 callersFunctionparseBigInt
(s string)
mcp/payment/x402.go:853
↓ 1 callersMethodparseClosedPnLResult
parseClosedPnLResult parses the closed PnL result from Bybit API
trader/bybit/trader_account.go:169
↓ 1 callersFunctionparseCustomTime
(time: any)
web/src/components/charts/ChartWithOrders.tsx:61
↓ 1 callersFunctionparseCustomTime
(time: any)
web/src/components/charts/AdvancedChart.tsx:191
↓ 1 callersFunctionparseFullDecisionResponse
============================================================================ AI Response Parsing =====================================================
kernel/engine_analysis.go:271
↓ 1 callersFunctionparseGridDecisions
parseGridDecisions parses AI response into grid decisions
kernel/grid_engine.go:489
↓ 1 callersFunctionparseKline
(kr KlineResponse)
market/api_client.go:103
↓ 1 callersFunctionparseLangChoice
(text string)
telegram/bot.go:405
↓ 1 callersFunctionparseRankItem
(obj map[string]any, fallbackRank int)
provider/vergex/client.go:744
↓ 1 callersFunctionparseScanMinutes
(scan?: string)
web/src/components/terminal/TerminalDashboard.tsx:58
↓ 1 callersFunctionparseTimeframeToMinutes
parseTimeframeToMinutes parses timeframe string to minutes
market/data_klines.go:272
↓ 1 callersMethodparseTradesResult
parseTradesResult parses the execution list result from Bybit API
trader/bybit/order_sync.go:107
↓ 1 callersFunctionpasswordChecklistValidation
(pwd: string, confirm: string)
web/src/components/auth/RegisterPage.test.tsx:324
↓ 1 callersMethodpauseGrid
pauseGrid pauses grid trading
trader/auto_trader_grid_orders.go:205
↓ 1 callersFunctionpersistBeginnerWalletEnv
(privateKey string, address string)
api/handler_onboarding.go:241
↓ 1 callersFunctionpickTradingExchange
(exchanges: Exchange[])
web/src/pages/StrategyStudioPage.tsx:107
↓ 1 callersMethodpollForOrderIndex
pollForOrderIndex polls active orders to find the order_index for a newly created order Returns the highest order_index (newest order) for the given s
trader/lighter/trading.go:443
↓ 1 callersMethodpollLighterTradeHistory
pollLighterTradeHistory No longer used - Lighter orders are marked as FILLED immediately Keeping this function stub for compatibility with other excha
api/handler_trader_status.go:524
↓ 1 callersMethodpopulateVergexDetailData
(ctx context.Context, analysis *vergex.MarketAnalysis, query vergex.Query)
kernel/engine.go:1229
↓ 1 callersFunctionprobeExchangeAccountState
(exchangeCfg *store.Exchange, userID string)
api/exchange_account_state.go:148
↓ 1 callersFunctionprofileFromRisk
(risk: RiskControlConfig | null | undefined)
web/src/pages/StrategyStudioPage.tsx:344
↓ 1 callersFunctionpruneCandidateCoinsWithoutMarketData
(ctx *Context)
kernel/engine_analysis.go:252
↓ 1 callersFunctionrankingCategory
(marketType, base string)
provider/vergex/client.go:958
↓ 1 callersFunctionrateLimitMiddleware
rateLimitMiddleware throttles requests per client IP, returning 429 when the caller exceeds the configured rate.
api/ratelimit.go:89
↓ 1 callersFunctionread
(conn *websocket.Conn, ch chan string)
provider/coinank/coinank_api/kline_ws.go:92
↓ 1 callersMethodrecordClosePositionOrder
recordClosePositionOrder Record close position order to database (Lighter version - direct FILLED status)
api/handler_trader_status.go:329
↓ 1 callersMethodrecordOrderFill
recordOrderFill records order fill/trade details
trader/auto_trader_decision.go:460
↓ 1 callersMethodrecordPositionChange
recordPositionChange records position change (create record on open, update record on close)
trader/auto_trader_decision.go:361
↓ 1 callersFunctionrefreshEverything
()
web/src/components/trader/AutopilotLaunchPanel.tsx:280
↓ 1 callersMethodreloadStrategyConfigIfChanged
()
trader/auto_trader.go:401
↓ 1 callersFunctionremoveInvisibleRunes
(s string)
kernel/engine_analysis.go:436
↓ 1 callersFunctionrenderAccessories
()
web/src/components/common/PunkAvatar.tsx:256
↓ 1 callersFunctionrenderEyes
()
web/src/components/common/PunkAvatar.tsx:155
↓ 1 callersFunctionrenderHair
()
web/src/components/common/PunkAvatar.tsx:85
↓ 1 callersFunctionrenderMouth
()
web/src/components/common/PunkAvatar.tsx:215
↓ 1 callersFunctionrenderPrimaryAction
()
web/src/components/trader/AutopilotLaunchPanel.tsx:468
↓ 1 callersFunctionrenderStatus
()
web/src/components/common/WebCryptoEnvironmentCheck.tsx:147
↓ 1 callersMethodreset401Flag
* Reset 401 handling flag (call after successful login)
web/src/lib/httpClient.ts:70
↓ 1 callersMethodresolveBeginnerWallet
(userID string)
api/handler_onboarding.go:155
↓ 1 callersFunctionresolveCoin
(base: string, xyzSet: Set<string>)
web/src/components/terminal/OrderBook.tsx:37
↓ 1 callersMethodresolveEndpoint
resolveEndpoint returns the API path for the configured model.
mcp/payment/claw402.go:156
↓ 1 callersFunctionresolveNewPassword
resolveNewPassword returns the new password from the --password flag, or prompts for it (hidden) on a TTY, or reads a single line from piped stdin.
cli.go:189
↓ 1 callersFunctionresolveOneClickExchange
()
web/src/pages/StrategyStudioPage.tsx:1489
↓ 1 callersFunctionresolveOneClickModel
()
web/src/pages/StrategyStudioPage.tsx:1444
↓ 1 callersFunctionresolveToken
resolveToken returns the bot token from DB (configured via Web UI).
telegram/bot.go:45
↓ 1 callersFunctionresolveTraderDataWalletKey
(st *store.Store, userID string, selectedModel *store.AIModel)
manager/trader_manager.go:801
↓ 1 callersMethodresumeGrid
resumeGrid resumes grid trading
trader/auto_trader_grid_orders.go:217
↓ 1 callersFunctionreuseSavedExchangeIfPresent
(address: string)
web/src/components/common/HyperliquidWalletConnect.tsx:425
↓ 1 callersFunctionrunBot
runBot runs the bot until the updates channel closes (clean stop → true) or a fatal error (false).
telegram/bot.go:54
↓ 1 callersFunctionrunCLISubcommand
runCLISubcommand dispatches local admin subcommands. SECURITY: account recovery (reset-password, reset-account) is intentionally NOT exposed over HTT
cli.go:39
↓ 1 callersMethodrunPreLaunchChecks
runPreLaunchChecks performs pre-launch checks for claw402 users (wallet balance, runway estimate)
trader/auto_trader.go:694
↓ 1 callersMethodrunRealAITest
runRealAITest Execute real AI test call
api/strategy.go:725
↓ 1 callersFunctionrunResetAccount
runResetAccount wipes the database back to an uninitialized state. This is the destructive "forgot everything" recovery, moved off the public API.
cli.go:145
↓ 1 callersFunctionrunResetPassword
runResetPassword resets the password for a single account from the command line. Usage: `nofx reset-password --email you@example.com`.
cli.go:98
↓ 1 callersFunctionrunStandardTests
runStandardTests runs all standard test scenarios
trader/exchange_sync_test.go:114
↓ 1 callersFunctionsameSignalItem
(a: VergexSignalItem | null, b: VergexSignalItem)
web/src/pages/StrategyStudioPage.tsx:415
↓ 1 callersMethodsaveEquitySnapshot
saveEquitySnapshot saves equity snapshot independently (for drawing profit curve, decoupled from AI decision)
trader/auto_trader_decision.go:15
↓ 1 callersMethodsaveGridDecisionRecord
saveGridDecisionRecord saves the grid decision to database
trader/auto_trader_grid.go:571
↓ 1 callersFunctionsaveState
(state: FlowState)
web/src/components/common/HyperliquidWalletConnect.tsx:215
↓ 1 callersFunctionsendTradeEvent
sendTradeEvent sends the trade event to GA4
telemetry/experience.go:117
↓ 1 callersFunctionsetBarCount
(count: number)
web/src/pages/StrategyStudioPage.tsx:1656
↓ 1 callersFunctionsetBeginnerWalletAddress
(address: string)
web/src/lib/onboarding.ts:23
↓ 1 callersMethodsetDualSidePosition
setDualSidePosition sets dual-side position mode (called during initialization)
trader/binance/futures.go:93
↓ 1 callersFunctionsetGlobalConfirm
( confirmFn: (options: ConfirmOptions & { message: string }) => Promise<boolean> )
web/src/lib/notify.tsx:16
↓ 1 callersFunctionsetLeverage
(leverage: number)
web/src/pages/StrategyStudioPage.tsx:1667
↓ 1 callersMethodsetPositionMode
setPositionMode sets one-way position mode
trader/bitget/trader.go:110
↓ 1 callersMethodsetPositionMode
setPositionMode sets dual position mode
trader/okx/trader.go:179
↓ 1 callersFunctionsetRef
(itemId: string, element: HTMLElement | null)
web/src/components/faq/FAQContent.tsx:48
↓ 1 callersFunctionsetScope
(nextScope: Scope)
web/src/pages/StrategyStudioPage.tsx:1637
↓ 1 callersFunctionsetTimeframe
(timeframe: string)
web/src/pages/StrategyStudioPage.tsx:1645
↓ 1 callersMethodsetupInterceptors
* Setup request and response interceptors
web/src/lib/httpClient.ts:77
↓ 1 callersFunctionshortAddr
shortAddr renders 0x1234…abcd for log/error strings that may leak into telemetry bundles. The full address stays on the struct for programmatic use.
mcp/payment/claw402.go:44
↓ 1 callersFunctionsideColor
(side: Side)
web/src/components/terminal/ExecutionLog.tsx:44
↓ 1 callersMethodsign
sign generates KuCoin API signature
trader/kucoin/trader.go:172
↓ 1 callersMethodsign
sign Sign request parameters
trader/aster/trader.go:268
↓ 1 callersMethodsign
sign generates Bitget API signature
trader/bitget/trader.go:129
↓ 1 callersMethodsign
sign generates OKX API signature
trader/okx/trader.go:199
↓ 1 callersMethodsignPartner
signPartner generates partner signature: base64(HMAC-SHA256(timestamp + partner + apiKey, partnerKey))
trader/kucoin/trader.go:188
↓ 1 callersMethodsignPassphrase
signPassphrase signs the passphrase with API v2
trader/kucoin/trader.go:181
↓ 1 callersMethodsingleSymbolInfo
singleSymbolInfo returns (true, "ARM-USDC") for static-coin strategies that trade exactly one instrument. Multi-symbol strategies return (false, "").
kernel/engine_prompt.go:443
↓ 1 callersFunctionsortDecisionsByPriority
sortDecisionsByPriority sorts decisions: close positions first, then open positions, finally hold/wait This avoids position stacking overflow when cha
trader/auto_trader_loop.go:724
↓ 1 callersFunctionsortHeatmapZones
(zones []heatmapZone)
provider/vergex/client.go:508
↓ 1 callersFunctionsplitDedup
(items: FunnelItem[])
web/src/components/terminal/OrchestrationTopology.tsx:67
← previousnext →1,401–1,500 of 2,846, ranked by callers