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
↓ 2 callers
Method
UpdateLeverage
(ctx context.Context, asset int, isCross bool, leverage int)
go/pkg/exchange/interface.go:15
↓ 2 callers
Method
UpdateLeverage
UpdateLeverage updates leverage configuration.
go/pkg/exchange/hyperliquid/provider.go:91
↓ 2 callers
Method
UpdateLeverage
UpdateLeverage adjusts leverage for a given asset.
go/pkg/exchange/hyperliquid/position.go:64
↓ 2 callers
Method
Upsert
(ctx context.Context, data *TraderRuntimeState)
go/internal/model/traderruntimestatemodel.go:17
↓ 2 callers
Method
UpsertAssets
UpsertAssets persists static asset metadata for the provider.
go/pkg/market/persistence.go:11
↓ 2 callers
Method
Validate
Validate ensures configuration sanity.
go/pkg/executor/config.go:166
↓ 2 callers
Method
Validate
Validate ensures configuration sanity.
go/pkg/manager/config.go:253
↓ 2 callers
Function
WithLogger
WithLogger attaches a custom logger (defaults to log.Default()).
go/pkg/exchange/hyperliquid/client.go:70
↓ 2 callers
Function
WithLogger
WithLogger injects a custom logger implementation.
go/pkg/llm/client.go:58
↓ 2 callers
Function
WithRetryHandler
WithRetryHandler injects a custom retry handler.
go/pkg/llm/client.go:65
↓ 2 callers
Function
abs
(f float64)
go/pkg/market/indicators/indicators_integration_test.go:262
↓ 2 callers
Function
aggressiveLimitPrice
(isBuy bool)
go/pkg/exchange/hyperliquid/order.go:276
↓ 2 callers
Method
applyDefaults
()
go/pkg/llm/config.go:227
↓ 2 callers
Method
applyOrderLocked
(coin string, price, size float64, isBuy, reduceOnly bool)
go/pkg/exchange/sim/provider.go:144
↓ 2 callers
Function
asString
(v any)
go/pkg/journal/replay.go:155
↓ 2 callers
Function
buildCancelAction
(cancels []Cancel)
go/pkg/exchange/hyperliquid/order.go:90
↓ 2 callers
Function
buildCandlePayload
(symbol, interval string, stepMillis int64, closes []float64)
go/pkg/market/exchanges/hyperliquid/client_test.go:339
↓ 2 callers
Method
buildChatParams
(req *ChatRequest)
go/pkg/llm/client.go:523
↓ 2 callers
Function
buildConfigRow
(rec TraderConfigRecord, detail string, version int64)
go/pkg/repo/trader_config_repo.go:170
↓ 2 callers
Function
buildEIP712Message
buildEIP712Message constructs the EIP-712 hash for the action.
go/pkg/exchange/hyperliquid/auth.go:111
↓ 2 callers
Function
buildHistoryRow
(row *model.TraderConfig, changedFields []string, rec TraderConfigRecord)
go/pkg/repo/trader_config_repo.go:185
↓ 2 callers
Function
buildModifyPayload
(req ModifyOrderRequest)
go/pkg/exchange/hyperliquid/modify.go:18
↓ 2 callers
Function
buildPriceTicks
(interval string, klines []Kline)
go/pkg/market/exchanges/hyperliquid/data.go:218
↓ 2 callers
Method
cacheDecisionSummary
(ctx context.Context, modelID string, record managerpkg.DecisionCycleRecord)
go/internal/persistence/engine/persistence.go:961
↓ 2 callers
Function
cacheHeaderFor
(pathParts: string[])
web/src/app/api/nof1/[...path]/route.ts:25
↓ 2 callers
Method
cacheOpenPosition
(ctx context.Context, modelID, symbol string, entry *positionCacheEntry)
go/internal/persistence/engine/persistence.go:917
↓ 2 callers
Method
canonicalFromCache
(symbol string)
go/pkg/market/exchanges/hyperliquid/client.go:162
↓ 2 callers
Function
check_server_running
Check if a server is already running on the specified port.
go/scripts/run_tests.py:78
↓ 2 callers
Method
collectAssets
()
go/pkg/market/exchanges/hyperliquid/provider.go:137
↓ 2 callers
Function
computeDigest
(data []byte)
go/pkg/llm/prompt.go:94
↓ 2 callers
Function
computeRSI
(avgGain, avgLoss float64)
go/pkg/market/indicators/indicators.go:152
↓ 2 callers
Function
computeReferenceDigest
(t *testing.T, action Action, nonce int64, vault string, isMainnet bool)
go/pkg/exchange/hyperliquid/client_test.go:166
↓ 2 callers
Function
convertCompletion
(resp *openai.ChatCompletion)
go/pkg/llm/client.go:653
↓ 2 callers
Function
convertStr16ToStr8
(data []byte)
go/pkg/exchange/hyperliquid/auth.go:182
↓ 2 callers
Function
effectivePrice
(event managerpkg.PositionEvent)
go/internal/persistence/engine/persistence.go:773
↓ 2 callers
Function
effectiveQuantity
(event managerpkg.PositionEvent, price float64)
go/internal/persistence/engine/persistence.go:786
↓ 2 callers
Function
encodeJSON
(payload any)
go/pkg/repo/trader_runtime_repo.go:196
↓ 2 callers
Function
exchangePositionToVirtual
(p exchange.Position)
go/pkg/manager/manager.go:1258
↓ 2 callers
Function
extractCloses
(klines []Kline)
go/pkg/market/exchanges/hyperliquid/data.go:261
↓ 2 callers
Function
extractFill
(resp *exchange.OrderResponse)
go/internal/persistence/engine/persistence.go:805
↓ 2 callers
Function
extractVolumes
(klines []Kline)
go/pkg/market/exchanges/hyperliquid/data.go:269
↓ 2 callers
Function
fileExists
(path string)
go/internal/config/config.go:165
↓ 2 callers
Function
fmtPct
(n?: number | null)
web/src/lib/utils/formatters.ts:7
↓ 2 callers
Function
fmtPrice
(n?: number | null)
web/src/components/trades/TradesTable.tsx:261
↓ 2 callers
Function
fmtPrice
(n?: number | null)
web/src/components/model/ModelRecentTradesTable.tsx:159
↓ 2 callers
Function
fmtTime
(t?: number | string)
web/src/components/chat/ModelChatPanel.tsx:106
↓ 2 callers
Function
formatCot
(cot: any)
web/src/components/chat/ModelChatPanel.tsx:334
↓ 2 callers
Function
formatDecimal
(v float64)
go/pkg/backtest/journal_replay.go:209
↓ 2 callers
Function
generate_coverage
Generate test coverage report.
go/scripts/run_tests.py:289
↓ 2 callers
Method
getInfoAddress
getInfoAddress returns the address to use for info requests. If mainAddress is configured (API wallet scenario), it returns mainAddress. Otherwise, it
go/pkg/exchange/hyperliquid/client.go:142
↓ 2 callers
Function
getTimestamp
(row: AccountTotalsRow)
web/src/lib/api/hooks/usePositions.ts:36
↓ 2 callers
Method
hashGetJSON
(ctx context.Context, key, field string, dest any)
go/internal/persistence/engine/persistence.go:1210
↓ 2 callers
Method
insertConversationMessage
(ctx context.Context, session sqlx.Session, conversationID int64, role string, content string, tokens int, ts
go/internal/persistence/engine/persistence.go:846
↓ 2 callers
Method
isAllowed
(symbol string)
go/cmd/llm/main.go:86
↓ 2 callers
Function
isBTCETH
(sym string)
go/pkg/executor/utils.go:81
↓ 2 callers
Function
isDocumentActive
()
web/src/components/providers/PageActivityProvider.tsx:6
↓ 2 callers
Function
isVerboseLoggingEnabled
()
go/pkg/llm/logging_control.go:16
↓ 2 callers
Function
kpiColored
(label: string, value?: string, num?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:191
↓ 2 callers
Function
loadConfigFromReader
(r io.Reader, baseDir string)
go/pkg/executor/config.go:89
↓ 2 callers
Function
loadJSONFile
(t *testing.T, filename string)
go/test/integration_test.go:228
↓ 2 callers
Method
logf
(format string, args ...any)
go/pkg/llm/promptmeta.go:78
↓ 2 callers
Function
lookupProviderBuilder
(typeName string)
go/pkg/market/config.go:57
↓ 2 callers
Function
monitorExchange
monitorExchange calls exchange read-only interfaces and logs results
go/cmd/cron/main.go:278
↓ 2 callers
Function
monitorMarket
monitorMarket calls market data interfaces and logs results
go/cmd/cron/main.go:193
↓ 2 callers
Function
newIntegrationServiceContext
(t *testing.T)
go/test/storage_integration_test.go:20
↓ 2 callers
Function
normalizeDecisions
(decisions []executorpkg.Decision)
go/cmd/journalreplay/main.go:114
↓ 2 callers
Function
normalizeFailureKey
(symbol string, err error)
go/pkg/executor/executor.go:309
↓ 2 callers
Function
numFmt
(n?: number, d = 1)
web/src/components/model/ModelAnalyticsDetails.tsx:258
↓ 2 callers
Function
onChange
()
web/src/store/useTheme.ts:51
↓ 2 callers
Function
parseDecimal
(t *testing.T, s string)
go/pkg/exchange/sim/provider_test.go:108
↓ 2 callers
Method
parseDurations
()
go/pkg/executor/config.go:134
↓ 2 callers
Function
parseOrderFill
(resp *exchange.OrderResponse)
go/pkg/manager/manager.go:1167
↓ 2 callers
Method
parseTimeout
()
go/pkg/llm/config.go:260
↓ 2 callers
Function
pctFmt
(n?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:263
↓ 2 callers
Method
persistRuntimeState
(ctx context.Context, trader *VirtualTrader)
go/pkg/manager/manager.go:286
↓ 2 callers
Function
pnlColor
(n?: number | null)
web/src/components/model/ModelAnalyticsDetails.tsx:248
↓ 2 callers
Function
presence
(ok bool)
go/internal/cli/logging.go:48
↓ 2 callers
Function
priority
(action string)
go/pkg/manager/manager.go:1725
↓ 2 callers
Function
queryInfo
(url, addr string)
go/scripts/check_hl_addr.go:23
↓ 2 callers
Method
recordAnalytics
(snapshot AnalyticsSnapshot)
go/pkg/manager/manager.go:1373
↓ 2 callers
Method
recordPositionEvent
(event PositionEvent)
go/pkg/manager/manager.go:1313
↓ 2 callers
Method
refreshAssets
(ctx context.Context, force bool)
go/internal/ingest/market_ingestor.go:95
↓ 2 callers
Method
refreshSnapshots
(ctx context.Context)
go/internal/ingest/market_ingestor.go:124
↓ 2 callers
Method
reload
()
go/pkg/llm/prompt.go:63
↓ 2 callers
Function
renderChip
(id: string, activeId?: string, equity?: number)
web/src/components/model/ModelSelectorBar.tsx:61
↓ 2 callers
Function
renderDecisions
(resp: any)
web/src/components/chat/ModelChatPanel.tsx:412
↓ 2 callers
Function
renderExtreme
(isWin: boolean, val?: number)
web/src/components/leaderboard/LeaderboardTable.tsx:367
↓ 2 callers
Method
resetIfNeeded
()
go/pkg/llm/budget.go:87
↓ 2 callers
Function
resolveBrandColor
(id: string)
web/src/lib/model/meta.ts:124
↓ 2 callers
Function
rgbToHex
(r: number, g: number, b: number)
web/src/lib/ui/useDominantColors.ts:8
↓ 2 callers
Function
rowKey
(row: AccountTotalsRow)
web/src/lib/api/hooks/useAccountTotals.ts:45
↓ 2 callers
Function
run
(label, body)
web/scripts/test-zenmux.mjs:63
↓ 2 callers
Function
run_benchmarks
Run benchmarks and display results.
go/scripts/run_tests.py:261
↓ 2 callers
Function
run_integration_tests
Run integration tests and return success status.
go/scripts/run_tests.py:367
↓ 2 callers
Function
run_unit_tests
Run unit tests and return success status.
go/scripts/run_tests.py:223
↓ 2 callers
Function
safeJSON
(s)
web/scripts/test-zenmux.mjs:86
↓ 2 callers
Function
schedule
()
web/src/lib/api/hooks/useAccountTotals.ts:94
↓ 2 callers
Function
signAction
signAction attaches signature metadata to an action.
go/pkg/exchange/hyperliquid/auth.go:86
↓ 2 callers
Function
slice
(s, n)
web/scripts/test-zenmux.mjs:87
↓ 2 callers
Function
start_server
Start the NOF0 API server and return its PID.
go/scripts/run_tests.py:96
← previous
next →
301–400 of 1,407, ranked by callers