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
↓ 1 callers
Function
minInt
(a, b int)
kernel/engine.go:873
↓ 1 callers
Function
missingExchangeCredentials
(exchangeCfg *store.Exchange)
api/exchange_account_state.go:321
↓ 1 callers
Function
missingExchangeFields
(exchange *store.Exchange)
api/handler_trader.go:104
↓ 1 callers
Function
newAPICallTool
(port int, token string)
telegram/agent/apicall.go:126
↓ 1 callers
Function
normBias
(raw: string)
web/src/components/terminal/SignalMatrix.tsx:22
↓ 1 callers
Method
normalize
normalize Recursively normalize parameters (sorted by key, all values converted to strings)
trader/aster/trader.go:224
↓ 1 callers
Function
normalizeAESKey
normalizeAESKey normalizes AES key length
crypto/crypto.go:153
↓ 1 callers
Method
normalizeAndStringify
normalizeAndStringify Normalize parameters and serialize to JSON string (sorted by key)
trader/aster/trader.go:211
↓ 1 callers
Function
normalizeCoinSourceType
(value string)
store/strategy.go:280
↓ 1 callers
Function
normalizeStrategyConfigPatch
(patch map[string]any)
store/strategy.go:502
↓ 1 callers
Function
normalizeStrategyType
(value string)
store/strategy.go:268
↓ 1 callers
Function
normalizeTimeframes
(values []string)
store/strategy.go:345
↓ 1 callers
Function
normalizeTimestamp
(ts: string)
web/src/components/charts/ComparisonChart.tsx:100
↓ 1 callers
Function
openActionSide
(action string)
trader/auto_trader_throttle.go:59
↓ 1 callers
Function
openPostgres
openPostgres opens PostgreSQL database
store/driver.go:210
↓ 1 callers
Function
openSQLite
openSQLite opens SQLite database
store/driver.go:172
↓ 1 callers
Method
openThrottleReason
(decision kernel.Decision, ctx *kernel.Context, opensQueuedThisCycle int)
trader/auto_trader_throttle.go:89
↓ 1 callers
Function
parseBigInt
(s string)
mcp/payment/x402.go:853
↓ 1 callers
Method
parseClosedPnLResult
parseClosedPnLResult parses the closed PnL result from Bybit API
trader/bybit/trader_account.go:169
↓ 1 callers
Function
parseCustomTime
(time: any)
web/src/components/charts/ChartWithOrders.tsx:61
↓ 1 callers
Function
parseCustomTime
(time: any)
web/src/components/charts/AdvancedChart.tsx:191
↓ 1 callers
Function
parseFullDecisionResponse
============================================================================ AI Response Parsing =====================================================
kernel/engine_analysis.go:271
↓ 1 callers
Function
parseGridDecisions
parseGridDecisions parses AI response into grid decisions
kernel/grid_engine.go:489
↓ 1 callers
Function
parseKline
(kr KlineResponse)
market/api_client.go:103
↓ 1 callers
Function
parseLangChoice
(text string)
telegram/bot.go:405
↓ 1 callers
Function
parseRankItem
(obj map[string]any, fallbackRank int)
provider/vergex/client.go:744
↓ 1 callers
Function
parseScanMinutes
(scan?: string)
web/src/components/terminal/TerminalDashboard.tsx:58
↓ 1 callers
Function
parseTimeframeToMinutes
parseTimeframeToMinutes parses timeframe string to minutes
market/data_klines.go:272
↓ 1 callers
Method
parseTradesResult
parseTradesResult parses the execution list result from Bybit API
trader/bybit/order_sync.go:107
↓ 1 callers
Function
passwordChecklistValidation
(pwd: string, confirm: string)
web/src/components/auth/RegisterPage.test.tsx:324
↓ 1 callers
Method
pauseGrid
pauseGrid pauses grid trading
trader/auto_trader_grid_orders.go:205
↓ 1 callers
Function
persistBeginnerWalletEnv
(privateKey string, address string)
api/handler_onboarding.go:241
↓ 1 callers
Function
pickTradingExchange
(exchanges: Exchange[])
web/src/pages/StrategyStudioPage.tsx:107
↓ 1 callers
Method
pollForOrderIndex
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 callers
Method
pollLighterTradeHistory
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 callers
Method
populateVergexDetailData
(ctx context.Context, analysis *vergex.MarketAnalysis, query vergex.Query)
kernel/engine.go:1229
↓ 1 callers
Function
probeExchangeAccountState
(exchangeCfg *store.Exchange, userID string)
api/exchange_account_state.go:148
↓ 1 callers
Function
profileFromRisk
(risk: RiskControlConfig | null | undefined)
web/src/pages/StrategyStudioPage.tsx:344
↓ 1 callers
Function
pruneCandidateCoinsWithoutMarketData
(ctx *Context)
kernel/engine_analysis.go:252
↓ 1 callers
Function
rankingCategory
(marketType, base string)
provider/vergex/client.go:958
↓ 1 callers
Function
rateLimitMiddleware
rateLimitMiddleware throttles requests per client IP, returning 429 when the caller exceeds the configured rate.
api/ratelimit.go:89
↓ 1 callers
Function
read
(conn *websocket.Conn, ch chan string)
provider/coinank/coinank_api/kline_ws.go:92
↓ 1 callers
Method
recordClosePositionOrder
recordClosePositionOrder Record close position order to database (Lighter version - direct FILLED status)
api/handler_trader_status.go:329
↓ 1 callers
Method
recordOrderFill
recordOrderFill records order fill/trade details
trader/auto_trader_decision.go:460
↓ 1 callers
Method
recordPositionChange
recordPositionChange records position change (create record on open, update record on close)
trader/auto_trader_decision.go:361
↓ 1 callers
Function
refreshEverything
()
web/src/components/trader/AutopilotLaunchPanel.tsx:280
↓ 1 callers
Method
reloadStrategyConfigIfChanged
()
trader/auto_trader.go:401
↓ 1 callers
Function
removeInvisibleRunes
(s string)
kernel/engine_analysis.go:436
↓ 1 callers
Function
renderAccessories
()
web/src/components/common/PunkAvatar.tsx:256
↓ 1 callers
Function
renderEyes
()
web/src/components/common/PunkAvatar.tsx:155
↓ 1 callers
Function
renderHair
()
web/src/components/common/PunkAvatar.tsx:85
↓ 1 callers
Function
renderMouth
()
web/src/components/common/PunkAvatar.tsx:215
↓ 1 callers
Function
renderPrimaryAction
()
web/src/components/trader/AutopilotLaunchPanel.tsx:468
↓ 1 callers
Function
renderStatus
()
web/src/components/common/WebCryptoEnvironmentCheck.tsx:147
↓ 1 callers
Method
reset401Flag
* Reset 401 handling flag (call after successful login)
web/src/lib/httpClient.ts:70
↓ 1 callers
Method
resolveBeginnerWallet
(userID string)
api/handler_onboarding.go:155
↓ 1 callers
Function
resolveCoin
(base: string, xyzSet: Set<string>)
web/src/components/terminal/OrderBook.tsx:37
↓ 1 callers
Method
resolveEndpoint
resolveEndpoint returns the API path for the configured model.
mcp/payment/claw402.go:156
↓ 1 callers
Function
resolveNewPassword
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 callers
Function
resolveOneClickExchange
()
web/src/pages/StrategyStudioPage.tsx:1489
↓ 1 callers
Function
resolveOneClickModel
()
web/src/pages/StrategyStudioPage.tsx:1444
↓ 1 callers
Function
resolveToken
resolveToken returns the bot token from DB (configured via Web UI).
telegram/bot.go:45
↓ 1 callers
Function
resolveTraderDataWalletKey
(st *store.Store, userID string, selectedModel *store.AIModel)
manager/trader_manager.go:801
↓ 1 callers
Method
resumeGrid
resumeGrid resumes grid trading
trader/auto_trader_grid_orders.go:217
↓ 1 callers
Function
reuseSavedExchangeIfPresent
(address: string)
web/src/components/common/HyperliquidWalletConnect.tsx:425
↓ 1 callers
Function
runBot
runBot runs the bot until the updates channel closes (clean stop → true) or a fatal error (false).
telegram/bot.go:54
↓ 1 callers
Function
runCLISubcommand
runCLISubcommand dispatches local admin subcommands. SECURITY: account recovery (reset-password, reset-account) is intentionally NOT exposed over HTT
cli.go:39
↓ 1 callers
Method
runPreLaunchChecks
runPreLaunchChecks performs pre-launch checks for claw402 users (wallet balance, runway estimate)
trader/auto_trader.go:694
↓ 1 callers
Method
runRealAITest
runRealAITest Execute real AI test call
api/strategy.go:725
↓ 1 callers
Function
runResetAccount
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 callers
Function
runResetPassword
runResetPassword resets the password for a single account from the command line. Usage: `nofx reset-password --email you@example.com`.
cli.go:98
↓ 1 callers
Function
runStandardTests
runStandardTests runs all standard test scenarios
trader/exchange_sync_test.go:114
↓ 1 callers
Function
sameSignalItem
(a: VergexSignalItem | null, b: VergexSignalItem)
web/src/pages/StrategyStudioPage.tsx:415
↓ 1 callers
Method
saveEquitySnapshot
saveEquitySnapshot saves equity snapshot independently (for drawing profit curve, decoupled from AI decision)
trader/auto_trader_decision.go:15
↓ 1 callers
Method
saveGridDecisionRecord
saveGridDecisionRecord saves the grid decision to database
trader/auto_trader_grid.go:571
↓ 1 callers
Function
saveState
(state: FlowState)
web/src/components/common/HyperliquidWalletConnect.tsx:215
↓ 1 callers
Function
sendTradeEvent
sendTradeEvent sends the trade event to GA4
telemetry/experience.go:117
↓ 1 callers
Function
setBarCount
(count: number)
web/src/pages/StrategyStudioPage.tsx:1656
↓ 1 callers
Function
setBeginnerWalletAddress
(address: string)
web/src/lib/onboarding.ts:23
↓ 1 callers
Method
setDualSidePosition
setDualSidePosition sets dual-side position mode (called during initialization)
trader/binance/futures.go:93
↓ 1 callers
Function
setGlobalConfirm
( confirmFn: (options: ConfirmOptions & { message: string }) => Promise<boolean> )
web/src/lib/notify.tsx:16
↓ 1 callers
Function
setLeverage
(leverage: number)
web/src/pages/StrategyStudioPage.tsx:1667
↓ 1 callers
Method
setPositionMode
setPositionMode sets one-way position mode
trader/bitget/trader.go:110
↓ 1 callers
Method
setPositionMode
setPositionMode sets dual position mode
trader/okx/trader.go:179
↓ 1 callers
Function
setRef
(itemId: string, element: HTMLElement | null)
web/src/components/faq/FAQContent.tsx:48
↓ 1 callers
Function
setScope
(nextScope: Scope)
web/src/pages/StrategyStudioPage.tsx:1637
↓ 1 callers
Function
setTimeframe
(timeframe: string)
web/src/pages/StrategyStudioPage.tsx:1645
↓ 1 callers
Method
setupInterceptors
* Setup request and response interceptors
web/src/lib/httpClient.ts:77
↓ 1 callers
Function
shortAddr
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 callers
Function
sideColor
(side: Side)
web/src/components/terminal/ExecutionLog.tsx:44
↓ 1 callers
Method
sign
sign generates KuCoin API signature
trader/kucoin/trader.go:172
↓ 1 callers
Method
sign
sign Sign request parameters
trader/aster/trader.go:268
↓ 1 callers
Method
sign
sign generates Bitget API signature
trader/bitget/trader.go:129
↓ 1 callers
Method
sign
sign generates OKX API signature
trader/okx/trader.go:199
↓ 1 callers
Method
signPartner
signPartner generates partner signature: base64(HMAC-SHA256(timestamp + partner + apiKey, partnerKey))
trader/kucoin/trader.go:188
↓ 1 callers
Method
signPassphrase
signPassphrase signs the passphrase with API v2
trader/kucoin/trader.go:181
↓ 1 callers
Method
singleSymbolInfo
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 callers
Function
sortDecisionsByPriority
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 callers
Function
sortHeatmapZones
(zones []heatmapZone)
provider/vergex/client.go:508
↓ 1 callers
Function
splitDedup
(items: FunnelItem[])
web/src/components/terminal/OrchestrationTopology.tsx:67
← previous
next →
1,401–1,500 of 2,846, ranked by callers