MCPcopy Create free account

hub / github.com/SignalTradingLab/world-cup-2026-arbitrage-trading-bot / functions

Functions67 in github.com/SignalTradingLab/world-cup-2026-arbitrage-trading-bot

↓ 12 callersFunctiongetRedisClient
()
src/redis/client.ts:24
↓ 10 callersFunctionwithRedis
(operation: () => Promise<T>)
src/redis/store.ts:37
↓ 5 callersFunctionclamp
(value: number, min: number, max: number)
src/cli/settings-menu.ts:5
↓ 5 callersFunctionformatMoney
(value: number)
src/cli/display.ts:16
↓ 5 callersFunctionparseNumber
(value: string | undefined, fallback: number)
src/config.ts:4
↓ 3 callersFunctiondisplayEventSummary
(groups: EventGroup[])
src/cli/display.ts:39
↓ 3 callersFunctiondisplaySettings
(settings: ArbitrageSettings)
src/cli/display.ts:20
↓ 3 callersFunctionfetchPrice
(tokenId: string, side: PriceSide)
src/api/clob.ts:6
↓ 3 callersFunctiongetBestAsk
(tokenId: string)
src/api/clob.ts:51
↓ 3 callersFunctionparseJsonArray
(value: string | undefined, fallback: T[])
src/api/gamma.ts:31
↓ 3 callersMethodrefreshMarkets
(showState = false, forceRefresh = false)
src/cli/app.ts:76
↓ 3 callersMethodstart
()
src/cli/app.ts:50
↓ 2 callersFunctionbuildMarketStateRows
(groups: EventGroup[])
src/arbitrage/scanner.ts:17
↓ 2 callersFunctioncloseRedisClient
()
src/redis/client.ts:65
↓ 2 callersFunctiondiscoverWorldCupMarkets
( minLiquidityUsd: number, maxMarkets: number, )
src/api/gamma.ts:141
↓ 2 callersFunctiondisplayHelp
()
src/cli/display.ts:130
↓ 2 callersFunctiondisplayMarketState
(rows: MarketStateRow[])
src/cli/display.ts:66
↓ 2 callersFunctiondisplayScanStatus
( scanCount: number, opportunitiesFound: number, paused: boolean, )
src/cli/display.ts:141
↓ 2 callersFunctionfindYesNoIndices
(outcomes: string[])
src/arbitrage/scanner.ts:10
↓ 2 callersFunctionformatUsd
(value: number | null)
src/cli/display.ts:11
↓ 2 callersMethodgetStats
()
src/arbitrage/executor.ts:13
↓ 2 callersFunctionisRedisEnabled
()
src/redis/client.ts:12
↓ 2 callersFunctionloadSettings
(overrides?: Partial<ArbitrageSettings>)
src/config.ts:10
↓ 2 callersFunctionparseIntOrDefault
(value: string | undefined, fallback: number)
src/redis/client.ts:5
↓ 2 callersFunctionparseIntOrDefault
(value: string | undefined, fallback: number)
src/redis/store.ts:12
↓ 2 callersMethodpersistStats
()
src/cli/app.ts:225
↓ 2 callersFunctionshowBanner
()
src/cli/banner.ts:14
↓ 2 callersMethodshowMarketState
()
src/cli/app.ts:119
↓ 2 callersMethodupdateSettings
(settings: ArbitrageSettings)
src/arbitrage/executor.ts:9
↓ 1 callersFunctiondisplayOpportunity
(opportunity: ArbitrageOpportunity)
src/cli/display.ts:105
↓ 1 callersFunctiondisplayTradeResult
(result: TradeExecution)
src/cli/display.ts:124
↓ 1 callersMethodexecute
(opportunity: ArbitrageOpportunity)
src/arbitrage/executor.ts:20
↓ 1 callersFunctiongetQuotesForMarket
( outcomes: string[], tokenIds: string[], )
src/api/clob.ts:39
↓ 1 callersFunctiongetTokenQuote
(tokenId: string, outcome: string)
src/api/clob.ts:21
↓ 1 callersFunctiongroupEvents
(events: GammaEvent[], minLiquidityUsd: number, maxMarkets: number)
src/api/gamma.ts:115
↓ 1 callersMethodhandleCommand
(command: string)
src/cli/app.ts:142
↓ 1 callersFunctionisWorldCupRelated
(title: string, description = "")
src/api/gamma.ts:76
↓ 1 callersFunctionloadBotStatsFromRedis
()
src/redis/store.ts:121
↓ 1 callersFunctionloadMarketsFromRedis
( minLiquidityUsd: number, maxMarkets: number, )
src/redis/store.ts:69
↓ 1 callersFunctionloadSettingsFromRedis
()
src/redis/store.ts:53
↓ 1 callersFunctionloadSettingsWithRedis
( overrides?: Partial<ArbitrageSettings>, )
src/config.ts:25
↓ 1 callersFunctionmain
()
src/index.ts:6
↓ 1 callersFunctionmain
()
scripts/smoke-test.ts:6
↓ 1 callersMethodopenSettings
()
src/cli/app.ts:182
↓ 1 callersFunctionparsePercentInput
(value: string, current: number)
src/cli/settings-menu.ts:9
↓ 1 callersFunctionpingRedis
()
src/redis/client.ts:48
↓ 1 callersFunctionpromptForSettings
(current: ArbitrageSettings)
src/cli/settings-menu.ts:17
↓ 1 callersFunctionrecordOpportunityToRedis
(opportunity: ArbitrageOpportunity)
src/redis/store.ts:129
↓ 1 callersFunctionrecordTradeToRedis
(trade: TradeExecution)
src/redis/store.ts:137
↓ 1 callersMethodrunScanLoop
()
src/cli/app.ts:244
↓ 1 callersFunctionsaveBotStatsToRedis
(stats: BotStats)
src/redis/store.ts:113
↓ 1 callersFunctionsaveMarketStateToRedis
(rows: MarketStateRow[])
src/redis/store.ts:97
↓ 1 callersFunctionsaveMarketsToRedis
( minLiquidityUsd: number, maxMarkets: number, groups: EventGroup[], )
src/redis/store.ts:80
↓ 1 callersFunctionsaveSettingsToRedis
(settings: ArbitrageSettings)
src/redis/store.ts:61
↓ 1 callersFunctionscanBinaryMarket
( market: MarketInfo, settings: ArbitrageSettings, )
src/arbitrage/scanner.ts:61
↓ 1 callersFunctionscanForOpportunities
( groups: EventGroup[], settings: ArbitrageSettings, )
src/arbitrage/scanner.ts:141
↓ 1 callersFunctionscanNegRiskBundle
( group: EventGroup, settings: ArbitrageSettings, )
src/arbitrage/scanner.ts:95
↓ 1 callersFunctionsearchWorldCupEvents
()
src/api/gamma.ts:85
↓ 1 callersMethodshowStatus
()
src/cli/app.ts:208
↓ 1 callersMethodshutdown
()
src/cli/app.ts:236
↓ 1 callersFunctionsleep
(ms: number)
src/cli/app.ts:285
↓ 1 callersMethodstartCommandListener
()
src/cli/app.ts:127
↓ 1 callersFunctiontoMarketInfo
(event: GammaEvent, market: GammaMarket)
src/api/gamma.ts:40
Methodconstructor
(private settings: ArbitrageSettings)
src/arbitrage/executor.ts:7
Methodconstructor
()
src/cli/app.ts:45
FunctionfetchJson
(url: string)
src/api/gamma.ts:64
FunctionloadMarketStateFromRedis
()
src/redis/store.ts:105