MCPcopy Create free account

hub / github.com/GuillermoEguilaz/Polymarket-Weather-Bot / functions

Functions42 in github.com/GuillermoEguilaz/Polymarket-Weather-Bot

↓ 43 callersFunctionstat
(label: string, value: string, tone: Tone = "cyan")
src/colors.ts:85
↓ 16 callersFunctionpanel
( title: string, lines: string[], tone: Tone = "cyan", width = 76 )
src/colors.ts:89
↓ 10 callersFunctionskip
(msg: string)
src/colors.ts:119
↓ 8 callersFunctionwarn
(msg: string)
src/colors.ts:111
↓ 7 callersFunctionbadge
(text: string, tone: Tone = "cyan")
src/colors.ts:66
↓ 6 callersFunctionok
(msg: string)
src/colors.ts:107
↓ 5 callersFunctiontint
(tone: Tone)
src/colors.ts:19
↓ 4 callersFunctiongetFunderAddress
(cfg: BotConfig, wallet?: Wallet)
src/clob.ts:16
↓ 4 callersFunctionmodeTone
(mode: TradeMode)
src/strategy.ts:30
↓ 4 callersFunctionparseNumber
(value: string | undefined, fallback: number)
src/config.ts:31
↓ 4 callersFunctionprogressBar
( value: number, max = 1, width = 22, tone: Tone = "green" )
src/colors.ts:70
↓ 3 callersFunctionshortQuestion
(question: string, max = 62)
src/strategy.ts:52
↓ 2 callersFunctiondivider
(title?: string, tone: Tone = "cyan", width = 72)
src/colors.ts:56
↓ 2 callersFunctionfit
(input: string, width: number)
src/colors.ts:47
↓ 2 callersFunctiongetApiCreds
(cfg: BotConfig)
src/clob.ts:42
↓ 2 callersFunctiongetMarketYesPrice
(marketId: string)
src/polymarket.ts:56
↓ 2 callersFunctiongetSignerWallet
(cfg: BotConfig)
src/clob.ts:11
↓ 2 callersFunctiongetWalletBalanceUsdViaClob
(cfg: BotConfig)
src/walletBalance.ts:20
↓ 2 callersFunctionhasValidApiCreds
(value: unknown)
src/clob.ts:25
↓ 2 callersFunctionloadSim
()
src/simState.ts:55
↓ 2 callersFunctionmodeText
(mode: TradeMode)
src/strategy.ts:36
↓ 2 callersFunctionrun
(options: RunOptions)
src/strategy.ts:127
↓ 2 callersFunctionstripAnsi
(input: string)
src/colors.ts:39
↓ 1 callersFunctionbuyYesLimit
( client: ClobClient, tokenId: string, price: number, sizeShares: number )
src/clob.ts:102
↓ 1 callersFunctiongetActiveLocations
(cfg: BotConfig)
src/config.ts:71
↓ 1 callersFunctiongetClobClient
(cfg: BotConfig)
src/clob.ts:87
↓ 1 callersFunctiongetForecast
(citySlug: string)
src/nws.ts:38
↓ 1 callersFunctiongetPolymarketEvent
( citySlug: string, month: string, day: number, year: number )
src/polymarket.ts:36
↓ 1 callersFunctiongetWalletBalanceUsd
( walletAddress: string )
src/walletBalance.ts:57
↓ 1 callersFunctiongetYesTokenId
(market: PolymarketMarket)
src/polymarket.ts:22
↓ 1 callersFunctionhoursUntilResolution
(event: PolymarketEvent)
src/parsing.ts:25
↓ 1 callersFunctionloadConfig
()
src/config.ts:30
↓ 1 callersFunctionmain
()
src/index.ts:55
↓ 1 callersFunctionparseTempRange
( question: string | undefined | null )
src/parsing.ts:3
↓ 1 callersFunctionpriceTone
( price: number, entry: number, exit: number )
src/strategy.ts:42
↓ 1 callersFunctionresetSim
()
src/simState.ts:78
↓ 1 callersFunctionsaveSim
(sim: SimulationState)
src/simState.ts:73
↓ 1 callersFunctionsellYesLimit
( client: ClobClient, tokenId: string, price: number, sizeShares: number )
src/clob.ts:120
↓ 1 callersFunctionshowPositions
()
src/strategy.ts:56
↓ 1 callersFunctionvalidateKeys
(cfg: BotConfig)
src/index.ts:14
↓ 1 callersFunctionvisibleLength
(input: string)
src/colors.ts:43
Functioninfo
(msg: string)
src/colors.ts:115