MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

↓ 1 callersMethodgetDecisionRequirementsEN
()
kernel/prompt_builder.go:260
↓ 1 callersMethodgetDecisionRequirementsZH
()
kernel/prompt_builder.go:125
↓ 1 callersMethodgetEffectiveTimeframeCount
getEffectiveTimeframeCount returns the number of timeframes that will be used
store/strategy.go:1525
↓ 1 callersFunctiongetEnvInt
getEnvInt reads integer from environment variable, returns default value if failed
mcp/config.go:58
↓ 1 callersMethodgetExchangeAccountStates
(userID string)
api/exchange_account_state.go:112
↓ 1 callersFunctiongetExchangeDisplayName
(exchangeId: string | undefined, exchanges: { id: string; exchange_type?: string; name: string; account_name?:
web/src/components/trader/model-constants.ts:140
↓ 1 callersFunctiongetExchangeDisplayNameFromList
( exchangeId: string | undefined, exchanges: Exchange[] | undefined )
web/src/pages/TraderDashboardPage.tsx:42
↓ 1 callersFunctiongetExchangeNameAndType
getExchangeNameAndType returns the display name and type for an exchange type
store/exchange.go:217
↓ 1 callersFunctiongetExchangeStateMeta
(state: ExchangeAccountState | undefined)
web/src/components/trader/ConfigStatusGrid.tsx:56
↓ 1 callersFunctiongetExchangeTypeFromList
( exchangeId: string | undefined, exchanges: Exchange[] | undefined )
web/src/pages/TraderDashboardPage.tsx:56
↓ 1 callersFunctiongetExchangeUsageInfo
(exchangeId: string)
web/src/components/trader/AITradersPage.tsx:181
↓ 1 callersMethodgetFallbackMarketIndex
getFallbackMarketIndex Hardcoded fallback mapping (using Lighter symbol format)
trader/lighter/trading.go:598
↓ 1 callersFunctiongetFullSymbol
()
web/src/components/charts/TradingViewChart.tsx:89
↓ 1 callersMethodgetHyperRankCoins
(category, direction string, limit int)
kernel/engine.go:656
↓ 1 callersFunctiongetIndodaxTestCredentials
Test credentials - set via environment variables
trader/indodax/trader_test.go:12
↓ 1 callersFunctiongetIntervalDuration
getIntervalDuration returns the duration for a given interval
provider/hyperliquid/kline.go:383
↓ 1 callersFunctiongetIntervalSeconds
(interval: string)
web/src/components/charts/ChartWithOrders.tsx:331
↓ 1 callersMethodgetKlinesFromAlpaca
getKlinesFromAlpaca fetches kline data from Alpaca API for US stocks
api/handler_klines.go:210
↓ 1 callersMethodgetKlinesFromCoinank
getKlinesFromCoinank fetches kline data from coinank free/open API for multiple exchanges
api/handler_klines.go:85
↓ 1 callersMethodgetKlinesFromHyperliquid
getKlinesFromHyperliquid fetches kline data from Hyperliquid API Supports both crypto perps (default dex) and stock perps/forex/commodities (xyz dex)
api/handler_klines.go:285
↓ 1 callersMethodgetKlinesFromTwelveData
getKlinesFromTwelveData fetches kline data from Twelve Data API for forex and metals
api/handler_klines.go:243
↓ 1 callersFunctiongetKuCoinTestCredentials
Test credentials - set via environment variables
trader/kucoin/order_sync_test.go:12
↓ 1 callersFunctiongetModelDisplayName
(modelId: string)
web/src/components/trader/model-constants.ts:26
↓ 1 callersFunctiongetModelDisplayName
(modelId: string)
web/src/pages/TraderDashboardPage.tsx:28
↓ 1 callersFunctiongetModelUsageInfo
(modelId: string)
web/src/components/trader/AITradersPage.tsx:174
↓ 1 callersFunctiongetOIInterpretationEN
getOIInterpretationEN returns OI change interpretation (English)
kernel/formatter.go:624
↓ 1 callersFunctiongetOIInterpretationZH
getOIInterpretationZH returns OI change interpretation (Chinese)
kernel/formatter.go:360
↓ 1 callersMethodgetOrCreate
(chatID int64)
telegram/agent/manager.go:64
↓ 1 callersMethodgetOrderIndexByTxHash
getOrderIndexByTxHash finds the numeric order_index by searching active orders for the tx_hash
trader/lighter/orders.go:329
↓ 1 callersMethodgetPair
getPair gets pair info for a symbol
trader/indodax/trader.go:269
↓ 1 callersMethodgetPositionSymbols
getPositionSymbols returns list of symbols that have active positions Used as fallback when COMMISSION detection fails
trader/binance/order_sync.go:296
↓ 1 callersFunctiongetPublicIPFromAPI
getPublicIPFromAPI Get public IP via third-party API (IPv4 only)
api/server.go:489
↓ 1 callersFunctiongetPublicIPFromInterface
getPublicIPFromInterface Get first public IP from network interface
api/server.go:529
↓ 1 callersMethodgetQtyStep
getQtyStep retrieves the quantity step for a trading pair
trader/bybit/trader.go:92
↓ 1 callersFunctiongetQuoteUnit
(exchange: string)
web/src/components/charts/AdvancedChart.tsx:67
↓ 1 callersFunctiongetSavedState
()
web/src/components/common/HyperliquidWalletConnect.tsx:206
↓ 1 callersFunctiongetSchemaPromptEN
getSchemaPromptEN generates the English prompt
kernel/schema.go:493
↓ 1 callersFunctiongetSchemaPromptZH
getSchemaPromptZH generates the Chinese prompt
kernel/schema.go:454
↓ 1 callersFunctiongetStandardTestScenarios
Standard test scenarios that all exchanges should pass
trader/exchange_sync_test.go:40
↓ 1 callersFunctiongetStrategyAIConfig
(strategy: Strategy)
web/src/components/trader/TraderConfigModal.tsx:28
↓ 1 callersMethodgetStrategyByID
getStrategyByID internal method: gets strategy by ID
store/trader.go:212
↓ 1 callersMethodgetTimestamp
getTimestamp returns the current timestamp adjusted for server time offset
trader/kucoin/trader.go:161
↓ 1 callersFunctiongetTradersUsingExchange
(exchangeId: string)
web/src/components/trader/AITradersPage.tsx:201
↓ 1 callersMethodgetTradesViaHTTP
getTradesViaHTTP makes direct HTTP call to Bybit API for execution list
trader/bybit/order_sync.go:44
↓ 1 callersMethodgetVergexSignalCoins
(limit int, marketType, chain, liqBand, category string, selectedSymbols []string)
kernel/engine.go:730
↓ 1 callersFunctiongetWalletAddress
(exchange: { exchange_type?: string; hyperliquidWalletAddr?: string; lighterWalletAddr?: string; asterSigner?:
web/src/components/trader/model-constants.ts:156
↓ 1 callersFunctiongetWalletAddress
(exchange: Exchange | undefined)
web/src/pages/TraderDashboardPage.tsx:74
↓ 1 callersFunctiongetWalletProviders
()
web/src/components/common/HyperliquidWalletConnect.tsx:100
↓ 1 callersMethodgetXyzMarketPrice
getXyzMarketPrice gets market price for xyz dex assets
trader/hyperliquid/trader_account.go:391
↓ 1 callersMethodhandleBreakout
handleBreakout handles price breakout from grid range
trader/auto_trader_grid.go:255
↓ 1 callersMethodhandleClose
handleClose handles closing positions (partial or full) tradeTimeMs is Unix milliseconds UTC
store/position_builder.go:97
↓ 1 callersFunctionhandleClosePosition
(symbol: string, side: string)
web/src/pages/TraderDashboardPage.tsx:200
↓ 1 callersFunctionhandleCopyIP
(ip: string)
web/src/components/trader/ExchangeConfigModal.tsx:245
↓ 1 callersFunctionhandleCustomSymbolSubmit
()
web/src/components/charts/TradingViewChart.tsx:153
↓ 1 callersFunctionhandleDeleteConfig
(config: { id: string type: 'model' | 'exchange' checkInUse: (id: string) => boolean getUsingT
web/src/components/trader/AITradersPage.tsx:345
↓ 1 callersMethodhandleError
* Handle different types of errors * Network and system errors are intercepted and shown via toast * Only business errors are returned to caller
web/src/lib/httpClient.ts:109
↓ 1 callersFunctionhandleMarketTypeChange
(type: MarketType)
web/src/components/charts/ChartTabs.tsx:114
↓ 1 callersFunctionhandleMobileNavClick
(tab: (typeof navTabs)[0])
web/src/components/common/HeaderBar.tsx:510
↓ 1 callersFunctionhandleNavClick
(tab: (typeof navTabs)[0])
web/src/components/common/HeaderBar.tsx:172
↓ 1 callersMethodhandleOpen
handleOpen handles opening positions (create new or average into existing) tradeTimeMs is Unix milliseconds UTC
store/position_builder.go:45
↓ 1 callersFunctionhandleOpenClaw402Config
()
web/src/components/trader/AITradersPage.tsx:628
↓ 1 callersFunctionhandleOpenHyperliquidConfig
()
web/src/components/trader/AITradersPage.tsx:642
↓ 1 callersFunctionhandleResponse
(ch <-chan string, needKline bool, needTicker bool)
provider/coinank/coinank_api/kline_ws.go:105
↓ 1 callersFunctionhandleSwitchMode
(nextMode: UserMode)
web/src/components/common/HeaderBar.tsx:57
↓ 1 callersFunctionhandleTraderClick
(traderId: string)
web/src/components/trader/CompetitionPage.tsx:29
↓ 1 callersFunctionhashCode
(str: string)
web/src/components/common/PunkAvatar.tsx:10
↓ 1 callersFunctionhelpMsg
── Help ──────────────────────────────────────────────────────────────────────
telegram/bot.go:417
↓ 1 callersFunctionhexToBytes32
(s string)
mcp/payment/x402.go:841
↓ 1 callersFunctionhyperliquidXYZCategory
(baseSymbol string)
api/handler_klines.go:416
↓ 1 callersFunctionhyperliquidXYZDisplayBase
(baseSymbol string)
api/handler_klines.go:324
↓ 1 callersMethodimportPublicKey
(pem: string)
web/src/lib/crypto.ts:51
↓ 1 callersFunctioninferCoinSourceType
(source CoinSourceConfig)
store/strategy.go:307
↓ 1 callersFunctioninferRankingMarketType
(symbol, base, fallback string)
provider/vergex/client.go:948
↓ 1 callersFunctioninitInstallationID
initInstallationID initializes the anonymous installation ID for experience improvement This ID is persisted in database and used for anonymous usage
main.go:171
↓ 1 callersMethodinitUserDefaultConfigs
NOTE: Password and account recovery used to live here as the public, unauthenticated handlers handleResetPassword / handleResetAccount. They were remo
api/handler_user.go:214
↓ 1 callersMethodinitializeGridLevelsLocked
initializeGridLevelsLocked creates the grid level structure (caller must hold lock)
trader/auto_trader_grid_levels.go:363
↓ 1 callersFunctionisBTCETH
============================================================================ Risk Control Helpers ====================================================
trader/auto_trader_risk.go:184
↓ 1 callersFunctionisBuilderFeeNotApprovedError
(err error)
trader/hyperliquid/trader_orders.go:34
↓ 1 callersFunctionisExchangeUsedByAnyTrader
(exchangeId: string)
web/src/components/trader/AITradersPage.tsx:193
↓ 1 callersFunctionisHyperliquidExchange
(exchange: Exchange)
web/src/pages/StrategyStudioPage.tsx:99
↓ 1 callersFunctionisLong
(side: string)
web/src/components/terminal/RiskRadar.tsx:30
↓ 1 callersFunctionisOpenDecision
(action string)
trader/auto_trader_loop.go:348
↓ 1 callersFunctionisPathAllowed
isPathAllowed returns true when the (method, path) pair is in botAPIAllowlist. The path argument should already be query-stripped.
telegram/agent/apicall.go:117
↓ 1 callersFunctionisPerpDexExchange
(exchangeType: string | undefined)
web/src/components/trader/model-constants.ts:149
↓ 1 callersFunctionisPerpDexExchange
(exchangeType: string | undefined)
web/src/pages/TraderDashboardPage.tsx:67
↓ 1 callersFunctionisPrivateIP
isPrivateIP Determine if it's a private IP address
api/server.go:574
↓ 1 callersFunctionisRetryableInitialX402Status
(status int)
mcp/payment/x402.go:123
↓ 1 callersFunctionisTradeFiMarketType
(marketType string)
provider/vergex/client.go:919
↓ 1 callersFunctionisValidGridAction
isValidGridAction checks if action is a valid grid action
kernel/grid_engine.go:533
↓ 1 callersFunctionisVergexAllMarketType
(marketType string)
kernel/engine.go:1340
↓ 1 callersFunctionisWhitelistError
(msg: string)
web/src/components/auth/RegisterPage.tsx:72
↓ 1 callersFunctionlimitErrorMessage
(message string)
api/exchange_account_state.go:366
↓ 1 callersFunctionloadData
()
web/src/components/charts/ChartWithOrdersSimple.tsx:23
↓ 1 callersFunctionloadDataKeyFromEnv
loadDataKeyFromEnv loads AES data encryption key from environment variable
crypto/crypto.go:90
↓ 1 callersFunctionloadRSAPrivateKeyFromEnv
loadRSAPrivateKeyFromEnv loads RSA private key from environment variable
crypto/crypto.go:77
↓ 1 callersFunctionlogTone
(line: string)
web/src/components/terminal/ExecutionLog.tsx:53
↓ 1 callersFunctionlogin
(email: string, password: string, mode?: UserMode)
web/src/contexts/AuthContext.tsx:125
↓ 1 callersFunctionmapEndpoint
mapEndpoint converts a nofxos endpoint to a claw402 endpoint. For endpoints not in the static map, applies the general pattern: api/xxx → /api/v1/nofx
provider/nofxos/claw402.go:65
↓ 1 callersFunctionmarkBeginnerOnboardingCompleted
()
web/src/lib/onboarding.ts:35
↓ 1 callersFunctionmergeJSONMaps
(dst, src map[string]any)
store/strategy.go:540
← previousnext →1,301–1,400 of 2,846, ranked by callers