MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,242 in github.com/TauricResearch/TradingAgents

↓ 2 callersFunctionobservable
Whether a decision on `instrument` is observed: listed securities only.
src/engine/memory.ts:482
↓ 2 callersMethodobservations
( key: string, query: { limit: number; end?: string }, call?: Call, )
src/data/capabilities.ts:743
↓ 2 callersFunctiononeCurrency
(tool: string, holdings: readonly Prepared[])
src/tools/series.ts:137
↓ 2 callersFunctionparagraph
(runs: readonly Run[], x: number, w: number, size: number, color: string)
src/cli/report/pdf.ts:177
↓ 2 callersFunctionparseChoice
"provider/id" read: split at the first slash, so a server's own slashes stay in the id.
src/config/settings.ts:420
↓ 2 callersFunctionpendingFile
Where an account deletion waits until Tauric confirms it: the session ids, one list.
src/engine/session.ts:539
↓ 2 callersFunctionpercent
(what: string)
src/tools/valuation.ts:18
↓ 2 callersFunctionpick
( source: Record<string, unknown>, fields: Record<string, z.ZodType>, problem: (field: string) => string
src/config/json.ts:20
↓ 2 callersFunctionplace
(state: TranscriptState, block: BlockBody)
src/cli/transcript-state.ts:417
↓ 2 callersFunctionplain
Text in the body style, its citations marked.
src/cli/report/layout.ts:90
↓ 2 callersFunctionpreviewLines
( preview: Preview, { width, rows }: { width: number; rows: number }, )
src/cli/preview-rows.ts:24
↓ 2 callersFunctionpromptCacheKey
(request: ModelRequest)
src/models/hosted.ts:46
↓ 2 callersFunctionpublish
Put a lock with `holder` at `path` unless one is there; true when it was put.
src/store/lock.ts:69
↓ 2 callersMethodputSession
Create the session, or replace its metadata whole.
src/data/tauric/applications.ts:116
↓ 2 callersFunctionquestionReserve
(limits: Limits)
src/contracts/limits.ts:264
↓ 2 callersFunctionranked
( items: readonly T[], query: string, text: (item: T) => string, )
src/cli/match.ts:55
↓ 2 callersFunctionreadBounded
A regular file's text, read no further than the size bound; undefined when over it, or not text.
src/agents/skill-dir.ts:61
↓ 2 callersFunctionreadConfigFile
( path: string, problems: string[], )
src/config/settings.ts:347
↓ 2 callersFunctionreadHidden
( prompt: string, input: NodeJS.ReadStream, output: NodeJS.WriteStream, signal?: AbortSignal, )
src/cli/secret.ts:17
↓ 2 callersFunctionreadLogHead
(path: string, bytes: number = SESSIONS.headBytes)
src/store/log.ts:50
↓ 2 callersFunctionreadSkillFile
(dir: string, listed: readonly string[], file: string)
src/agents/skill-dir.ts:46
↓ 2 callersFunctionrefable
(schema: T)
src/tools/tool.ts:132
↓ 2 callersFunctionrefuse
A request this source cannot answer as asked: the model is told what to ask instead.
src/data/tauric/provider.ts:520
↓ 2 callersFunctionrelativeLines
(relative: Relative, riskFree: number)
src/tools/risk.ts:207
↓ 2 callersFunctionrelativeOf
( asset: PriceSeries, benchmark: PriceSeries, riskFreePct = 0, )
src/compute/risk.ts:203
↓ 2 callersFunctionremoveIfStill
Remove the lock at `path` if its holder's token is still `token`; only that holder or a breaker calls this.
src/store/lock.ts:89
↓ 2 callersFunctionrender
({ symbol, query, until, articles, next_cursor }, { id, room })
src/tools/news.ts:132
↓ 2 callersFunctionrenderResult
(result: { id?: string; tool: string; label: string; provenance: Provenance; payload: unknown; tab
src/tools/render.ts:15
↓ 2 callersFunctionrequirePlan
The tokens, when the plan may be used with them; signed in without plan approval, no model call may use them.
src/models/chatgpt-auth.ts:590
↓ 2 callersMethodresearch
The latest daily research report on a covered security.
src/data/capabilities.ts:648
↓ 2 callersFunctionresolveLimits
(...layers: unknown[])
src/config/limits.ts:46
↓ 2 callersFunctionresolvePaths
(env: NodeJS.ProcessEnv = process.env)
src/config/paths.ts:68
↓ 2 callersMethodrevoke
(refreshToken: string, clientId: string | undefined)
src/models/chatgpt-auth.ts:532
↓ 2 callersFunctionrgbOf
* The palette colour as RGB, where it can be trusted: black, the greys and white of the 16 named colours * (the coloured ones are themed too freely t
src/cli/theme.ts:68
↓ 2 callersFunctionrises
Whether the return rises from one solution to the next by more than rounding.
src/compute/optimize.ts:278
↓ 2 callersFunctionriskLines
(risk: Risk & { sessions_per_year: number }, riskFree: number)
src/tools/risk.ts:173
↓ 2 callersFunctionriskOf
(series: PriceSeries, riskFreePct = 0)
src/compute/risk.ts:99
↓ 2 callersFunctionroom
(height: number)
src/cli/report/pdf.ts:163
↓ 2 callersFunctionrule
(y: number, color: string, thickness = 0.5)
src/cli/report/pdf.ts:166
↓ 2 callersFunctionrunAgent
( spec: AgentSpec, brief: string, deps: AgentDeps, history: readonly Message[] = [], )
src/agents/loop.ts:126
↓ 2 callersFunctionrunOn
(chosen: Settings & { model: ModelRoute })
src/cli/main.tsx:252
↓ 2 callersFunctionrunningFor
A time worth showing on a running row: from a second on.
src/cli/Transcript.tsx:439
↓ 2 callersFunctionruns
(tokens: readonly Token[] | undefined, style: Omit<Run, "text"> = {})
src/cli/report/layout.ts:104
↓ 2 callersFunctionrunsOnChosen
(chosen: Startup)
src/cli/main.tsx:302
↓ 2 callersFunctionsameHolding
Whether two solutions hold the same weights at the same bounds, so the solutions between them are on one line.
src/compute/optimize.ts:229
↓ 2 callersFunctionsampleVariance
The sample variance: squared deviations from the mean over n - 1; exactly 0 when every value is the same.
src/compute/expression.ts:345
↓ 2 callersFunctionsaveSync
(on: boolean, paths: Paths)
src/config/settings.ts:453
↓ 2 callersFunctionsavedRoute
(dir: string, id: string)
src/engine/session.ts:519
↓ 2 callersFunctionscalars
(name: string, args: Value[], least: number, most: number)
src/compute/expression.ts:322
↓ 2 callersFunctionscan
Read `text`'s finished lines (its last line may still be being written), starting inside `fence`.
src/cli/stream-split.ts:50
↓ 2 callersMethodscope
The view of one step's calls in run `run` of `turn`; a call publishes only while `signal` is live.
src/tools/evidence-store.ts:115
↓ 2 callersFunctionscrubbingSecrets
( client: ModelClient, secrets: readonly string[] | (() => readonly string[]), )
src/models/scrub.ts:8
↓ 2 callersFunctionselectedOption
(state: PickerState)
src/cli/form/picker-state.ts:88
↓ 2 callersFunctionselfUpdate
(deps: UpdateDeps)
src/cli/self-update.ts:102
↓ 2 callersFunctionsend
(token: string)
src/models/chatgpt.ts:50
↓ 2 callersFunctionseriesLines
Each series' lines, one failed said in a line of its own, then the notes on them together.
src/tools/risk.ts:158
↓ 2 callersFunctionsessionInfo
The session as `/status` and the header describe it.
src/cli/interactive.tsx:202
↓ 2 callersFunctionsetupActions
({ paths, say, added, terminal, }: { /** Where the settings and the ChatGPT sign-in's file are. */
src/cli/setup/setup-actions.ts:31
↓ 2 callersFunctionsetupFacts
(settings: Settings, signedIn: boolean, current?: RouteName)
src/cli/setup/setup-actions.ts:20
↓ 2 callersFunctionsetupHelp
()
src/cli/startup.ts:107
↓ 2 callersFunctionsharedReturns
(series: readonly PriceSeries[])
src/compute/portfolio.ts:37
↓ 2 callersFunctionshortened
(text: string, chars: number)
src/tools/tool-text.ts:250
↓ 2 callersFunctionshown
(value: unknown)
src/tools/quote.ts:119
↓ 2 callersFunctionshownOptions
(state: PickerState)
src/cli/form/picker-state.ts:83
↓ 2 callersFunctionsignIn
(deps: ProviderDeps)
src/models/providers.ts:160
↓ 2 callersFunctionsigned
(value: number)
src/tools/risk.ts:171
↓ 2 callersMethodsigningKeys
OpenAI's signing keys; none fetched means OpenAI cannot be checked, so nothing is sent.
src/models/chatgpt-auth.ts:427
↓ 2 callersFunctionsimpleReturns
(values: readonly number[])
src/compute/series.ts:36
↓ 2 callersMethodsize
The file's size in bytes.
src/store/log.ts:126
↓ 2 callersFunctionsma
The simple moving average: the mean of the last n values, from the n-th value.
src/compute/indicators.ts:55
↓ 2 callersFunctionspinnerFrame
(now: number, unicode: boolean)
src/cli/rows.ts:34
↓ 2 callersMethodstatement
( symbol: string, query: { statement: "income_statement" | "balance_sheet" | "cash_flow";
src/data/capabilities.ts:206
↓ 2 callersFunctionstepKey
(open: OpenStep, input: string, key: StepKey)
src/cli/form/form-step.ts:57
↓ 2 callersFunctionstepPaste
(open: OpenStep, text: string)
src/cli/form/form-step.ts:75
↓ 2 callersFunctionstepReasoning
( route: { provider: string; model: string; reasoning?: ReasoningLevel }, thinking: boolean | undefined, )
src/models/hosted.ts:51
↓ 2 callersFunctionstepView
(open: OpenStep)
src/cli/form/form-step.ts:83
↓ 2 callersFunctionstepsUI
( theme: Theme, io: { stdin?: NodeJS.ReadStream; stdout?: NodeJS.WriteStream } = {}, )
src/cli/setup/SetupSteps.tsx:58
↓ 2 callersFunctionsuccessionNotes
(succession: Succession)
src/tools/tool-text.ts:114
↓ 2 callersFunctionsuccessionOf
* The company's filers across successions, the current one first: each link of the chain after the first * holds the predecessors a successor took ov
src/data/tauric/provider.ts:599
↓ 2 callersFunctionsummaryTokens
Output the summary may take in `window`: a quarter of it at most.
src/engine/compaction.ts:62
↓ 2 callersFunctionsyncTo
(key: string, model: ModelRoute)
src/cli/main.tsx:246
↓ 2 callersMethodsyncWith
* Copy the session through `setup`, from its start: sync turned on while it runs, or a key saved since * that may be another account's, so the copy
src/engine/session.ts:314
↓ 2 callersFunctiontailRows
The last `rows` rows of `text` as the terminal wraps it at `columns` (the way Ink wraps it).
src/cli/Transcript.tsx:371
↓ 2 callersMethodthemes
The latest weekly themes across the news, largest first.
src/data/capabilities.ts:646
↓ 2 callersMethodthesis
(symbol: string, call?: Call)
src/data/capabilities.ts:644
↓ 2 callersFunctionthinkingRows
Thinking as rows: two cells in, each wrapped row behind a rule.
src/cli/Transcript.tsx:350
↓ 2 callersFunctiontokenRecord
(body: Record<string, unknown>, now: number, previous?: Tokens)
src/models/chatgpt-auth.ts:609
↓ 2 callersMethodtokenRequest
OpenAI's answer to a token request; never logs or echoes the form.
src/models/chatgpt-auth.ts:498
↓ 2 callersFunctiontook
* How long something took, from the engine's times when both are known (so a replayed session shows its * real times), else from when this terminal s
src/cli/transcript-state.ts:231
↓ 2 callersFunctiontotal
()
src/cli/rows.ts:56
↓ 2 callersMethodtransportFailure
(cause: unknown)
src/data/tauric/transport.ts:186
↓ 2 callersFunctiontrueRange
* The true range of each session after the first (Wilder, 1978): the largest of its high less its low * and the distances of each from the prior clos
src/compute/indicators.ts:232
↓ 2 callersFunctionturnsOf
(history: readonly Message[])
src/engine/compaction.ts:31
↓ 2 callersMethodunary
()
src/compute/expression.ts:163
↓ 2 callersFunctionunderPolicy
( attempt: (maxOutputTokens: number | undefined) => Promise<A>, view: (attempt: A) => Attempt, { outputT
src/agents/recovery.ts:78
↓ 2 callersFunctionunfinished
A stream that ended without the provider's finish: the answer may be cut short.
src/models/ai-sdk.ts:331
↓ 2 callersFunctionunitOf
(asFiled: string | null, unit: Unit | null)
src/data/tauric/provider.ts:638
↓ 2 callersMethodunread
An answer with a status the document does not declare for it.
src/data/tauric/transport.ts:123
↓ 2 callersFunctionupdate
(paths: Paths)
src/cli/subcommands.ts:193
↓ 2 callersFunctionupdateReport
( update: () => Promise<UpdateResult>, )
src/cli/self-update.ts:84
← previousnext →301–400 of 1,242, ranked by callers