Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wquguru/nof0
/ functions
Functions
1,407 in github.com/wquguru/nof0
⨍
Functions
1,407
◇
Types & classes
373
↓ 234 callers
Method
Run
(ctx context.Context)
go/pkg/backtest/engine.go:57
↓ 171 callers
Method
Error
(ctx context.Context, err error, fields Fields)
go/pkg/llm/logger.go:19
↓ 61 callers
Function
fmtUSD
(n?: number | null)
web/src/lib/utils/formatters.ts:4
↓ 53 callers
Function
print_colored
Print a message with ANSI color codes.
go/scripts/run_tests.py:42
↓ 51 callers
Function
NewClient
NewClient constructs a Hyperliquid trading client using the provided private key.
go/pkg/exchange/hyperliquid/client.go:150
↓ 49 callers
Method
Close
()
go/pkg/llm/client.go:32
↓ 26 callers
Function
formatKey
(parts ...string)
go/internal/cache/keys.go:72
↓ 21 callers
Method
Duration
Duration returns the configured duration for the given TTL class.
go/internal/cache/keys.go:50
↓ 21 callers
Function
formatDecimal
(v float64)
go/pkg/exchange/sim/provider.go:462
↓ 20 callers
Function
stat
(label: string, value?: string)
web/src/components/model/ModelAnalyticsDetails.tsx:210
↓ 19 callers
Method
Get
(url string)
go/pkg/exchange/hyperliquid/client_methods_test.go:24
↓ 19 callers
Function
NewDataLoader
(dataPath string)
go/internal/data/loader.go:17
↓ 19 callers
Function
fatalf
(format string, args ...interface{})
go/cmd/llm/main.go:115
↓ 19 callers
Function
log
Print formatted log message.
go/scripts/squash_migrations.py:33
↓ 17 callers
Method
GetAssetIndex
(ctx context.Context, coin string)
go/pkg/exchange/hyperliquid/provider.go:22
↓ 16 callers
Function
New
New constructs a new simulator instance with default equity.
go/pkg/exchange/sim/provider.go:45
↓ 16 callers
Function
asFloat
(v any)
go/pkg/journal/replay.go:126
↓ 16 callers
Function
buildSchemaForType
(t reflect.Type)
go/pkg/llm/structured.go:91
↓ 16 callers
Function
isNaN
辅助函数
go/pkg/market/indicators/indicators_integration_test.go:258
↓ 15 callers
Method
GetPositions
(ctx context.Context)
go/pkg/exchange/hyperliquid/provider.go:17
↓ 15 callers
Function
lastN
(values []float64, count int)
go/pkg/market/exchanges/hyperliquid/data.go:289
↓ 14 callers
Method
Close
Close releases resources associated with the client.
go/pkg/llm/client.go:513
↓ 14 callers
Function
EMA
EMA produces the exponential moving average for the supplied prices.
go/pkg/market/indicators/indicators.go:6
↓ 14 callers
Function
ValidateDecisions
ValidateDecisions applies sanity checks against configuration and current context.
go/pkg/executor/validator.go:10
↓ 14 callers
Function
WithMaxRetries
WithMaxRetries adjusts the retry budget.
go/pkg/market/exchanges/hyperliquid/client.go:63
↓ 14 callers
Function
getModelColor
(id: string)
web/src/lib/model/meta.ts:147
↓ 14 callers
Function
getModelName
(id: string)
web/src/lib/model/meta.ts:152
↓ 13 callers
Method
Do
Do executes fn with retries until it succeeds or exhausts attempts.
go/pkg/llm/retry.go:51
↓ 13 callers
Method
PlaceOrder
(ctx context.Context, order exchange.Order)
go/pkg/exchange/hyperliquid/provider.go:14
↓ 13 callers
Function
parseFloat
(s string)
go/pkg/manager/manager.go:946
↓ 13 callers
Function
parseLevel
(level string)
go/pkg/llm/logger.go:47
↓ 12 callers
Function
NewRetryHandler
NewRetryHandler constructs a handler with sane defaults.
go/pkg/llm/retry.go:34
↓ 12 callers
Method
Snapshot
Snapshot returns a normalized market snapshot for the specified symbol.
go/pkg/market/provider.go:8
↓ 12 callers
Function
createTestServiceContext
(t *testing.T)
go/internal/logic/cryptopriceslogic_test.go:14
↓ 12 callers
Function
shouldRetry
(err error)
go/pkg/llm/retry.go:82
↓ 11 callers
Method
BuildProviders
BuildProviders instantiates market data providers according to configuration.
go/pkg/market/config.go:195
↓ 11 callers
Function
WithTimeout
WithTimeout overrides the default per-call timeout.
go/pkg/market/exchanges/hyperliquid/provider.go:38
↓ 11 callers
Function
baseCfg
()
go/pkg/executor/validator_test.go:11
↓ 11 callers
Function
floatPtrValue
(ptr *float64)
go/internal/persistence/engine/persistence.go:457
↓ 11 callers
Function
pnlClass
(n?: number | null)
web/src/lib/utils/formatters.ts:18
↓ 10 callers
Method
Info
(ctx context.Context, msg string, fields Fields)
go/pkg/llm/logger.go:17
↓ 10 callers
Function
NewClient
NewClient constructs a new LLM client using the provided configuration.
go/pkg/llm/client.go:86
↓ 10 callers
Function
NewProvider
NewProvider constructs a Hyperliquid market provider.
go/pkg/market/exchanges/hyperliquid/provider.go:54
↓ 10 callers
Function
activityAwareRefresh
( interval: number, options: AdaptiveRefreshOptions = {}, )
web/src/lib/api/hooks/activityAware.ts:46
↓ 10 callers
Method
loadJSONFile
Helper function to load JSON file
go/internal/data/loader.go:131
↓ 10 callers
Function
minsCompact
(n?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:273
↓ 9 callers
Function
GenerateSchema
GenerateSchema builds a lightweight JSON schema from a struct definition.
go/pkg/llm/structured.go:12
↓ 9 callers
Function
RSI
RSI computes the Relative Strength Index across the supplied prices.
go/pkg/market/indicators/indicators.go:86
↓ 9 callers
Method
Stop
Stop signals the main loop to exit.
go/pkg/manager/manager.go:590
↓ 9 callers
Function
WithClientOptions
WithClientOptions passes options to the underlying Hyperliquid client.
go/pkg/market/exchanges/hyperliquid/provider.go:47
↓ 9 callers
Method
doInfoRequest
doInfoRequest queries the public info endpoint.
go/pkg/exchange/hyperliquid/client.go:317
↓ 9 callers
Function
getCurrentTimestamp
getCurrentTimestamp returns current timestamp in milliseconds
go/internal/data/loader.go:173
↓ 9 callers
Function
getFromAPI
(t *testing.T, endpoint string)
go/test/integration_test.go:317
↓ 9 callers
Function
getTimeUntilNextAlignment
(alignmentInterval: number)
web/src/lib/api/hooks/timeAligned.ts:46
↓ 9 callers
Function
latestNonNaN
(values []float64)
go/pkg/market/exchanges/hyperliquid/data.go:299
↓ 9 callers
Function
msgWithFields
(msg string, fields Fields)
go/pkg/llm/logger.go:62
↓ 9 callers
Function
useAccountTotals
()
web/src/lib/api/hooks/useAccountTotals.ts:53
↓ 8 callers
Method
Chat
Chat performs a single synchronous completion request.
go/pkg/llm/client.go:185
↓ 8 callers
Method
Load
Load reads a single cycle file.
go/pkg/journal/reader.go:51
↓ 8 callers
Method
Model
Model returns the configuration for the given model alias.
go/pkg/llm/config.go:200
↓ 8 callers
Function
NewClient
NewClient constructs a Hyperliquid API client.
go/pkg/market/exchanges/hyperliquid/client.go:81
↓ 8 callers
Function
RoundPriceToSigFigs
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 callers
Function
WithHTTPClient
WithHTTPClient injects a custom http.Client.
go/pkg/market/exchanges/hyperliquid/client.go:45
↓ 8 callers
Method
doExchangeRequest
doExchangeRequest signs and submits an exchange action.
go/pkg/exchange/hyperliquid/client.go:400
↓ 8 callers
Function
loadJSONFileRaw
(t *testing.T, filename string, v interface{})
go/test/integration_test.go:234
↓ 8 callers
Function
local
(p: string)
web/src/lib/api/nof1.ts:4
↓ 8 callers
Function
normalizeSymbol
(symbol string)
go/pkg/manager/manager.go:982
↓ 8 callers
Function
parseFloat
(val string)
go/pkg/market/exchanges/hyperliquid/market_info.go:110
↓ 8 callers
Method
providerName
()
go/pkg/market/exchanges/hyperliquid/provider.go:241
↓ 8 callers
Function
run_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 callers
Function
toggleSort
(k: SortKey)
web/src/components/leaderboard/LeaderboardTable.tsx:254
↓ 8 callers
Function
writeJSON
(w http.ResponseWriter, payload interface{})
go/pkg/market/exchanges/hyperliquid/client_test.go:383
↓ 7 callers
Method
FormatSize
(ctx context.Context, coin string, qty float64)
go/pkg/exchange/hyperliquid/provider.go:28
↓ 7 callers
Method
GetAssetIndex
GetAssetIndex resolves the exchange asset index for the given coin.
go/pkg/exchange/hyperliquid/utils.go:13
↓ 7 callers
Method
GetAssetInfo
GetAssetInfo returns cached asset metadata.
go/pkg/exchange/hyperliquid/utils.go:34
↓ 7 callers
Method
Hydrate
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 callers
Method
ListAssets
ListAssets returns all supported symbols along with metadata.
go/pkg/market/provider.go:10
↓ 7 callers
Function
NewPromptRenderer
NewPromptRenderer constructs a renderer using the supplied template path.
go/pkg/executor/prompt.go:30
↓ 7 callers
Function
WithHTTPClient
WithHTTPClient replaces the default HTTP client.
go/pkg/llm/client.go:72
↓ 7 callers
Function
buildPlaceOrderAction
(orders []exchange.Order)
go/pkg/exchange/hyperliquid/order.go:39
↓ 7 callers
Function
floatPtr
(value float64)
go/internal/model/tradesmodel.go:110
↓ 7 callers
Function
isZeroDecimal
(value string)
go/pkg/exchange/hyperliquid/order.go:220
↓ 7 callers
Function
mustExec
(ctx context.Context, conn sqlx.SqlConn, query string, args ...interface{})
go/cmd/importer/main.go:166
↓ 7 callers
Method
ttlDuration
(value time.Duration)
go/internal/persistence/engine/persistence.go:1247
↓ 6 callers
Method
Clone
Clone returns a shallow copy of the configuration.
go/pkg/llm/config.go:209
↓ 6 callers
Method
Conversations
()
go/internal/logic/conversationslogic.go:29
↓ 6 callers
Method
FormatPrice
(ctx context.Context, coin string, price float64)
go/pkg/exchange/hyperliquid/provider.go:29
↓ 6 callers
Method
GetFullDecision
GetFullDecision builds prompts from input context, calls LLM and returns a validated decision bundle.
go/pkg/executor/executor.go:21
↓ 6 callers
Method
IOCMarket
Convenience methods used by the provider
go/pkg/exchange/hyperliquid/provider.go:25
↓ 6 callers
Method
IsTestEnv
()
go/internal/config/config.go:108
↓ 6 callers
Function
LoadConfig
LoadConfig reads configuration from disk.
go/pkg/manager/config.go:119
↓ 6 callers
Method
Sign
(message []byte)
go/pkg/exchange/hyperliquid/auth.go:22
↓ 6 callers
Function
getModelIcon
(id: string)
web/src/lib/model/meta.ts:158
↓ 6 callers
Function
kpi
(label: string, value?: string)
web/src/components/model/ModelAnalyticsDetails.tsx:172
↓ 5 callers
Method
AllowAttempt
()
go/pkg/llm/budget.go:41
↓ 5 callers
Method
ClosePosition
(ctx context.Context, coin string)
go/pkg/exchange/hyperliquid/provider.go:18
↓ 5 callers
Method
GetAccountState
GetAccountState fetches the clearinghouse state for the signer address.
go/pkg/exchange/hyperliquid/account.go:13
↓ 5 callers
Method
GetAssetIndex
Utilities.
go/pkg/exchange/interface.go:22
↓ 5 callers
Method
GetMarketInfo
GetMarketInfo retrieves funding, open interest and related metrics.
go/pkg/market/exchanges/hyperliquid/market_info.go:48
↓ 5 callers
Function
LoadConfig
LoadConfig reads configuration from disk.
go/pkg/executor/config.go:64
next →
1–100 of 1,407, ranked by callers