MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

↓ 3 callersMethodcalculateDefaultBoundsLocked
calculateDefaultBoundsLocked calculates default bounds (caller must hold lock)
trader/auto_trader_grid_levels.go:333
↓ 3 callersFunctioncalculateEMA
(data: Kline[], period: number)
web/src/utils/indicators.ts:31
↓ 3 callersFunctioncalculateHyperliquidBalanceBreakdown
( isUnifiedAccount bool, spotUSDCBalance float64, perpAccountValue float64, perpUnrealizedPnl float64, pe
trader/hyperliquid/trader_account.go:200
↓ 3 callersMethodcancelTriggerOrders
cancelTriggerOrders cancels trigger orders of a specific type
trader/gate/trader_orders.go:437
↓ 3 callersFunctioncategoryLabel
(category: string | undefined, language: string)
web/src/pages/StrategyStudioPage.tsx:338
↓ 3 callersMethodcheckClient
checkClient Verify if API Key is correct
trader/lighter/trader.go:315
↓ 3 callersFunctionclientForProvider
(provider string)
telegram/bot.go:323
↓ 3 callersFunctioncloneExchangeAccountStates
(states map[string]ExchangeAccountState)
api/exchange_account_state.go:92
↓ 3 callersFunctioncopyCoinData
copyCoinData returns a defensive copy so callers cannot mutate the cache.
provider/nofxos/ai500_cache.go:56
↓ 3 callersFunctioncopyCoins
copyCoins returns a defensive copy so callers cannot mutate the cache.
provider/hyperliquid/coins.go:216
↓ 3 callersFunctiondescribeTraderCreationWarning
(traderName string, err error)
api/handler_trader.go:290
↓ 3 callersFunctiondetermineRecoveryDirection
determineRecoveryDirection determines if grid direction should recover toward neutral This implements the gradual recovery logic: long → long_bias → n
trader/grid_regime.go:252
↓ 3 callersFunctiondirectionStyle
(direction?: string)
web/src/pages/StrategyStudioPage.tsx:461
↓ 3 callersMethodencryptSensitiveData
( plaintext: string, userId?: string, sessionId?: string )
web/src/lib/crypto.ts:87
↓ 3 callersFunctionestimateMessageTokensAny
estimateMessageTokensAny is like estimateMessageTokens but for map[string]any messages (used by BuildRequestBodyFromRequest which needs tool_calls sup
mcp/context_guard.go:23
↓ 3 callersFunctionextractFirstNumeric
(values map[string]interface{}, keys ...string)
api/exchange_account_state.go:271
↓ 3 callersFunctionfallbackJSONBlock
(raw json.RawMessage, maxBytes int)
provider/vergex/client.go:698
↓ 3 callersMethodfetchMarketList
fetchMarketList Fetch market list from API with caching (TTL: 1 hour)
trader/lighter/trading.go:523
↓ 3 callersMethodfetchPublicKey
()
web/src/lib/crypto.ts:169
↓ 3 callersFunctionfetchState
(wallet string)
cmd/e2e_builder_fee/main.go:34
↓ 3 callersFunctionfmtPx
(n: number)
web/src/components/terminal/LiquidationMap.tsx:28
↓ 3 callersFunctionfmtPx
(px: number)
web/src/components/terminal/OrderBook.tsx:42
↓ 3 callersFunctionformatPrice
(price: number | undefined)
web/src/components/trader/DecisionCard.tsx:22
↓ 3 callersFunctionformatVolume
(value: number)
web/src/components/charts/AdvancedChart.tsx:91
↓ 3 callersFunctiongenerateTestKlines
generateTestKlines generates test K-line data
market/data_test.go:9
↓ 3 callersFunctiongenerateTraderID
generateTraderID Helper function that simulates traderID generation logic from api/server.go
api/traderid_test.go:44
↓ 3 callersMethodgetCoinFromSymbol
getCoinFromSymbol extracts the traded currency from a symbol e.g. btc_idr -> btc, eth_idr -> eth
trader/indodax/trader.go:224
↓ 3 callersMethodgetEffectiveCoinCount
getEffectiveCoinCount returns the estimated number of coins that will be analyzed
store/strategy.go:1496
↓ 3 callersFunctiongetExchangeIcon
( exchangeType: string, props: IconProps = {} )
web/src/components/common/ExchangeIcons.tsx:82
↓ 3 callersFunctiongetModelIcon
(modelType: string, props: IconProps = {})
web/src/components/common/ModelIcons.tsx:21
↓ 3 callersFunctiongetPositionColor
(percent: number)
web/src/components/strategy/GridRiskPanel.tsx:72
↓ 3 callersFunctiongetRegimeColor
(regime: string)
web/src/components/strategy/GridRiskPanel.tsx:51
↓ 3 callersFunctiongetSideFromAction
getSideFromAction Get order side (BUY/SELL) from order action
api/handler_trader_status.go:531
↓ 3 callersFunctiongetSystemConfig
()
web/src/lib/config.ts:9
↓ 3 callersFunctiongetTestConfig
Test configuration - uses environment variables for security Run with: LIGHTER_TEST=1 LIGHTER_WALLET=0x... LIGHTER_API_KEY=... LIGHTER_API_KEY_INDEX=2
trader/lighter/integration_test.go:20
↓ 3 callersFunctiongetTraderColor
( traders: Array<{ trader_id: string }>, traderId: string )
web/src/utils/traderColors.ts:23
↓ 3 callersFunctiongetVerifiedLink
(key: keyof typeof ENCODED_LINKS)
web/src/constants/branding.ts:34
↓ 3 callersFunctionhandleClose
(e: MouseEvent)
web/src/components/ui/select.tsx:36
↓ 3 callersFunctionhasLowercase
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:44
↓ 3 callersFunctionhasNumber
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:52
↓ 3 callersFunctionhasUppercase
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:36
↓ 3 callersFunctioninitExchangeClient
initExchangeClient runs the SDK exchange constructor and converts its panic-on-failure behavior into an error. go-hyperliquid's NewExchange auto-fetch
trader/hyperliquid/client_init.go:15
↓ 3 callersMethodinitialize
(publicKeyPEM: string)
web/src/lib/crypto.ts:33
↓ 3 callersFunctioninvalidateSystemConfig
()
web/src/lib/config.ts:26
↓ 3 callersFunctionisAllMarketType
(marketType string)
provider/vergex/client.go:930
↓ 3 callersFunctionisCanceledOrder
(order *store.TraderOrder)
trader/auto_trader_throttle.go:274
↓ 3 callersFunctionisEncryptedStorageValue
(value string)
crypto/crypto.go:280
↓ 3 callersFunctionisOpenAction
(action string)
trader/auto_trader_throttle.go:30
↓ 3 callersFunctionisPrivateIP
isPrivateIP checks if an IP address is in a private/reserved range
security/url_validator.go:53
↓ 3 callersFunctionkeccak256Bytes
(data ...[]byte)
mcp/payment/x402.go:648
↓ 3 callersMethodlogTag
()
trader/auto_trader.go:27
↓ 3 callersMethodnext
()
telegram/agent/agent_test.go:52
↓ 3 callersFunctionnormalizeTimeframe
(value string)
store/strategy.go:396
↓ 3 callersFunctionnormalizeUniverseSymbol
(symbol string)
trader/auto_trader_loop.go:320
↓ 3 callersFunctionpad
(n: number)
web/src/components/terminal/ExecutionLog.tsx:30
↓ 3 callersFunctionpatchRisk
(patch: Partial<RiskControlConfig>)
web/src/pages/StrategyStudioPage.tsx:1280
↓ 3 callersFunctionpickTradingModel
(models: AIModel[])
web/src/pages/StrategyStudioPage.tsx:86
↓ 3 callersFunctionpositionSize
(state *clearinghouseState, coin string)
cmd/e2e_builder_fee/main.go:48
↓ 3 callersMethodrecentOrders
(limit int)
trader/auto_trader_throttle.go:212
↓ 3 callersFunctionrefreshAgentInfo
(address = state.mainWallet)
web/src/components/common/HyperliquidWalletConnect.tsx:372
↓ 3 callersFunctionrefreshBalance
(address = state.mainWallet)
web/src/components/common/HyperliquidWalletConnect.tsx:406
↓ 3 callersFunctionrefreshExchangeConfigs
()
web/src/pages/SettingsPage.tsx:75
↓ 3 callersFunctionrefreshModelConfigs
()
web/src/pages/SettingsPage.tsx:66
↓ 3 callersFunctionreset401Flag
()
web/src/lib/httpClient.ts:324
↓ 3 callersFunctionshortAddress
(address?: string)
web/src/components/trader/AutopilotLaunchPanel.tsx:54
↓ 3 callersFunctionsignAndSubmit
( action: Record<string, unknown>, primaryType: string, fields: { name: string; type: string }[]
web/src/components/common/HyperliquidWalletConnect.tsx:565
↓ 3 callersFunctionsleepWithContext
(ctx context.Context, d time.Duration)
mcp/client.go:360
↓ 3 callersFunctionstatusMsg
── Status message ──────────────────────────────────────────────────────────── statusMsg is the single entry-point message shown after /start. It chec
telegram/bot.go:335
↓ 3 callersFunctionthrowApiError
( message: string, errorKey?: string, errorParams?: Record<string, string>, statusCode?: number )
web/src/lib/api/traders.ts:9
↓ 3 callersMethodtoRecord
toRecord converts DB model to API struct
store/decision.go:126
↓ 3 callersFunctiontruncateAddress
(address: string, startLen = 6, endLen = 4)
web/src/components/trader/model-constants.ts:172
↓ 3 callersFunctiontruncateText
(text string, maxBytes int)
provider/vergex/client.go:736
↓ 3 callersFunctionuniqueNonEmpty
(values ...string)
kernel/engine.go:1361
↓ 3 callersFunctionvalidateDecision
(d *Decision, accountEquity float64, btcEthLeverage, altcoinLeverage int, btcEthPosRatio, altcoinPosRatio floa
kernel/engine_position.go:22
↓ 3 callersFunctionwithDefaultText
(value, fallback string)
kernel/engine.go:921
↓ 3 callersFunctionwithStubbedAI500Fetch
(t *testing.T, fn func(c *Client) ([]CoinData, error))
provider/nofxos/ai500_cache_test.go:9
↓ 3 callersFunctionwrapBuilderFeeNotApproved
(err error)
trader/hyperliquid/trader_orders.go:41
↓ 3 callersMethodwriteAvailableIndicators
(sb *strings.Builder, zh bool)
kernel/engine_prompt.go:639
↓ 3 callersFunctionwriteScalarSummary
(sb *strings.Builder, obj map[string]any, keys []string)
provider/vergex/client.go:531
↓ 2 callersMethodAddAssistantMessage
AddAssistantMessage adds assistant message (for multi-turn conversation context)
mcp/request_builder.go:84
↓ 2 callersMethodAddConversationHistory
AddConversationHistory adds conversation history
mcp/request_builder.go:106
↓ 2 callersMethodAddFunction
AddFunction adds a function (convenience method)
mcp/request_builder.go:198
↓ 2 callersMethodAddSystemMessage
AddSystemMessage adds system message
mcp/request_builder.go:74
↓ 2 callersMethodAddTool
============================================================ Tool/Function Calling Related ===========================================================
mcp/request_builder.go:192
↓ 2 callersMethodBuildContext
BuildContext returns context string for the agent's conversation history.
telegram/session/memory.go:41
↓ 2 callersMethodCancelAllOrders
CancelAllOrders cancels all pending orders
trader/bybit/trader_orders.go:384
↓ 2 callersMethodCancelAllOrders
CancelAllOrders cancels all pending orders
trader/bitget/trader_orders.go:384
↓ 2 callersMethodCancelAllOrders
CancelAllOrders cancels all pending orders for a symbol
trader/gate/trader_orders.go:462
↓ 2 callersMethodCancelOrder
CancelOrder Cancel a single order orderID can be either a numeric order_index or a tx_hash string
trader/lighter/orders.go:270
↓ 2 callersMethodCancelStopOrders
CancelStopOrders cancels all stop loss and take profit orders
trader/bybit/trader_orders.go:399
↓ 2 callersMethodCancelStopOrders
CancelStopOrders Cancel stop-loss/take-profit orders for this symbol (implements Trader interface)
trader/lighter/orders.go:173
↓ 2 callersMethodCancelStopOrders
CancelStopOrders cancels take profit/stop loss orders for this coin (used to adjust TP/SL positions)
trader/hyperliquid/trader_orders.go:417
↓ 2 callersMethodCheckMinNotional
CheckMinNotional checks if order meets minimum notional value requirement
trader/binance/futures_positions.go:199
↓ 2 callersFunctionCheckPassword
CheckPassword verifies the password
auth/auth.go:79
↓ 2 callersMethodClosePosition
ClosePosition closes position
store/position.go:198
↓ 2 callersMethodCreate
Create creates position record
store/position.go:189
↓ 2 callersMethodCreateOpenPosition
CreateOpenPosition creates an open position
store/position.go:502
↓ 2 callersMethodCreateStopOrder
CreateStopOrder Create stop-loss or take-profit order with TriggerPrice Order types: "stop_loss" (type=2), "take_profit" (type=4)
trader/lighter/trading.go:752
↓ 2 callersFunctionDoX402RequestStream
DoX402RequestStream executes an HTTP request with x402 v2 payment flow and returns the open *http.Response for streaming. The caller is responsible fo
mcp/payment/x402.go:345
↓ 2 callersFunctionEstimateRunway
EstimateRunway estimates how many days the given USDC balance will last
store/ai_charge.go:158
← previousnext →501–600 of 2,846, ranked by callers