MCPcopy Create free account

hub / github.com/wquguru/nof0 / functions

Functions1,407 in github.com/wquguru/nof0

↓ 2 callersFunctionsummarizeOrderResponse
(resp *exchange.OrderResponse)
go/pkg/manager/manager.go:1138
↓ 2 callersFunctiontest_endpoints
Test individual API endpoints.
go/scripts/run_tests.py:431
↓ 2 callersFunctiontraderExchange
(event managerpkg.PositionEvent)
go/internal/persistence/engine/persistence.go:762
↓ 2 callersFunctionupdate
()
web/src/components/ui/Tooltip.tsx:74
↓ 2 callersFunctionupdatePositionDetailOnClose
(raw string, closeInfo positionCloseDetail)
go/internal/persistence/engine/persistence.go:1330
↓ 2 callersFunctionupsertSymbol
(ctx context.Context, conn sqlx.SqlConn, symbol string)
go/cmd/importer/main.go:178
↓ 2 callersFunctionuseLeaderboard
()
web/src/lib/api/hooks/useLeaderboard.ts:21
↓ 2 callersMethodvalidate
(name string)
go/pkg/exchange/config.go:187
↓ 2 callersFunctionwait_for_server
Wait for the server to be ready to accept requests.
go/scripts/run_tests.py:123
↓ 2 callersFunctionwithTx
withTx executes fn inside a database transaction, committing on success and rolling back on error. It centralizes the boilerplate used by repositories
go/pkg/repo/repo.go:15
↓ 2 callersMethodwritePositionsCache
(ctx context.Context, traderID string, payload map[string]positionCacheEntry)
go/internal/persistence/engine/persistence.go:1041
↓ 2 callersMethodwriteTradesCache
(ctx context.Context, traderID string, payload []tradeCacheEntry)
go/internal/persistence/engine/persistence.go:1099
↓ 1 callersMethodAccountTotals
(req *types.AccountTotalsRequest)
go/internal/logic/accounttotalslogic.go:29
↓ 1 callersFunctionAccountTotalsHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/accounttotalshandler.go:15
↓ 1 callersMethodActiveByModels
(ctx context.Context, modelIDs []string)
go/internal/model/positionsmodel.go:40
↓ 1 callersMethodAnalytics
()
go/internal/logic/analyticslogic.go:29
↓ 1 callersFunctionAnalyticsHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/analyticshandler.go:14
↓ 1 callersMethodCancelAllOrders
(ctx context.Context, asset int)
go/pkg/exchange/hyperliquid/provider.go:27
↓ 1 callersMethodCancelAllOrders
CancelAllOrders cancels all resting orders for the specified asset.
go/pkg/exchange/hyperliquid/client.go:232
↓ 1 callersMethodCancelOrder
CancelOrder cancels a single resting order.
go/pkg/exchange/hyperliquid/client.go:217
↓ 1 callersMethodCancelOrdersByCloid
(ctx context.Context, cancels []CancelByCloid)
go/pkg/exchange/hyperliquid/provider.go:31
↓ 1 callersMethodClosePosition
ClosePosition submits a reduce-only order to flatten the specified coin.
go/pkg/exchange/hyperliquid/position.go:25
↓ 1 callersFunctionConfigSummaryLines
ConfigSummaryLines returns human readable lines describing the loaded app config.
go/internal/cli/logging.go:15
↓ 1 callersFunctionConversationsHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/conversationshandler.go:14
↓ 1 callersFunctionCryptoPricesHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/cryptopriceshandler.go:14
↓ 1 callersMethodDecide
(ctx context.Context, snap *market.Snapshot)
go/pkg/backtest/engine.go:22
↓ 1 callersMethodDigest
Digest exposes the template digest for version tracking.
go/pkg/manager/prompt.go:55
↓ 1 callersMethodExecuteDecision
ExecuteDecision executes a single decision using trader's exchange provider. Placeholder MVP: perform basic validation and return nil.
go/pkg/manager/manager.go:599
↓ 1 callersFunctionExtractTemplateVersion
ExtractTemplateVersion scans the file for a {{/* Version: ... */}} style header.
go/pkg/llm/promptmeta.go:52
↓ 1 callersMethodFindByVersion
(ctx context.Context, traderID string, version int64)
go/pkg/repo/trader_config_repo.go:57
↓ 1 callersMethodGetAddress
GetAddress returns the signer wallet address.
go/pkg/exchange/hyperliquid/auth.go:78
↓ 1 callersMethodGetAssetIndex
GetAssetIndex resolves a stable asset identifier for the provided coin.
go/pkg/exchange/sim/provider.go:61
↓ 1 callersMethodGetConfig
GetConfig returns an immutable copy of the client configuration.
go/pkg/llm/client.go:508
↓ 1 callersMethodGetOpenOrders
(ctx context.Context)
go/pkg/exchange/interface.go:10
↓ 1 callersMethodGetOpenOrders
GetOpenOrders returns currently resting orders.
go/pkg/exchange/hyperliquid/order.go:126
↓ 1 callersMethodGetState
(ctx context.Context, traderID string)
go/pkg/repo/trader_runtime_repo.go:79
↓ 1 callersMethodHydrateCaches
(ctx context.Context, traderIDs []string)
go/pkg/manager/persistence.go:72
↓ 1 callersMethodIsActive
IsActive returns true when trader should participate in scheduling.
go/pkg/manager/trader.go:161
↓ 1 callersMethodLeaderboard
()
go/internal/logic/leaderboardlogic.go:29
↓ 1 callersFunctionLeaderboardHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/leaderboardhandler.go:14
↓ 1 callersMethodList
List returns journal file paths ordered ascending by timestamp/name. If limit > 0, only the latest N files are returned.
go/pkg/journal/reader.go:27
↓ 1 callersMethodListCooldowns
(ctx context.Context, traderID string)
go/pkg/repo/trader_runtime_repo.go:80
↓ 1 callersFunctionLoad
(path string)
go/internal/config/config.go:182
↓ 1 callersMethodLoadAccountTotals
()
go/internal/data/datasource.go:8
↓ 1 callersMethodLoadAnalytics
()
go/internal/data/datasource.go:12
↓ 1 callersFunctionLoadConfig
LoadConfig reads configuration from disk.
go/pkg/exchange/config.go:80
↓ 1 callersFunctionLoadConfig
LoadConfig reads configuration from disk.
go/pkg/market/config.go:65
↓ 1 callersFunctionLoadConfigFromReader
LoadConfigFromReader constructs a Config from an io.Reader.
go/pkg/exchange/config.go:101
↓ 1 callersFunctionLoadConfigFromReader
LoadConfigFromReader constructs a Config from a reader with the provided base directory.
go/pkg/manager/config.go:140
↓ 1 callersMethodLoadConversations
()
go/internal/data/datasource.go:15
↓ 1 callersMethodLoadCryptoPrices
()
go/internal/data/datasource.go:7
↓ 1 callersMethodLoadLeaderboard
()
go/internal/data/datasource.go:11
↓ 1 callersMethodLoadModelAnalytics
LoadModelAnalytics loads analytics for a specific model
go/internal/data/loader.go:87
↓ 1 callersMethodLoadModelAnalytics
(modelId string)
go/internal/data/datasource.go:13
↓ 1 callersMethodLoadPositions
()
go/internal/data/datasource.go:14
↓ 1 callersMethodLoadSinceInception
()
go/internal/data/datasource.go:10
↓ 1 callersMethodLoadTrades
()
go/internal/data/datasource.go:9
↓ 1 callersMethodModelAnalytics
(modelId string)
go/internal/logic/modelanalyticslogic.go:29
↓ 1 callersFunctionModelAnalyticsHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/modelanalyticshandler.go:15
↓ 1 callersMethodModifyOrders
(ctx context.Context, requests []ModifyOrderRequest)
go/pkg/exchange/hyperliquid/provider.go:33
↓ 1 callersFunctionMustLoadExchange
MustLoadExchange loads etc/exchange.yaml from the project root and panics on error. It isolates exchange config to avoid requiring other sections (LLM
go/internal/config/helpers.go:14
↓ 1 callersFunctionNewManager
NewManager constructs a Manager with injected dependencies.
go/pkg/manager/manager.go:140
↓ 1 callersFunctionNewPriceFeeder
(symbol string, prices []float64)
go/pkg/backtest/feeder_simple.go:16
↓ 1 callersFunctionNewReader
NewReader returns a reader rooted at dir (defaults to ./journal).
go/pkg/journal/reader.go:18
↓ 1 callersFunctionParseModelID
ParseModelID splits a fully qualified model string into provider and model name.
go/pkg/llm/provider.go:27
↓ 1 callersMethodPlaceOrder
PlaceOrder synchronously fills an IOC-like order at the provided limit price.
go/pkg/exchange/sim/provider.go:88
↓ 1 callersFunctionPositionsHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/positionshandler.go:15
↓ 1 callersFunctionProjectPath
ProjectPath joins the repository root with the provided relative path.
go/pkg/confkit/path.go:44
↓ 1 callersMethodRecentByModel
(ctx context.Context, modelID string, limit int)
go/internal/model/tradesmodel.go:38
↓ 1 callersMethodReconcileTraderPositions
ReconcileTraderPositions ensures the manager's virtual book matches the actual exchange positions for a trader. It also auto-assigns unowned positions
go/pkg/manager/manager.go:1191
↓ 1 callersMethodRecordAccountSnapshot
(ctx context.Context, snapshot AccountSyncSnapshot)
go/pkg/manager/persistence.go:70
↓ 1 callersMethodRecordAnalytics
(ctx context.Context, snapshot AnalyticsSnapshot)
go/pkg/manager/persistence.go:71
↓ 1 callersMethodRecordConversation
(ctx context.Context, rec ConversationRecord)
go/pkg/executor/persistence.go:10
↓ 1 callersMethodRecordDecision
RecordDecision updates timestamps after a decision round completes.
go/pkg/manager/trader.go:187
↓ 1 callersMethodRecordDecisionCycle
(ctx context.Context, record DecisionCycleRecord)
go/pkg/manager/persistence.go:69
↓ 1 callersMethodRecordPositionEvent
(ctx context.Context, event PositionEvent)
go/pkg/manager/persistence.go:68
↓ 1 callersMethodRecordPriceSeries
RecordPriceSeries persists historical price ticks (e.g., OHLCV candles).
go/pkg/market/persistence.go:15
↓ 1 callersMethodRecordSnapshot
RecordSnapshot persists a single market snapshot (price/latest context).
go/pkg/market/persistence.go:13
↓ 1 callersMethodRegisterTrader
RegisterTrader creates a VirtualTrader from the provided configuration and attaches providers and executor instances.
go/pkg/manager/manager.go:191
↓ 1 callersMethodReload
Reload reparses the underlying template from disk. This can be used when files change.
go/pkg/llm/prompt.go:57
↓ 1 callersFunctionResolvePath
ResolvePath resolves a file path relative to a base directory. It expands environment variables and handles both absolute and relative paths. If the f
go/pkg/confkit/confkit.go:15
↓ 1 callersMethodRunTradingLoop
RunTradingLoop executes the main orchestration loop (minimal skeleton).
go/pkg/manager/manager.go:446
↓ 1 callersMethodSetPayload
(payload string)
go/cmd/journalreplay/main.go:148
↓ 1 callersMethodShouldMakeDecision
ShouldMakeDecision determines whether a decision should be requested now.
go/pkg/manager/trader.go:168
↓ 1 callersMethodSinceInception
()
go/internal/logic/sinceinceptionlogic.go:29
↓ 1 callersFunctionSinceInceptionHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/sinceinceptionhandler.go:14
↓ 1 callersMethodSync
(ctx context.Context, records []TraderConfigRecord)
go/pkg/repo/trader_config_repo.go:54
↓ 1 callersMethodTemporary
()
go/pkg/llm/retry_test.go:248
↓ 1 callersFunctionTraderConfigToRecord
TraderConfigToRecord serializes a TraderConfig into the format expected by the repository layer. Durations and guard structs are preserved as-is so th
go/pkg/manager/config_sync.go:28
↓ 1 callersMethodTrades
()
go/internal/logic/tradeslogic.go:29
↓ 1 callersFunctionTradesHandler
(svcCtx *svc.ServiceContext)
go/internal/handler/tradeshandler.go:14
↓ 1 callersMethodUpdatePerformance
UpdatePerformance refreshes the cached performance view used in prompts.
go/pkg/executor/executor.go:23
↓ 1 callersMethodUpdateTx
(ctx context.Context, tx *sql.Tx, data *TraderConfig)
go/internal/model/traderconfigmodel.go:22
↓ 1 callersMethodUpsertCooldown
(ctx context.Context, record SymbolCooldownRecord)
go/pkg/repo/trader_runtime_repo.go:78
↓ 1 callersMethodUpsertState
(ctx context.Context, record RuntimeStateRecord)
go/pkg/repo/trader_runtime_repo.go:77
↓ 1 callersMethodValidate
Validate ensures all providers have sane configuration.
go/pkg/exchange/config.go:166
↓ 1 callersMethodValidate
Validate ensures the configuration is structurally sound.
go/pkg/market/config.go:161
↓ 1 callersFunctionWithMainAddress
WithMainAddress configures the main account address for info requests. This is used when the API wallet (agent wallet) is different from the main acco
go/pkg/exchange/hyperliquid/client.go:91
↓ 1 callersMethodWriteCycle
WriteCycle writes a cycle record to a timestamped JSON file.
go/pkg/journal/journal.go:47
↓ 1 callersFunctionadaptManagerConfig
(cfg *managerpkg.Config, totalEquity float64, allowed []string)
go/cmd/llm/main.go:120
← previousnext →401–500 of 1,407, ranked by callers