MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

↓ 2 callersMethodUpdatePassword
UpdatePassword updates password
store/user.go:108
↓ 2 callersMethodUpdatePeakPnL
UpdatePeakPnL updates peak profit cache
trader/auto_trader_risk.go:154
↓ 2 callersFunctionValidateJWT
ValidateJWT validates JWT token
auth/auth.go:102
↓ 2 callersMethodValue
Value implements driver.Valuer - called when writing to database Automatically encrypts the value
crypto/crypto.go:453
↓ 2 callersFunctionWithQwenConfig
WithQwenConfig sets Qwen configuration Usage example: client := mcp.NewClient(mcp.WithQwenConfig("sk-xxx"))
mcp/options.go:172
↓ 2 callersFunctionWithUseFullURL
WithUseFullURL sets whether to use full URL
mcp/options.go:145
↓ 2 callersFunctionabsFloat
absFloat returns absolute value of float
trader/hyperliquid/trader.go:88
↓ 2 callersFunctionaccountAssetForExchange
(exchangeType string)
api/exchange_account_state.go:312
↓ 2 callersFunctionactionNonce
(action map[string]any)
api/handler_hyperliquid_wallet.go:396
↓ 2 callersMethodaddTraderFromStore
addTraderFromStore internal method: adds trader from store configuration
manager/trader_manager.go:641
↓ 2 callersMethodadjustGridDirection
adjustGridDirection handles runtime direction adjustment when breakout is detected
trader/auto_trader_grid_regime.go:140
↓ 2 callersFunctionanyFloat
(val any)
provider/vergex/client.go:580
↓ 2 callersMethodapplyGridDirection
applyGridDirection adjusts grid level sides based on the current direction This redistributes buy/sell levels according to the direction bias ratio
trader/auto_trader_grid_levels.go:98
↓ 2 callersFunctionbaseSymbol
* SignalMatrix renders the vergex (claw402) signal ranking as a high-density * heatmap grid — one cell per symbol, colored by directional bias (green
web/src/components/terminal/SignalMatrix.tsx:13
↓ 2 callersFunctionboolToUint8
boolToUint8 Convert boolean to uint8
trader/lighter/trading.go:843
↓ 2 callersFunctionbuildAgentName
(nowMs: number)
web/src/components/common/HyperliquidWalletConnect.tsx:75
↓ 2 callersFunctionbuildXYZStockCustomPrompt
buildXYZStockCustomPrompt returns the canonical English directional stock briefing the agent uses for single-symbol Hyperliquid USDC perpetuals on the
kernel/engine_prompt.go:396
↓ 2 callersFunctioncalcPctChange
(entry: number | undefined, target: number | undefined, isLong: boolean)
web/src/components/trader/DecisionCard.tsx:30
↓ 2 callersFunctioncalculateBOLL
calculateBOLL calculates Bollinger Bands (upper, middle, lower) period: typically 20, multiplier: typically 2
market/data_indicators.go:121
↓ 2 callersFunctioncalculateBoxData
calculateBoxData calculates multi-period box data from klines
market/data_indicators.go:184
↓ 2 callersMethodcalculateDefaultBounds
============================================================================ Grid Level Calculation and Rebalancing ==================================
trader/auto_trader_grid_levels.go:16
↓ 2 callersFunctioncalculateLongerTermData
calculateLongerTermData calculates longer-term data
market/data_klines.go:358
↓ 2 callersFunctioncalculatePnLPercentage
calculatePnLPercentage calculates P&L percentage (based on margin, automatically considers leverage) Return rate = Unrealized P&L / Margin x 100%
trader/auto_trader.go:686
↓ 2 callersFunctioncalculatePrecision
calculatePrecision calculates precision from stepSize
trader/binance/futures.go:144
↓ 2 callersFunctioncalculatePriceChangeByBars
calculatePriceChangeByBars calculates how many K-lines to look back for price change based on timeframe
market/data_klines.go:241
↓ 2 callersMethodcancelConditionalOrders
(symbol string, orderType string)
trader/bybit/trader_orders.go:409
↓ 2 callersMethodcancelStopOrdersByType
cancelStopOrdersByType cancels stop orders by type
trader/kucoin/trader_orders.go:432
↓ 2 callersMethodcancelXyzOrders
cancelXyzOrders cancels all pending orders for xyz dex assets (stocks, forex, commodities)
trader/hyperliquid/trader_orders.go:459
↓ 2 callersFunctioncheckClaw402Health
()
api/handler_wallet.go:118
↓ 2 callersFunctionclassifyExchangeProbeError
(err error)
api/exchange_account_state.go:344
↓ 2 callersFunctionclassifyTraderSetupReason
(reason string)
api/handler_trader.go:206
↓ 2 callersFunctioncleanLog
* Tidy a verbose execution-log string to its gist without fabricating data. * Strips a leading "└"/glyph the backend may already include (we render o
web/src/components/terminal/ExecutionLog.tsx:85
↓ 2 callersMethodcleanupIncompleteExchangeConfigs
()
store/exchange.go:100
↓ 2 callersFunctioncompactArrayOpen
(s string)
kernel/engine_analysis.go:440
↓ 2 callersFunctioncomposeAAD
(parts []string)
crypto/crypto.go:273
↓ 2 callersFunctioncontainsAll
(text string, needles ...string)
provider/vergex/client_test.go:213
↓ 2 callersFunctioncontainsCJK
(text string)
kernel/engine_prompt_test.go:117
↓ 2 callersMethodconvertSymbolBack
convertSymbolBack converts Indodax format back to standard e.g. btc_idr -> BTCIDR
trader/indodax/trader.go:218
↓ 2 callersMethodconvertSymbolBack
convertSymbolBack converts OKX format back to generic symbol e.g. BTC-USDT-SWAP -> BTCUSDT
trader/okx/trader.go:269
↓ 2 callersFunctioncopyText
(value: string, label: string)
web/src/pages/BeginnerOnboardingPage.tsx:69
↓ 2 callersFunctioncopyToClipboard
(text: string, label: string)
web/src/components/trader/DecisionCard.tsx:225
↓ 2 callersFunctioncreateTestContext
createTestContext creates a trading context for tests
kernel/prompt_builder_test.go:407
↓ 2 callersFunctiondecodeVergexDataObject
(raw json.RawMessage)
provider/vergex/client.go:514
↓ 2 callersFunctiondetectLanguage
============================================================================ Helper Functions ========================================================
kernel/engine.go:1500
↓ 2 callersFunctiondetermineGridDirection
determineGridDirection determines the new grid direction based on box breakout currentDirection: the current grid direction breakoutLevel: which box l
trader/grid_regime.go:212
↓ 2 callersFunctiondoInitialX402Request
( ctx context.Context, httpClient *http.Client, buildReqFn func() (*http.Request, error), providerTag stri
mcp/payment/x402.go:59
↓ 2 callersMethoddoPublicRequest
doPublicRequest makes a public API GET request
trader/indodax/trader.go:120
↓ 2 callersFunctiondownloadAsFile
(text: string, filename: string)
web/src/components/trader/DecisionCard.tsx:235
↓ 2 callersFunctionemptyDash
(value string)
provider/vergex/client.go:974
↓ 2 callersMethodenforceMaxPositions
enforceMaxPositions checks maximum positions count (CODE ENFORCED)
trader/auto_trader_risk.go:300
↓ 2 callersMethodenforceMinPositionSize
enforceMinPositionSize checks minimum position size (CODE ENFORCED)
trader/auto_trader_risk.go:283
↓ 2 callersMethodenforcePositionValueRatio
enforcePositionValueRatio checks and enforces position value ratio limits (CODE ENFORCED) Returns the adjusted position size (capped if necessary) and
trader/auto_trader_risk.go:206
↓ 2 callersMethodensureHyperliquidBuilderApprovedColumn
()
store/exchange.go:93
↓ 2 callersMethodensureUpdated
ensureUpdated checks if cache is stale and refreshes if needed
provider/hyperliquid/coins.go:247
↓ 2 callersFunctionequitySnapshotAvailableBalance
(snap *store.EquitySnapshot)
api/handler_competition.go:222
↓ 2 callersFunctionextractCoTTrace
(response string)
kernel/engine_analysis.go:295
↓ 2 callersFunctionextractExchangeTotalEquity
(balanceInfo map[string]interface{})
api/exchange_account_state.go:266
↓ 2 callersMethodfetchCoins
fetchCoins fetches all default Hyperliquid crypto coins and sorts by volume
provider/hyperliquid/coins.go:223
↓ 2 callersMethodfetchXyzMeta
fetchXyzMeta fetches metadata for xyz dex assets (stocks, forex, commodities)
trader/hyperliquid/trader_sync.go:54
↓ 2 callersFunctionfetcher
(mt: string)
web/src/components/terminal/LiquidationMap.tsx:53
↓ 2 callersFunctionfetcher
(k: string)
web/src/lib/apiGuard.test.ts:353
↓ 2 callersFunctionfilterSignalRankingItems
(items []SignalRankItem, marketType string, limit int, allowAll bool)
provider/vergex/client.go:236
↓ 2 callersMethodfirstEnabledUsable
(userID string)
store/ai_model.go:148
↓ 2 callersFunctionfmtTime
(iso: string)
web/src/components/terminal/ExecutionLog.tsx:27
↓ 2 callersFunctionformatContextData
formatContextData formats the core data section
kernel/formatter.go:39
↓ 2 callersFunctionformatDisplayBalance
(value float64, asset string)
api/exchange_account_state.go:300
↓ 2 callersFunctionformatDurationMs
formatDurationMs formats a duration in milliseconds
store/position.go:69
↓ 2 callersMethodformatMarketData
============================================================================ Market Data Formatting ==================================================
kernel/engine_prompt.go:1019
↓ 2 callersMethodformatQuantData
(data *QuantData)
kernel/engine_prompt.go:1185
↓ 2 callersFunctionformatQuantity
(quantity: number | undefined | null, minDecimals = 2)
web/src/utils/format.ts:82
↓ 2 callersFunctionformatScalarValue
(val any)
provider/vergex/client.go:602
↓ 2 callersFunctionformatUSD
(value: number)
web/src/components/strategy/GridRiskPanel.tsx:85
↓ 2 callersFunctionformatUSDC
(value: number)
web/src/components/trader/AutopilotLaunchPanel.tsx:59
↓ 2 callersMethodformatVergexData
(data *vergex.MarketAnalysis)
kernel/engine_prompt.go:1005
↓ 2 callersFunctiongenerateLog
(id: number)
web/src/components/landing/core/LiveFeed.tsx:12
↓ 2 callersMethodgetAI500Coins
(limit int)
kernel/engine.go:532
↓ 2 callersFunctiongetBreakoutAction
getBreakoutAction returns the appropriate action for a breakout level
trader/grid_regime.go:185
↓ 2 callersFunctiongetBreakoutActionWithDirection
getBreakoutActionWithDirection returns the appropriate action for a breakout level when direction adjustment is enabled
trader/grid_regime.go:282
↓ 2 callersFunctiongetConfidenceColor
(confidence: number | undefined)
web/src/components/trader/DecisionCard.tsx:38
↓ 2 callersMethodgetEquityHistoryForTraders
getEquityHistoryForTraders Get historical data for multiple traders Query directly from database, not dependent on trader in memory (so historical dat
api/handler_competition.go:380
↓ 2 callersMethodgetFullAccountInfo
getFullAccountInfo Fetch full account info from Lighter API (includes balance and positions) Supports both main accounts and sub-accounts
trader/lighter/account.go:16
↓ 2 callersFunctiongetFundingRate
getFundingRate retrieves funding rate (optimized: uses 1-hour cache)
market/data.go:294
↓ 2 callersMethodgetHyperAllCoins
getHyperAllCoins returns all available Hyperliquid perpetual coins
kernel/engine.go:601
↓ 2 callersMethodgetHyperMainCoins
getHyperMainCoins returns top N Hyperliquid coins by 24h volume
kernel/engine.go:622
↓ 2 callersFunctiongetMarketTypeFromExchange
(exchangeId: string | undefined)
web/src/components/charts/ChartTabs.tsx:48
↓ 2 callersMethodgetOILowCoins
(limit int)
kernel/engine.go:576
↓ 2 callersMethodgetOITopCoins
(limit int)
kernel/engine.go:552
↓ 2 callersFunctiongetOpenInterestData
getOpenInterestData retrieves OI data
market/data.go:260
↓ 2 callersFunctiongetPostAuthPath
(mode: UserMode | null | undefined)
web/src/lib/onboarding.ts:19
↓ 2 callersFunctiongetShortName
(fullName: string)
web/src/components/trader/TraderConfigViewModal.tsx:7
↓ 2 callersFunctiongetShortName
(fullName: string)
web/src/components/trader/utils.ts:16
↓ 2 callersFunctiongetShortName
(fullName: string)
web/src/components/trader/TraderConfigModal.tsx:23
↓ 2 callersFunctiongetTraderSlug
(trader: TraderInfo)
web/src/router/AppRoutes.tsx:49
↓ 2 callersFunctiongetUserMode
()
web/src/lib/onboarding.ts:7
↓ 2 callersMethodgetXYZDexBalance
getXYZDexBalance queries the xyz dex balance (stock perps, forex, commodities)
trader/hyperliquid/trader_account.go:297
↓ 2 callersMethodgetXyzAssetIndex
getXyzAssetIndex gets the asset index for an xyz dex asset
trader/hyperliquid/trader_sync.go:131
↓ 2 callersMethodgetXyzSzDecimals
getXyzSzDecimals gets quantity precision for xyz dex asset
trader/hyperliquid/trader_sync.go:104
↓ 2 callersFunctionhandlePostAuthSuccess
( authToken: string, userInfo: User, mode?: UserMode )
web/src/contexts/AuthContext.tsx:97
↓ 2 callersFunctionhandleSelectExchange
(exchangeType: string)
web/src/components/trader/ExchangeConfigModal.tsx:286
↓ 2 callersFunctionhasUsableAPIKey
(model AIModel)
store/ai_model.go:182
← previousnext →701–800 of 2,846, ranked by callers