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
↓ 3 callers
Method
calculateDefaultBoundsLocked
calculateDefaultBoundsLocked calculates default bounds (caller must hold lock)
trader/auto_trader_grid_levels.go:333
↓ 3 callers
Function
calculateEMA
(data: Kline[], period: number)
web/src/utils/indicators.ts:31
↓ 3 callers
Function
calculateHyperliquidBalanceBreakdown
( isUnifiedAccount bool, spotUSDCBalance float64, perpAccountValue float64, perpUnrealizedPnl float64, pe
trader/hyperliquid/trader_account.go:200
↓ 3 callers
Method
cancelTriggerOrders
cancelTriggerOrders cancels trigger orders of a specific type
trader/gate/trader_orders.go:437
↓ 3 callers
Function
categoryLabel
(category: string | undefined, language: string)
web/src/pages/StrategyStudioPage.tsx:338
↓ 3 callers
Method
checkClient
checkClient Verify if API Key is correct
trader/lighter/trader.go:315
↓ 3 callers
Function
clientForProvider
(provider string)
telegram/bot.go:323
↓ 3 callers
Function
cloneExchangeAccountStates
(states map[string]ExchangeAccountState)
api/exchange_account_state.go:92
↓ 3 callers
Function
copyCoinData
copyCoinData returns a defensive copy so callers cannot mutate the cache.
provider/nofxos/ai500_cache.go:56
↓ 3 callers
Function
copyCoins
copyCoins returns a defensive copy so callers cannot mutate the cache.
provider/hyperliquid/coins.go:216
↓ 3 callers
Function
describeTraderCreationWarning
(traderName string, err error)
api/handler_trader.go:290
↓ 3 callers
Function
determineRecoveryDirection
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 callers
Function
directionStyle
(direction?: string)
web/src/pages/StrategyStudioPage.tsx:461
↓ 3 callers
Method
encryptSensitiveData
( plaintext: string, userId?: string, sessionId?: string )
web/src/lib/crypto.ts:87
↓ 3 callers
Function
estimateMessageTokensAny
estimateMessageTokensAny is like estimateMessageTokens but for map[string]any messages (used by BuildRequestBodyFromRequest which needs tool_calls sup
mcp/context_guard.go:23
↓ 3 callers
Function
extractFirstNumeric
(values map[string]interface{}, keys ...string)
api/exchange_account_state.go:271
↓ 3 callers
Function
fallbackJSONBlock
(raw json.RawMessage, maxBytes int)
provider/vergex/client.go:698
↓ 3 callers
Method
fetchMarketList
fetchMarketList Fetch market list from API with caching (TTL: 1 hour)
trader/lighter/trading.go:523
↓ 3 callers
Method
fetchPublicKey
()
web/src/lib/crypto.ts:169
↓ 3 callers
Function
fetchState
(wallet string)
cmd/e2e_builder_fee/main.go:34
↓ 3 callers
Function
fmtPx
(n: number)
web/src/components/terminal/LiquidationMap.tsx:28
↓ 3 callers
Function
fmtPx
(px: number)
web/src/components/terminal/OrderBook.tsx:42
↓ 3 callers
Function
formatPrice
(price: number | undefined)
web/src/components/trader/DecisionCard.tsx:22
↓ 3 callers
Function
formatVolume
(value: number)
web/src/components/charts/AdvancedChart.tsx:91
↓ 3 callers
Function
generateTestKlines
generateTestKlines generates test K-line data
market/data_test.go:9
↓ 3 callers
Function
generateTraderID
generateTraderID Helper function that simulates traderID generation logic from api/server.go
api/traderid_test.go:44
↓ 3 callers
Method
getCoinFromSymbol
getCoinFromSymbol extracts the traded currency from a symbol e.g. btc_idr -> btc, eth_idr -> eth
trader/indodax/trader.go:224
↓ 3 callers
Method
getEffectiveCoinCount
getEffectiveCoinCount returns the estimated number of coins that will be analyzed
store/strategy.go:1496
↓ 3 callers
Function
getExchangeIcon
( exchangeType: string, props: IconProps = {} )
web/src/components/common/ExchangeIcons.tsx:82
↓ 3 callers
Function
getModelIcon
(modelType: string, props: IconProps = {})
web/src/components/common/ModelIcons.tsx:21
↓ 3 callers
Function
getPositionColor
(percent: number)
web/src/components/strategy/GridRiskPanel.tsx:72
↓ 3 callers
Function
getRegimeColor
(regime: string)
web/src/components/strategy/GridRiskPanel.tsx:51
↓ 3 callers
Function
getSideFromAction
getSideFromAction Get order side (BUY/SELL) from order action
api/handler_trader_status.go:531
↓ 3 callers
Function
getSystemConfig
()
web/src/lib/config.ts:9
↓ 3 callers
Function
getTestConfig
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 callers
Function
getTraderColor
( traders: Array<{ trader_id: string }>, traderId: string )
web/src/utils/traderColors.ts:23
↓ 3 callers
Function
getVerifiedLink
(key: keyof typeof ENCODED_LINKS)
web/src/constants/branding.ts:34
↓ 3 callers
Function
handleClose
(e: MouseEvent)
web/src/components/ui/select.tsx:36
↓ 3 callers
Function
hasLowercase
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:44
↓ 3 callers
Function
hasNumber
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:52
↓ 3 callers
Function
hasUppercase
(pwd: string)
web/src/components/auth/RegisterPage.test.tsx:36
↓ 3 callers
Function
initExchangeClient
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 callers
Method
initialize
(publicKeyPEM: string)
web/src/lib/crypto.ts:33
↓ 3 callers
Function
invalidateSystemConfig
()
web/src/lib/config.ts:26
↓ 3 callers
Function
isAllMarketType
(marketType string)
provider/vergex/client.go:930
↓ 3 callers
Function
isCanceledOrder
(order *store.TraderOrder)
trader/auto_trader_throttle.go:274
↓ 3 callers
Function
isEncryptedStorageValue
(value string)
crypto/crypto.go:280
↓ 3 callers
Function
isOpenAction
(action string)
trader/auto_trader_throttle.go:30
↓ 3 callers
Function
isPrivateIP
isPrivateIP checks if an IP address is in a private/reserved range
security/url_validator.go:53
↓ 3 callers
Function
keccak256Bytes
(data ...[]byte)
mcp/payment/x402.go:648
↓ 3 callers
Method
logTag
()
trader/auto_trader.go:27
↓ 3 callers
Method
next
()
telegram/agent/agent_test.go:52
↓ 3 callers
Function
normalizeTimeframe
(value string)
store/strategy.go:396
↓ 3 callers
Function
normalizeUniverseSymbol
(symbol string)
trader/auto_trader_loop.go:320
↓ 3 callers
Function
pad
(n: number)
web/src/components/terminal/ExecutionLog.tsx:30
↓ 3 callers
Function
patchRisk
(patch: Partial<RiskControlConfig>)
web/src/pages/StrategyStudioPage.tsx:1280
↓ 3 callers
Function
pickTradingModel
(models: AIModel[])
web/src/pages/StrategyStudioPage.tsx:86
↓ 3 callers
Function
positionSize
(state *clearinghouseState, coin string)
cmd/e2e_builder_fee/main.go:48
↓ 3 callers
Method
recentOrders
(limit int)
trader/auto_trader_throttle.go:212
↓ 3 callers
Function
refreshAgentInfo
(address = state.mainWallet)
web/src/components/common/HyperliquidWalletConnect.tsx:372
↓ 3 callers
Function
refreshBalance
(address = state.mainWallet)
web/src/components/common/HyperliquidWalletConnect.tsx:406
↓ 3 callers
Function
refreshExchangeConfigs
()
web/src/pages/SettingsPage.tsx:75
↓ 3 callers
Function
refreshModelConfigs
()
web/src/pages/SettingsPage.tsx:66
↓ 3 callers
Function
reset401Flag
()
web/src/lib/httpClient.ts:324
↓ 3 callers
Function
shortAddress
(address?: string)
web/src/components/trader/AutopilotLaunchPanel.tsx:54
↓ 3 callers
Function
signAndSubmit
( action: Record<string, unknown>, primaryType: string, fields: { name: string; type: string }[]
web/src/components/common/HyperliquidWalletConnect.tsx:565
↓ 3 callers
Function
sleepWithContext
(ctx context.Context, d time.Duration)
mcp/client.go:360
↓ 3 callers
Function
statusMsg
── Status message ──────────────────────────────────────────────────────────── statusMsg is the single entry-point message shown after /start. It chec
telegram/bot.go:335
↓ 3 callers
Function
throwApiError
( message: string, errorKey?: string, errorParams?: Record<string, string>, statusCode?: number )
web/src/lib/api/traders.ts:9
↓ 3 callers
Method
toRecord
toRecord converts DB model to API struct
store/decision.go:126
↓ 3 callers
Function
truncateAddress
(address: string, startLen = 6, endLen = 4)
web/src/components/trader/model-constants.ts:172
↓ 3 callers
Function
truncateText
(text string, maxBytes int)
provider/vergex/client.go:736
↓ 3 callers
Function
uniqueNonEmpty
(values ...string)
kernel/engine.go:1361
↓ 3 callers
Function
validateDecision
(d *Decision, accountEquity float64, btcEthLeverage, altcoinLeverage int, btcEthPosRatio, altcoinPosRatio floa
kernel/engine_position.go:22
↓ 3 callers
Function
withDefaultText
(value, fallback string)
kernel/engine.go:921
↓ 3 callers
Function
withStubbedAI500Fetch
(t *testing.T, fn func(c *Client) ([]CoinData, error))
provider/nofxos/ai500_cache_test.go:9
↓ 3 callers
Function
wrapBuilderFeeNotApproved
(err error)
trader/hyperliquid/trader_orders.go:41
↓ 3 callers
Method
writeAvailableIndicators
(sb *strings.Builder, zh bool)
kernel/engine_prompt.go:639
↓ 3 callers
Function
writeScalarSummary
(sb *strings.Builder, obj map[string]any, keys []string)
provider/vergex/client.go:531
↓ 2 callers
Method
AddAssistantMessage
AddAssistantMessage adds assistant message (for multi-turn conversation context)
mcp/request_builder.go:84
↓ 2 callers
Method
AddConversationHistory
AddConversationHistory adds conversation history
mcp/request_builder.go:106
↓ 2 callers
Method
AddFunction
AddFunction adds a function (convenience method)
mcp/request_builder.go:198
↓ 2 callers
Method
AddSystemMessage
AddSystemMessage adds system message
mcp/request_builder.go:74
↓ 2 callers
Method
AddTool
============================================================ Tool/Function Calling Related ===========================================================
mcp/request_builder.go:192
↓ 2 callers
Method
BuildContext
BuildContext returns context string for the agent's conversation history.
telegram/session/memory.go:41
↓ 2 callers
Method
CancelAllOrders
CancelAllOrders cancels all pending orders
trader/bybit/trader_orders.go:384
↓ 2 callers
Method
CancelAllOrders
CancelAllOrders cancels all pending orders
trader/bitget/trader_orders.go:384
↓ 2 callers
Method
CancelAllOrders
CancelAllOrders cancels all pending orders for a symbol
trader/gate/trader_orders.go:462
↓ 2 callers
Method
CancelOrder
CancelOrder Cancel a single order orderID can be either a numeric order_index or a tx_hash string
trader/lighter/orders.go:270
↓ 2 callers
Method
CancelStopOrders
CancelStopOrders cancels all stop loss and take profit orders
trader/bybit/trader_orders.go:399
↓ 2 callers
Method
CancelStopOrders
CancelStopOrders Cancel stop-loss/take-profit orders for this symbol (implements Trader interface)
trader/lighter/orders.go:173
↓ 2 callers
Method
CancelStopOrders
CancelStopOrders cancels take profit/stop loss orders for this coin (used to adjust TP/SL positions)
trader/hyperliquid/trader_orders.go:417
↓ 2 callers
Method
CheckMinNotional
CheckMinNotional checks if order meets minimum notional value requirement
trader/binance/futures_positions.go:199
↓ 2 callers
Function
CheckPassword
CheckPassword verifies the password
auth/auth.go:79
↓ 2 callers
Method
ClosePosition
ClosePosition closes position
store/position.go:198
↓ 2 callers
Method
Create
Create creates position record
store/position.go:189
↓ 2 callers
Method
CreateOpenPosition
CreateOpenPosition creates an open position
store/position.go:502
↓ 2 callers
Method
CreateStopOrder
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 callers
Function
DoX402RequestStream
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 callers
Function
EstimateRunway
EstimateRunway estimates how many days the given USDC balance will last
store/ai_charge.go:158
← previous
next →
501–600 of 2,846, ranked by callers