MCPcopy Create free account

hub / github.com/wquguru/nof0 / functions

Functions1,407 in github.com/wquguru/nof0

↓ 5 callersFunctionNewConversationsLogic
(ctx context.Context, svcCtx *svc.ServiceContext)
go/internal/logic/conversationslogic.go:21
↓ 5 callersFunctionNewLogger
NewLogger returns a Logger backed by go-zero's logx.
go/pkg/llm/logger.go:25
↓ 5 callersFunctionNewPromptRenderer
NewPromptRenderer parses the template at the provided path applying the optional version guard.
go/pkg/manager/prompt.go:23
↓ 5 callersFunctionParseStructured
ParseStructured decodes a JSON string into the provided target value.
go/pkg/llm/structured.go:60
↓ 5 callersMethodPlaceOrder
PlaceOrder submits a single order to the exchange endpoint.
go/pkg/exchange/hyperliquid/client.go:196
↓ 5 callersMethodPositions
(req *types.PositionsRequest)
go/internal/logic/positionslogic.go:29
↓ 5 callersMethodRecordUsage
(model string, tokens int64)
go/pkg/llm/budget.go:57
↓ 5 callersMethodSnapshot
Snapshot implements market.Provider by returning an aggregated market snapshot.
go/pkg/market/exchanges/hyperliquid/provider.go:96
↓ 5 callersMethodWarn
(ctx context.Context, msg string, fields Fields)
go/pkg/llm/logger.go:18
↓ 5 callersFunctionWithBaseURL
WithBaseURL overrides the default info endpoint URL.
go/pkg/market/exchanges/hyperliquid/client.go:54
↓ 5 callersFunctionbuildCloid
buildCloid creates a stable client order id for idempotent intent submission.
go/pkg/manager/manager.go:1475
↓ 5 callersFunctionbuildCloseOrder
(assetIdx int, markPx string, pos exchange.Position)
go/pkg/exchange/hyperliquid/position.go:77
↓ 5 callersMethodcachedAssetIndex
(key string)
go/pkg/exchange/hyperliquid/utils.go:52
↓ 5 callersFunctionconvertToolCalls
(calls []openai.ChatCompletionMessageToolCall)
go/pkg/llm/client.go:735
↓ 5 callersMethoddoRequest
doRequest posts an InfoRequest and decodes the response into result.
go/pkg/market/exchanges/hyperliquid/client.go:102
↓ 5 callersFunctionformatFloat
(val float64)
go/pkg/market/exchanges/hyperliquid/client_test.go:371
↓ 5 callersMethodgetPositionOwner
(symbol string)
go/pkg/manager/manager.go:1023
↓ 5 callersMethodhashSetJSON
(ctx context.Context, key, field string, ttl time.Duration, payload any)
go/internal/persistence/engine/persistence.go:1195
↓ 5 callersFunctionintFmt
(n?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:253
↓ 5 callersFunctionmarkerOf
(row: AccountTotalsRow)
web/src/lib/api/hooks/useAccountTotals.ts:25
↓ 5 callersFunctionnewMockHyperliquidServer
(t *testing.T)
go/pkg/market/exchanges/hyperliquid/client_test.go:230
↓ 5 callersFunctionnullFloat
(f float64)
go/cmd/importer/main.go:206
↓ 5 callersFunctionpad
(x: number)
web/src/components/chat/ModelChatPanel.tsx:111
↓ 5 callersMethodrefreshAssetDirectory
(ctx context.Context)
go/pkg/exchange/hyperliquid/utils.go:66
↓ 5 callersFunctionsectionLine
(name string, section confkit.Section[T])
go/internal/cli/logging.go:64
↓ 5 callersFunctiontrimSign
(value string)
go/pkg/exchange/hyperliquid/position.go:133
↓ 5 callersFunctionusePositions
()
web/src/lib/api/hooks/usePositions.ts:62
↓ 5 callersFunctionvalidateOrder
validateOrder ensures order parameters meet basic exchange constraints.
go/pkg/exchange/hyperliquid/order.go:187
↓ 4 callersMethodCancelAllBySymbol
CancelAllBySymbol is a no-op for the simulator.
go/pkg/exchange/sim/provider.go:383
↓ 4 callersMethodCryptoPrices
()
go/internal/logic/cryptopriceslogic.go:29
↓ 4 callersMethodFindOne
(ctx context.Context, traderID string)
go/pkg/repo/trader_config_repo.go:55
↓ 4 callersMethodGetAccountState
Account information.
go/pkg/exchange/interface.go:18
↓ 4 callersMethodGetAccountValue
(ctx context.Context)
go/pkg/exchange/interface.go:19
↓ 4 callersMethodGetKlines
GetKlines fetches OHLCV data for the given interval.
go/pkg/market/exchanges/hyperliquid/kline.go:16
↓ 4 callersMethodLoadAnalytics
LoadAnalytics loads all analytics from JSON file
go/internal/data/loader.go:76
↓ 4 callersFunctionLoadConfig
LoadConfig reads configuration from disk.
go/pkg/llm/config.go:108
↓ 4 callersMethodLoadCryptoPrices
LoadCryptoPrices loads crypto prices from JSON file
go/internal/data/loader.go:24
↓ 4 callersFunctionNewExecutor
NewExecutor constructs a BasicExecutor. The templatePath is the executor prompt template provided by caller.
go/pkg/executor/executor.go:41
↓ 4 callersFunctionNewPositionsLogic
(ctx context.Context, svcCtx *svc.ServiceContext)
go/internal/logic/positionslogic.go:21
↓ 4 callersFunctionNewProvider
NewProvider constructs a Hyperliquid exchange provider.
go/pkg/exchange/hyperliquid/provider.go:41
↓ 4 callersMethodNext
Next returns the next snapshot built from the close series.
go/pkg/backtest/feeder_kline.go:68
↓ 4 callersMethodPlaceOrders
PlaceOrders submits multiple orders atomically.
go/pkg/exchange/hyperliquid/client.go:201
↓ 4 callersMethodRun
Run starts the ingestion loop and blocks until the context is cancelled.
go/internal/ingest/market_ingestor.go:76
↓ 4 callersMethodSetStopLoss
SetStopLoss places a reduce-only trigger order as stop loss. positionSide: "LONG" or "SHORT".
go/pkg/exchange/hyperliquid/provider.go:119
↓ 4 callersMethodUpdateLeverage
(ctx context.Context, asset int, isCross bool, leverage int)
go/pkg/exchange/hyperliquid/provider.go:19
↓ 4 callersMethodValidate
Validate ensures budget configuration is sane.
go/pkg/llm/config.go:89
↓ 4 callersMethodValidate
Validate checks that required configuration is present.
go/pkg/llm/config.go:175
↓ 4 callersFunctionWithDefaultSlippage
WithDefaultSlippage configures a default slippage fraction used by helpers when caller does not specify one (e.g. 0.01 = 1%).
go/pkg/exchange/hyperliquid/client.go:111
↓ 4 callersFunctionWithPriceSigFigs
WithPriceSigFigs sets the default number of price significant figures used by helper methods when formatting prices.
go/pkg/exchange/hyperliquid/client.go:121
↓ 4 callersFunctionadjustLuminance
(hex: string, amt: number)
web/src/lib/ui/useDominantColors.ts:17
↓ 4 callersMethodassignVirtualPosition
(trader *VirtualTrader, pos VirtualPosition)
go/pkg/manager/manager.go:1037
↓ 4 callersMethodcachedAssetInfo
(key string)
go/pkg/exchange/hyperliquid/utils.go:59
↓ 4 callersFunctioncanonical
(coin string)
go/pkg/exchange/sim/provider.go:58
↓ 4 callersFunctioncanonicalAssetKey
(symbol string)
go/pkg/exchange/hyperliquid/utils.go:114
↓ 4 callersFunctioncomputeCloseLimit
(mark string, isBuy bool)
go/pkg/exchange/hyperliquid/position.go:111
↓ 4 callersMethodenforceSecondaryRisk
(trader *VirtualTrader, decision *executorpkg.Decision, leverage int)
go/pkg/manager/manager.go:1289
↓ 4 callersFunctionfileExists
(p string)
go/pkg/confkit/helpers.go:5
↓ 4 callersFunctionformatValue
(v: number | undefined)
web/src/components/chart/AccountValueChart.tsx:280
↓ 4 callersMethodhashDelField
(ctx context.Context, key, field string)
go/internal/persistence/engine/persistence.go:1230
↓ 4 callersFunctionisFinite
(f float64)
go/pkg/exchange/hyperliquid/utils.go:177
↓ 4 callersFunctionisPositiveDecimal
(value string)
go/pkg/exchange/hyperliquid/order.go:212
↓ 4 callersFunctionlogPersistenceError
(err error, msg string, fields map[string]any)
go/pkg/manager/persistence.go:102
↓ 4 callersMethodlogf
(format string, args ...interface{})
go/pkg/exchange/hyperliquid/client.go:455
↓ 4 callersFunctionmakeSequence
(start, end, step float64)
go/pkg/market/exchanges/hyperliquid/client_test.go:375
↓ 4 callersMethodmaybeRefreshAssetDirectory
maybeRefreshAssetDirectory refreshes the asset directory if the TTL has expired. It swallows errors to keep call sites simple; the normal lookup path
go/pkg/exchange/hyperliquid/utils.go:121
↓ 4 callersFunctionpad
(n: number)
web/src/components/trades/TradesTable.tsx:246
↓ 4 callersMethodrefreshSymbolDirectory
(ctx context.Context)
go/pkg/market/exchanges/hyperliquid/client.go:189
↓ 4 callersMethodreleaseVirtualPosition
(traderID, symbol string)
go/pkg/manager/manager.go:1065
↓ 4 callersMethodresolvePath
(path string)
go/pkg/manager/config.go:244
↓ 4 callersFunctionstatColored
(label: string, value?: string, num?: number)
web/src/components/model/ModelAnalyticsDetails.tsx:229
↓ 4 callersFunctionuseLatestEquityMap
()
web/src/lib/api/hooks/useModelSnapshots.ts:13
↓ 4 callersFunctionuseTrades
()
web/src/lib/api/hooks/useTrades.ts:26
↓ 3 callersFunctionATR
ATR computes the Average True Range across the Kline series.
go/pkg/market/indicators/indicators.go:127
↓ 3 callersMethodBaseDir
()
go/internal/config/config.go:261
↓ 3 callersMethodCancelAllBySymbol
CancelAllBySymbol cancels all resting orders for the given symbol.
go/pkg/exchange/hyperliquid/provider.go:132
↓ 3 callersMethodCancelOrders
CancelOrders executes batch cancellations.
go/pkg/exchange/hyperliquid/client.go:223
↓ 3 callersMethodClosePosition
(ctx context.Context, coin string)
go/pkg/exchange/interface.go:14
↓ 3 callersMethodFormatPrice
FormatPrice rounds a raw price to the client's configured significant figures and returns a trimmed decimal string. It optionally checks the asset exi
go/pkg/exchange/hyperliquid/utils.go:182
↓ 3 callersMethodFormatSize
FormatSize rounds a float quantity to the coin's szDecimals and returns a normalized decimal string (no scientific notation).
go/pkg/exchange/hyperliquid/convenience.go:14
↓ 3 callersMethodGetAccountState
(ctx context.Context)
go/pkg/exchange/hyperliquid/provider.go:20
↓ 3 callersMethodGetPositions
Position management.
go/pkg/exchange/interface.go:13
↓ 3 callersMethodGetPositions
GetPositions returns live positions by delegating to account state.
go/pkg/exchange/hyperliquid/position.go:13
↓ 3 callersMethodGetSubAccounts
GetSubAccounts retrieves the list of subaccounts for a master user address.
go/pkg/exchange/hyperliquid/client.go:368
↓ 3 callersMethodGetVaultDetails
GetVaultDetails retrieves vault details by address (optionally scoped by user).
go/pkg/exchange/hyperliquid/client.go:381
↓ 3 callersMethodInsertTx
(ctx context.Context, tx *sql.Tx, data *TraderConfig)
go/internal/model/traderconfigmodel.go:21
↓ 3 callersMethodLatest
Latest loads the most recent N cycle records (ascending order).
go/pkg/journal/reader.go:64
↓ 3 callersFunctionLoadConfigFromReader
LoadConfigFromReader constructs a Config from a reader.
go/pkg/llm/config.go:129
↓ 3 callersMethodLoadConversations
LoadConversations loads conversations from JSON file
go/internal/data/loader.go:157
↓ 3 callersMethodLoadPositions
LoadPositions loads positions from JSON file
go/internal/data/loader.go:141
↓ 3 callersMethodLoadTrades
LoadTrades loads trades from JSON file
go/internal/data/loader.go:42
↓ 3 callersMethodMainPath
()
go/internal/config/config.go:257
↓ 3 callersFunctionNewBudgetGuard
(cfg *BudgetConfig)
go/pkg/llm/budget.go:31
↓ 3 callersFunctionNewCryptoPricesLogic
(ctx context.Context, svcCtx *svc.ServiceContext)
go/internal/logic/cryptopriceslogic.go:21
↓ 3 callersMethodNewExecutor
(traderCfg TraderConfig)
go/pkg/manager/manager.go:34
↓ 3 callersMethodPlaceOrder
Order management.
go/pkg/exchange/interface.go:8
↓ 3 callersMethodRender
Render executes the template with the provided data and returns the rendered string.
go/pkg/llm/prompt.go:41
↓ 3 callersMethodScaled
Scaled applies a multiplier to a TTL class, useful for half/double TTL variants.
go/internal/cache/keys.go:64
↓ 3 callersMethodSetMarkPrice
SetMarkPrice updates the reference price used for unrealised PnL and IOC fills.
go/pkg/exchange/sim/provider.go:77
↓ 3 callersMethodSetPersistence
(p Persistence)
go/pkg/market/provider.go:15
↓ 3 callersMethodSetTakeProfit
SetTakeProfit places a reduce-only trigger order as take profit. positionSide: "LONG" or "SHORT".
go/pkg/exchange/hyperliquid/provider.go:126
← previousnext →101–200 of 1,407, ranked by callers