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
↓ 2 callers
Function
hasVergexDetailCandidate
(candidates []vergex.Query, marketType, chain string)
kernel/engine_vergex_test.go:100
↓ 2 callers
Function
hexToAddress
(s string)
mcp/payment/x402.go:829
↓ 2 callers
Function
hyperliquidBuilderAddress
()
api/handler_hyperliquid_wallet.go:97
↓ 2 callers
Function
hyperliquidBuilderMaxFee
()
api/handler_hyperliquid_wallet.go:101
↓ 2 callers
Function
hyperliquidCategoryOrder
(category string)
api/handler_klines.go:432
↓ 2 callers
Function
hyperliquidWalletAddress
(exchange: Exchange)
web/src/pages/StrategyStudioPage.tsx:103
↓ 2 callers
Function
initConfig
()
config/config.go:75
↓ 2 callers
Method
initDefaultData
initDefaultData initializes default data
store/store.go:171
↓ 2 callers
Method
initTables
initTables initializes all database tables using GORM AutoMigrate
store/store.go:119
↓ 2 callers
Method
initializeAccount
initializeAccount Initialize account information (get account index)
trader/lighter/trader.go:183
↓ 2 callers
Method
initializeGridLevels
initializeGridLevels creates the grid level structure
trader/auto_trader_grid_levels.go:46
↓ 2 callers
Function
isCloseAction
(action string)
trader/auto_trader_throttle.go:39
↓ 2 callers
Function
isCoreMarketType
(marketType string)
provider/vergex/client.go:939
↓ 2 callers
Function
isEVMAddress
(address string)
api/handler_hyperliquid_wallet.go:376
↓ 2 callers
Function
isMajorAsset
isMajorAsset returns true for assets that should use the BTC/ETH higher position-value tier rather than the altcoin (1x equity) tier. This covers BTC/
trader/auto_trader_risk.go:194
↓ 2 callers
Method
isPostgres
isPostgres checks if the database is PostgreSQL
store/position.go:139
↓ 2 callers
Function
isRetryableVergexDetailError
(err error)
kernel/engine.go:1349
↓ 2 callers
Function
isSupportedTraderSymbol
(symbol string)
api/handler_trader.go:83
↓ 2 callers
Function
isUSDCProvider
isUSDCProvider returns true for providers that pay per call with USDC (x402 protocol).
telegram/bot.go:319
↓ 2 callers
Function
isValidTraderIDFormat
isValidTraderIDFormat Verify traderID format matches expected format
api/traderid_test.go:49
↓ 2 callers
Function
langMenuMsg
── Language ──────────────────────────────────────────────────────────────────
telegram/bot.go:401
↓ 2 callers
Function
loadConfigs
()
web/src/components/trader/AITradersPage.tsx:64
↓ 2 callers
Function
loadData
()
web/src/components/charts/ChartWithOrders.tsx:307
↓ 2 callers
Function
loadData
(isRefresh = false)
web/src/components/charts/AdvancedChart.tsx:522
↓ 2 callers
Function
loadOnboarding
(showLoading: boolean)
web/src/pages/BeginnerOnboardingPage.tsx:24
↓ 2 callers
Method
loadPairs
loadPairs loads trading pair information from the public API
trader/indodax/trader.go:234
↓ 2 callers
Function
loadWallet
()
web/src/components/trader/AutopilotLaunchPanel.tsx:265
↓ 2 callers
Function
max
Helper function for max
kernel/grid_engine.go:613
↓ 2 callers
Function
maxFloat
(values ...float64)
provider/vergex/client.go:702
↓ 2 callers
Method
migrateToMultiAccount
migrateToMultiAccount migrates old schema (id=exchange_type) to new schema (id=UUID)
store/exchange.go:136
↓ 2 callers
Function
minInt
(a, b int)
provider/vergex/client.go:712
↓ 2 callers
Function
modelHasExchangeKey
(exchange: Exchange)
web/src/pages/StrategyStudioPage.tsx:120
↓ 2 callers
Function
nestedMarketString
(obj map[string]any, keys ...string)
provider/vergex/client.go:778
↓ 2 callers
Function
newLLMClient
── LLM client ───────────────────────────────────────────────────────────────
telegram/bot.go:270
↓ 2 callers
Function
normalizeKey
(key string)
provider/vergex/client.go:909
↓ 2 callers
Function
normalizeSymbols
(values []string)
store/strategy.go:330
↓ 2 callers
Function
objectArray
(obj map[string]any, key string)
provider/vergex/client.go:550
↓ 2 callers
Function
openStoreForCLI
openStoreForCLI loads config + encryption and opens the same database the server uses, so subcommands operate on the live data.
cli.go:57
↓ 2 callers
Function
parseNumber
(value?: string | number)
web/src/components/trader/AutopilotLaunchPanel.tsx:47
↓ 2 callers
Function
parsePositiveInt
(raw string, fallback int)
api/handler_vergex.go:121
↓ 2 callers
Function
patchIndicators
(patch: Partial<IndicatorConfig>)
web/src/pages/StrategyStudioPage.tsx:1271
↓ 2 callers
Method
placeGridLimitOrder
placeGridLimitOrder places a limit order for grid trading
trader/auto_trader_grid_orders.go:58
↓ 2 callers
Method
placeXyzTriggerOrder
placeXyzTriggerOrder places a trigger order (stop loss / take profit) on the xyz dex tpsl: "sl" for stop loss, "tp" for take profit
trader/hyperliquid/trader_orders.go:779
↓ 2 callers
Method
preflightBalance
preflightBalance short-circuits a call when the wallet cannot cover the estimated cost. RPC failures fall through — x402 will still reject an actually
mcp/payment/claw402.go:195
↓ 2 callers
Function
priceChangeFromSeries
(series []Kline, duration time.Duration)
market/data.go:631
↓ 2 callers
Method
queryOrderFillPrice
queryOrderFillPrice queries order status and returns fill price
trader/kucoin/trader_orders.go:129
↓ 2 callers
Function
queryUSDCBalanceRPC
(address string)
wallet/usdc.go:39
↓ 2 callers
Method
refreshAuthToken
refreshAuthToken Refresh authentication token (using official SDK)
trader/lighter/trader.go:354
↓ 2 callers
Function
register
( email: string, password: string, betaCode?: string, mode?: UserMode )
web/src/contexts/AuthContext.tsx:202
↓ 2 callers
Method
resolveStrategyDataWalletKey
(userID, selectedModelID string)
api/strategy.go:766
↓ 2 callers
Function
roundToTickSize
roundToTickSize Round price/quantity to the nearest multiple of tick size/step size
trader/aster/trader.go:152
↓ 2 callers
Method
runCycle
runCycle runs one trading cycle (using AI full decision-making)
trader/auto_trader_loop.go:17
↓ 2 callers
Function
safeExchangeConfigFromStore
(exchange *store.Exchange)
api/handler_exchange.go:50
↓ 2 callers
Function
saveStrategy
( activateAfter = false, overrideConfig?: StrategyConfig, successMessage?: string )
web/src/pages/StrategyStudioPage.tsx:1355
↓ 2 callers
Function
scatter
(count: number, capacity: number)
web/src/components/terminal/OrchestrationTopology.tsx:49
↓ 2 callers
Function
setUserMode
(mode: UserMode)
web/src/lib/onboarding.ts:15
↓ 2 callers
Method
setupRoutes
setupRoutes Setup routes
api/server.go:126
↓ 2 callers
Function
shouldRecoverDirection
shouldRecoverDirection checks if the current grid direction should start recovering toward neutral
trader/grid_regime.go:304
↓ 2 callers
Function
signalBiasInfo
(bias: string | undefined)
web/src/pages/StrategyStudioPage.tsx:357
↓ 2 callers
Function
signalSortValue
(item: VergexSignalItem)
web/src/pages/StrategyStudioPage.tsx:403
↓ 2 callers
Function
splitLooseStringList
(values []string)
store/strategy.go:359
↓ 2 callers
Function
strategySymbolForSignal
(item: VergexSignalItem)
web/src/pages/StrategyStudioPage.tsx:333
↓ 2 callers
Function
stringContains
(s, substr string)
trader/binance/futures.go:134
↓ 2 callers
Function
stripMaxTokens
── Format overrides for Anthropic endpoints ───────────────────────────────── stripMaxTokens removes per-call max_tokens caps from a body destined for
mcp/payment/claw402.go:235
↓ 2 callers
Method
syncOrdersFromExchange
(exchangeTrader trader.Trader, traderID, exchangeID, exchangeType string)
api/handler_trader_status.go:285
↓ 2 callers
Method
syncServerTime
syncServerTime fetches KuCoin server time and calculates offset
trader/kucoin/trader.go:123
↓ 2 callers
Function
toInt64
(v any)
provider/coinank/coinank_api/kline_ws.go:154
↓ 2 callers
Function
toLevels
(arr: { px: string; sz: string }[])
web/src/components/terminal/OrderBook.tsx:112
↓ 2 callers
Function
truncateAddress
(address: string)
web/src/components/trader/BeginnerGuideCards.tsx:17
↓ 2 callers
Function
useGitHubStats
(owner: string, repo: string)
web/src/hooks/useGitHubStats.ts:13
↓ 2 callers
Function
validateCommonHyperliquidSignedAction
(action map[string]any)
api/handler_hyperliquid_wallet.go:352
↓ 2 callers
Function
validateJSONFormat
(jsonStr string)
kernel/engine_analysis.go:402
↓ 2 callers
Function
validateStrategyConfig
validateStrategyConfig validates strategy configuration and returns warnings
api/strategy.go:22
↓ 2 callers
Function
vergexDetailQuery
(params: VergexDetailRequest)
web/src/lib/api/data.ts:208
↓ 2 callers
Function
vergexDetailSymbolForLookup
(marketType, symbol string)
kernel/engine.go:1220
↓ 2 callers
Function
writeModeVariant
(sb *strings.Builder, variant string, zh bool)
kernel/engine_prompt.go:451
↓ 1 callers
Method
AdoptModel
AdoptModel re-assigns an existing model to a new user.
store/ai_model.go:71
↓ 1 callers
Method
BaseClient
()
mcp/interface.go:10
↓ 1 callers
Method
BindUser
Save bot token + selected AI model
store/telegram_config.go:40
↓ 1 callers
Function
BlacklistToken
BlacklistToken adds token to blacklist until expiration
auth/auth.go:31
↓ 1 callers
Function
BuildAgentPrompt
BuildAgentPrompt constructs the full system prompt with live API documentation injected. apiDocs is the output of api.GetAPIDocs() — reflects all curr
telegram/agent/prompt.go:9
↓ 1 callers
Function
BuildGridContextFromMarketData
============================================================================ Grid Context Builder Helpers ============================================
kernel/grid_engine.go:557
↓ 1 callers
Function
BuildGridSystemPrompt
============================================================================ Grid Prompt Building ====================================================
kernel/grid_engine.go:97
↓ 1 callers
Function
BuildGridUserPrompt
BuildGridUserPrompt builds the user prompt with current grid context
kernel/grid_engine.go:209
↓ 1 callers
Method
BuildUserPrompt
============================================================================ Prompt Building - User Prompt ===========================================
kernel/engine_prompt.go:719
↓ 1 callers
Method
CalculatePositionSize
CalculatePositionSize calculates position size
trader/binance/futures_positions.go:185
↓ 1 callers
Method
Call
── Simple CallWithMessages path ────────────────────────────────────────
mcp/hooks.go:15
↓ 1 callers
Method
CallWithRequestFull
CallWithRequestFull returns both text content and tool calls. Use this when the request includes Tools — the LLM may respond with either a plain text
mcp/interface.go:27
↓ 1 callers
Method
CancelStopLossOrders
CancelStopLossOrders Cancel only stop-loss orders (BUG fix: don't delete take-profit when adjusting stop-loss)
trader/types/interface.go:78
↓ 1 callers
Method
CancelStopLossOrders
CancelStopLossOrders cancels stop loss orders
trader/bybit/trader_orders.go:374
↓ 1 callers
Method
CancelStopLossOrders
CancelStopLossOrders cancels stop loss orders
trader/bitget/trader_orders.go:334
↓ 1 callers
Method
CancelStopLossOrders
CancelStopLossOrders cancels stop loss orders
trader/gate/trader_orders.go:427
↓ 1 callers
Method
CancelStopOrders
CancelStopOrders Cancel stop-loss/take-profit orders for this symbol (for adjusting stop-loss/take-profit positions)
trader/types/interface.go:87
↓ 1 callers
Method
CancelStopOrders
CancelStopOrders cancels all stop orders for symbol
trader/kucoin/trader_orders.go:484
↓ 1 callers
Method
CancelTakeProfitOrders
CancelTakeProfitOrders Cancel only take-profit orders (BUG fix: don't delete stop-loss when adjusting take-profit)
trader/types/interface.go:81
↓ 1 callers
Method
CancelTakeProfitOrders
CancelTakeProfitOrders cancels take profit orders
trader/bybit/trader_orders.go:379
↓ 1 callers
Method
CancelTakeProfitOrders
CancelTakeProfitOrders cancels take profit orders
trader/bitget/trader_orders.go:339
↓ 1 callers
Method
CancelTakeProfitOrders
CancelTakeProfitOrders cancels take profit orders
trader/gate/trader_orders.go:432
↓ 1 callers
Method
Channel
Channel returns the payment channel category for telemetry. Returns "claw402" or "native" based on the provider.
mcp/client.go:59
↓ 1 callers
Method
Cleanup
Cleanup cleans up resources
trader/binance/futures_test.go:290
← previous
next →
801–900 of 2,846, ranked by callers