Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GuillermoEguilaz/Polymarket-Weather-Bot
/ functions
Functions
42 in github.com/GuillermoEguilaz/Polymarket-Weather-Bot
⨍
Functions
42
◇
Types & classes
7
↓ 43 callers
Function
stat
(label: string, value: string, tone: Tone = "cyan")
src/colors.ts:85
↓ 16 callers
Function
panel
( title: string, lines: string[], tone: Tone = "cyan", width = 76 )
src/colors.ts:89
↓ 10 callers
Function
skip
(msg: string)
src/colors.ts:119
↓ 8 callers
Function
warn
(msg: string)
src/colors.ts:111
↓ 7 callers
Function
badge
(text: string, tone: Tone = "cyan")
src/colors.ts:66
↓ 6 callers
Function
ok
(msg: string)
src/colors.ts:107
↓ 5 callers
Function
tint
(tone: Tone)
src/colors.ts:19
↓ 4 callers
Function
getFunderAddress
(cfg: BotConfig, wallet?: Wallet)
src/clob.ts:16
↓ 4 callers
Function
modeTone
(mode: TradeMode)
src/strategy.ts:30
↓ 4 callers
Function
parseNumber
(value: string | undefined, fallback: number)
src/config.ts:31
↓ 4 callers
Function
progressBar
( value: number, max = 1, width = 22, tone: Tone = "green" )
src/colors.ts:70
↓ 3 callers
Function
shortQuestion
(question: string, max = 62)
src/strategy.ts:52
↓ 2 callers
Function
divider
(title?: string, tone: Tone = "cyan", width = 72)
src/colors.ts:56
↓ 2 callers
Function
fit
(input: string, width: number)
src/colors.ts:47
↓ 2 callers
Function
getApiCreds
(cfg: BotConfig)
src/clob.ts:42
↓ 2 callers
Function
getMarketYesPrice
(marketId: string)
src/polymarket.ts:56
↓ 2 callers
Function
getSignerWallet
(cfg: BotConfig)
src/clob.ts:11
↓ 2 callers
Function
getWalletBalanceUsdViaClob
(cfg: BotConfig)
src/walletBalance.ts:20
↓ 2 callers
Function
hasValidApiCreds
(value: unknown)
src/clob.ts:25
↓ 2 callers
Function
loadSim
()
src/simState.ts:55
↓ 2 callers
Function
modeText
(mode: TradeMode)
src/strategy.ts:36
↓ 2 callers
Function
run
(options: RunOptions)
src/strategy.ts:127
↓ 2 callers
Function
stripAnsi
(input: string)
src/colors.ts:39
↓ 1 callers
Function
buyYesLimit
( client: ClobClient, tokenId: string, price: number, sizeShares: number )
src/clob.ts:102
↓ 1 callers
Function
getActiveLocations
(cfg: BotConfig)
src/config.ts:71
↓ 1 callers
Function
getClobClient
(cfg: BotConfig)
src/clob.ts:87
↓ 1 callers
Function
getForecast
(citySlug: string)
src/nws.ts:38
↓ 1 callers
Function
getPolymarketEvent
( citySlug: string, month: string, day: number, year: number )
src/polymarket.ts:36
↓ 1 callers
Function
getWalletBalanceUsd
( walletAddress: string )
src/walletBalance.ts:57
↓ 1 callers
Function
getYesTokenId
(market: PolymarketMarket)
src/polymarket.ts:22
↓ 1 callers
Function
hoursUntilResolution
(event: PolymarketEvent)
src/parsing.ts:25
↓ 1 callers
Function
loadConfig
()
src/config.ts:30
↓ 1 callers
Function
main
()
src/index.ts:55
↓ 1 callers
Function
parseTempRange
( question: string | undefined | null )
src/parsing.ts:3
↓ 1 callers
Function
priceTone
( price: number, entry: number, exit: number )
src/strategy.ts:42
↓ 1 callers
Function
resetSim
()
src/simState.ts:78
↓ 1 callers
Function
saveSim
(sim: SimulationState)
src/simState.ts:73
↓ 1 callers
Function
sellYesLimit
( client: ClobClient, tokenId: string, price: number, sizeShares: number )
src/clob.ts:120
↓ 1 callers
Function
showPositions
()
src/strategy.ts:56
↓ 1 callers
Function
validateKeys
(cfg: BotConfig)
src/index.ts:14
↓ 1 callers
Function
visibleLength
(input: string)
src/colors.ts:43
Function
info
(msg: string)
src/colors.ts:115