MCPcopy Create free account

hub / github.com/wquguru/nof0 / functions

Functions1,407 in github.com/wquguru/nof0

↓ 234 callersMethodRun
(ctx context.Context)
go/pkg/backtest/engine.go:57
↓ 171 callersMethodError
(ctx context.Context, err error, fields Fields)
go/pkg/llm/logger.go:19
↓ 61 callersFunctionfmtUSD
(n?: number | null)
web/src/lib/utils/formatters.ts:4
↓ 53 callersFunctionprint_colored
Print a message with ANSI color codes.
go/scripts/run_tests.py:42
↓ 51 callersFunctionNewClient
NewClient constructs a Hyperliquid trading client using the provided private key.
go/pkg/exchange/hyperliquid/client.go:150
↓ 49 callersMethodClose
()
go/pkg/llm/client.go:32
↓ 26 callersFunctionformatKey
(parts ...string)
go/internal/cache/keys.go:72
↓ 21 callersMethodDuration
Duration returns the configured duration for the given TTL class.
go/internal/cache/keys.go:50
↓ 21 callersFunctionformatDecimal
(v float64)
go/pkg/exchange/sim/provider.go:462
↓ 20 callersFunctionstat
(label: string, value?: string)
web/src/components/model/ModelAnalyticsDetails.tsx:210
↓ 19 callersMethodGet
(url string)
go/pkg/exchange/hyperliquid/client_methods_test.go:24
↓ 19 callersFunctionNewDataLoader
(dataPath string)
go/internal/data/loader.go:17
↓ 19 callersFunctionfatalf
(format string, args ...interface{})
go/cmd/llm/main.go:115
↓ 19 callersFunctionlog
Print formatted log message.
go/scripts/squash_migrations.py:33
↓ 17 callersMethodGetAssetIndex
(ctx context.Context, coin string)
go/pkg/exchange/hyperliquid/provider.go:22
↓ 16 callersFunctionNew
New constructs a new simulator instance with default equity.
go/pkg/exchange/sim/provider.go:45
↓ 16 callersFunctionasFloat
(v any)
go/pkg/journal/replay.go:126
↓ 16 callersFunctionbuildSchemaForType
(t reflect.Type)
go/pkg/llm/structured.go:91
↓ 16 callersFunctionisNaN
辅助函数
go/pkg/market/indicators/indicators_integration_test.go:258
↓ 15 callersMethodGetPositions
(ctx context.Context)
go/pkg/exchange/hyperliquid/provider.go:17
↓ 15 callersFunctionlastN
(values []float64, count int)
go/pkg/market/exchanges/hyperliquid/data.go:289
↓ 14 callersMethodClose
Close releases resources associated with the client.
go/pkg/llm/client.go:513
↓ 14 callersFunctionEMA
EMA produces the exponential moving average for the supplied prices.
go/pkg/market/indicators/indicators.go:6
↓ 14 callersFunctionValidateDecisions
ValidateDecisions applies sanity checks against configuration and current context.
go/pkg/executor/validator.go:10
↓ 14 callersFunctionWithMaxRetries
WithMaxRetries adjusts the retry budget.
go/pkg/market/exchanges/hyperliquid/client.go:63
↓ 14 callersFunctiongetModelColor
(id: string)
web/src/lib/model/meta.ts:147
↓ 14 callersFunctiongetModelName
(id: string)
web/src/lib/model/meta.ts:152
↓ 13 callersMethodDo
Do executes fn with retries until it succeeds or exhausts attempts.
go/pkg/llm/retry.go:51
↓ 13 callersMethodPlaceOrder
(ctx context.Context, order exchange.Order)
go/pkg/exchange/hyperliquid/provider.go:14
↓ 13 callersFunctionparseFloat
(s string)
go/pkg/manager/manager.go:946
↓ 13 callersFunctionparseLevel
(level string)
go/pkg/llm/logger.go:47
↓ 12 callersFunctionNewRetryHandler
NewRetryHandler constructs a handler with sane defaults.
go/pkg/llm/retry.go:34
↓ 12 callersMethodSnapshot
Snapshot returns a normalized market snapshot for the specified symbol.
go/pkg/market/provider.go:8
↓ 12 callersFunctioncreateTestServiceContext
(t *testing.T)
go/internal/logic/cryptopriceslogic_test.go:14
↓ 12 callersFunctionshouldRetry
(err error)
go/pkg/llm/retry.go:82
↓ 11 callersMethodBuildProviders
BuildProviders instantiates market data providers according to configuration.
go/pkg/market/config.go:195
↓ 11 callersFunctionWithTimeout
WithTimeout overrides the default per-call timeout.
go/pkg/market/exchanges/hyperliquid/provider.go:38
↓ 11 callersFunctionbaseCfg
()
go/pkg/executor/validator_test.go:11
↓ 11 callersFunctionfloatPtrValue
(ptr *float64)
go/internal/persistence/engine/persistence.go:457
↓ 11 callersFunctionpnlClass
(n?: number | null)
web/src/lib/utils/formatters.ts:18
↓ 10 callersMethodInfo
(ctx context.Context, msg string, fields Fields)
go/pkg/llm/logger.go:17
↓ 10 callersFunctionNewClient
NewClient constructs a new LLM client using the provided configuration.
go/pkg/llm/client.go:86
↓ 10 callersFunctionNewProvider
NewProvider constructs a Hyperliquid market provider.
go/pkg/market/exchanges/hyperliquid/provider.go:54
↓ 10 callersFunctionactivityAwareRefresh
( interval: number, options: AdaptiveRefreshOptions = {}, )
web/src/lib/api/hooks/activityAware.ts:46
↓ 10 callersMethodloadJSONFile
Helper function to load JSON file
go/internal/data/loader.go:131
↓ 10 callersFunctionminsCompact
(n?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:273
↓ 9 callersFunctionGenerateSchema
GenerateSchema builds a lightweight JSON schema from a struct definition.
go/pkg/llm/structured.go:12
↓ 9 callersFunctionRSI
RSI computes the Relative Strength Index across the supplied prices.
go/pkg/market/indicators/indicators.go:86
↓ 9 callersMethodStop
Stop signals the main loop to exit.
go/pkg/manager/manager.go:590
↓ 9 callersFunctionWithClientOptions
WithClientOptions passes options to the underlying Hyperliquid client.
go/pkg/market/exchanges/hyperliquid/provider.go:47
↓ 9 callersMethoddoInfoRequest
doInfoRequest queries the public info endpoint.
go/pkg/exchange/hyperliquid/client.go:317
↓ 9 callersFunctiongetCurrentTimestamp
getCurrentTimestamp returns current timestamp in milliseconds
go/internal/data/loader.go:173
↓ 9 callersFunctiongetFromAPI
(t *testing.T, endpoint string)
go/test/integration_test.go:317
↓ 9 callersFunctiongetTimeUntilNextAlignment
(alignmentInterval: number)
web/src/lib/api/hooks/timeAligned.ts:46
↓ 9 callersFunctionlatestNonNaN
(values []float64)
go/pkg/market/exchanges/hyperliquid/data.go:299
↓ 9 callersFunctionmsgWithFields
(msg string, fields Fields)
go/pkg/llm/logger.go:62
↓ 9 callersFunctionuseAccountTotals
()
web/src/lib/api/hooks/useAccountTotals.ts:53
↓ 8 callersMethodChat
Chat performs a single synchronous completion request.
go/pkg/llm/client.go:185
↓ 8 callersMethodLoad
Load reads a single cycle file.
go/pkg/journal/reader.go:51
↓ 8 callersMethodModel
Model returns the configuration for the given model alias.
go/pkg/llm/config.go:200
↓ 8 callersFunctionNewClient
NewClient constructs a Hyperliquid API client.
go/pkg/market/exchanges/hyperliquid/client.go:81
↓ 8 callersFunctionRoundPriceToSigFigs
RoundPriceToSigFigs rounds the price to the specified number of significant figures. It returns a decimal string with trimmed trailing zeros.
go/pkg/exchange/hyperliquid/utils.go:140
↓ 8 callersFunctionWithHTTPClient
WithHTTPClient injects a custom http.Client.
go/pkg/market/exchanges/hyperliquid/client.go:45
↓ 8 callersMethoddoExchangeRequest
doExchangeRequest signs and submits an exchange action.
go/pkg/exchange/hyperliquid/client.go:400
↓ 8 callersFunctionloadJSONFileRaw
(t *testing.T, filename string, v interface{})
go/test/integration_test.go:234
↓ 8 callersFunctionlocal
(p: string)
web/src/lib/api/nof1.ts:4
↓ 8 callersFunctionnormalizeSymbol
(symbol string)
go/pkg/manager/manager.go:982
↓ 8 callersFunctionparseFloat
(val string)
go/pkg/market/exchanges/hyperliquid/market_info.go:110
↓ 8 callersMethodproviderName
()
go/pkg/market/exchanges/hyperliquid/provider.go:241
↓ 8 callersFunctionrun_command
Run a shell command and return stdout, stderr, and return code. Args: command: Command to execute as a list of strings shell
go/scripts/run_tests.py:47
↓ 8 callersFunctiontoggleSort
(k: SortKey)
web/src/components/leaderboard/LeaderboardTable.tsx:254
↓ 8 callersFunctionwriteJSON
(w http.ResponseWriter, payload interface{})
go/pkg/market/exchanges/hyperliquid/client_test.go:383
↓ 7 callersMethodFormatSize
(ctx context.Context, coin string, qty float64)
go/pkg/exchange/hyperliquid/provider.go:28
↓ 7 callersMethodGetAssetIndex
GetAssetIndex resolves the exchange asset index for the given coin.
go/pkg/exchange/hyperliquid/utils.go:13
↓ 7 callersMethodGetAssetInfo
GetAssetInfo returns cached asset metadata.
go/pkg/exchange/hyperliquid/utils.go:34
↓ 7 callersMethodHydrate
Hydrate loads the configuration file specified in the File field and stores the result in the Value field. The loader function is responsible for load
go/pkg/confkit/confkit.go:53
↓ 7 callersMethodListAssets
ListAssets returns all supported symbols along with metadata.
go/pkg/market/provider.go:10
↓ 7 callersFunctionNewPromptRenderer
NewPromptRenderer constructs a renderer using the supplied template path.
go/pkg/executor/prompt.go:30
↓ 7 callersFunctionWithHTTPClient
WithHTTPClient replaces the default HTTP client.
go/pkg/llm/client.go:72
↓ 7 callersFunctionbuildPlaceOrderAction
(orders []exchange.Order)
go/pkg/exchange/hyperliquid/order.go:39
↓ 7 callersFunctionfloatPtr
(value float64)
go/internal/model/tradesmodel.go:110
↓ 7 callersFunctionisZeroDecimal
(value string)
go/pkg/exchange/hyperliquid/order.go:220
↓ 7 callersFunctionmustExec
(ctx context.Context, conn sqlx.SqlConn, query string, args ...interface{})
go/cmd/importer/main.go:166
↓ 7 callersMethodttlDuration
(value time.Duration)
go/internal/persistence/engine/persistence.go:1247
↓ 6 callersMethodClone
Clone returns a shallow copy of the configuration.
go/pkg/llm/config.go:209
↓ 6 callersMethodConversations
()
go/internal/logic/conversationslogic.go:29
↓ 6 callersMethodFormatPrice
(ctx context.Context, coin string, price float64)
go/pkg/exchange/hyperliquid/provider.go:29
↓ 6 callersMethodGetFullDecision
GetFullDecision builds prompts from input context, calls LLM and returns a validated decision bundle.
go/pkg/executor/executor.go:21
↓ 6 callersMethodIOCMarket
Convenience methods used by the provider
go/pkg/exchange/hyperliquid/provider.go:25
↓ 6 callersMethodIsTestEnv
()
go/internal/config/config.go:108
↓ 6 callersFunctionLoadConfig
LoadConfig reads configuration from disk.
go/pkg/manager/config.go:119
↓ 6 callersMethodSign
(message []byte)
go/pkg/exchange/hyperliquid/auth.go:22
↓ 6 callersFunctiongetModelIcon
(id: string)
web/src/lib/model/meta.ts:158
↓ 6 callersFunctionkpi
(label: string, value?: string)
web/src/components/model/ModelAnalyticsDetails.tsx:172
↓ 5 callersMethodAllowAttempt
()
go/pkg/llm/budget.go:41
↓ 5 callersMethodClosePosition
(ctx context.Context, coin string)
go/pkg/exchange/hyperliquid/provider.go:18
↓ 5 callersMethodGetAccountState
GetAccountState fetches the clearinghouse state for the signer address.
go/pkg/exchange/hyperliquid/account.go:13
↓ 5 callersMethodGetAssetIndex
Utilities.
go/pkg/exchange/interface.go:22
↓ 5 callersMethodGetMarketInfo
GetMarketInfo retrieves funding, open interest and related metrics.
go/pkg/market/exchanges/hyperliquid/market_info.go:48
↓ 5 callersFunctionLoadConfig
LoadConfig reads configuration from disk.
go/pkg/executor/config.go:64
next →1–100 of 1,407, ranked by callers