MCPcopy Create free account

hub / github.com/Thornsnake/MCRBot / functions

Functions207 in github.com/Thornsnake/MCRBot

↓ 1 callersMethodpersistSnapshot
(snapshot: ICycleSnapshot)
class/gui/DataBridge.ts:143
↓ 1 callersFunctionrateLimit
(options: { windowMs: number; max: number })
class/gui/middleware/rateLimit.ts:8
↓ 1 callersMethodrebalance
()
class/Trade.ts:1098
↓ 1 callersMethodrebalanceMarketCaps
(instruments: IInstrument[], tradableCoins: string[], tradableCoinsWithoutRemovalList: string[])
class/Trade.ts:420
↓ 1 callersMethodrebalanceOverperformers
(instruments: IInstrument[], tradableCoins: string[], buyableCoins: string[])
class/Trade.ts:700
↓ 1 callersMethodreconfigure
* Called by the web GUI after a configuration change. Recreates the cron jobs if their * expressions changed, and starts trading if the configura
index.ts:520
↓ 1 callersMethodreconfigure
(changedKeys: string[])
class/gui/BotControl.ts:24
↓ 1 callersMethodrestore
* Restores the live CONFIG from a previously captured JSON string (used to roll back a bad * API-key change). Does not persist — the caller decid
class/ConfigStore.ts:200
↓ 1 callersFunctionsetDiscordPost
(key: keyof DiscordPostConfig, value: boolean)
gui/src/pages/SettingsPage.tsx:130
↓ 1 callersMethodsetIO
(io: SocketIOServer)
class/gui/DataBridge.ts:21
↓ 1 callersMethodsetListeners
* Registers the dashboard listeners. Called by the GUI server at startup; absent when the * dashboard is disabled, in which case the bot behaves
class/Trade.ts:81
↓ 1 callersFunctionsetOne
(coin: string, pct: number)
gui/src/components/config/fields.tsx:296
↓ 1 callersMethodsetReconfigure
(callback: (changedKeys: string[]) => Promise<void> | void)
class/gui/BotControl.ts:20
↓ 1 callersMethodstartBroadcasting
()
class/gui/DataBridge.ts:36
↓ 1 callersMethodstopSchedules
()
index.ts:508
↓ 1 callersFunctiontimeAgo
(ms: number)
gui/src/lib/format.ts:38
↓ 1 callersFunctiontrackSubscription
(key: string)
gui/src/api/socket.ts:71
↓ 1 callersFunctionuntrackSubscription
(key: string)
gui/src/api/socket.ts:75
↓ 1 callersFunctionuseDistribution
()
gui/src/api/hooks/useDistribution.ts:10
↓ 1 callersFunctionuseDistributionHistory
(coin: string | null)
gui/src/api/hooks/useDistribution.ts:24
↓ 1 callersFunctionuseLiveEvents
()
gui/src/api/hooks/useLiveEvents.ts:29
↓ 1 callersFunctionusePerformance
(params: PerformanceQuery = {})
gui/src/api/hooks/usePerformance.ts:9
↓ 1 callersFunctionuseToast
()
gui/src/lib/useToast.ts:9
↓ 1 callersFunctionuseTrades
(params: TradesQuery = {})
gui/src/api/hooks/useTrades.ts:9
↓ 1 callersFunctionuseUpdateConfig
()
gui/src/api/hooks/useConfig.ts:23
↓ 1 callersMethodvalidate
* Validates a complete config object. Returns a list of human-readable error messages; an empty * list means the config is valid. (The QUOTE-has-
class/ConfigStore.ts:26
MethodAccount
()
class/Trade.ts:65
FunctionApp
()
gui/src/App.tsx:10
FunctionAppShell
()
gui/src/components/layout/AppShell.tsx:12
FunctionArrayEditor
({ label, description, values, onChange, uppercase = true, }: { label: string; description?: str
gui/src/components/config/fields.tsx:196
FunctionAuthGate
({ children }: { children: React.ReactNode })
gui/src/components/auth/AuthGate.tsx:12
FunctionAuthScreen
({ mode, connectError, }: { mode: Mode; connectError?: string | null; })
gui/src/components/auth/AuthScreen.tsx:13
MethodAuthentication
()
class/Account.ts:13
MethodAuthentication
()
class/Trade.ts:53
MethodBook
()
class/Trade.ts:69
MethodCalculation
()
class/Trade.ts:73
FunctionChangePassword
({ onResult, }: { onResult: (message: string, type: "success" | "error") => void; })
gui/src/components/config/ChangePassword.tsx:15
FunctionCoinDrilldown
({ coin, quote, onClose, }: { coin: string; quote: string; onClose: () => void; })
gui/src/components/distribution/CoinDrilldown.tsx:9
MethodCoingecko
()
class/Trade.ts:61
FunctionDashboardPage
()
gui/src/pages/DashboardPage.tsx:28
MethodDiscordWebHook
()
class/WebHook.ts:61
FunctionDistributionHeatmap
({ coins, quote, availableFunds, height = 420, }: DistributionHeatmapProps)
gui/src/components/distribution/DistributionHeatmap.tsx:50
FunctionDistributionPage
()
gui/src/pages/DistributionPage.tsx:10
FunctionDryTag
()
gui/src/components/trades/tradeBadges.tsx:40
FunctionFieldGrid
({ children }: { children: ReactNode })
gui/src/components/config/fields.tsx:39
FunctionHeader
({ quote, dry }: HeaderProps)
gui/src/components/layout/Header.tsx:10
MethodInstrument
()
class/Trade.ts:57
FunctionLoadingSpinner
()
gui/src/pages/DashboardPage.tsx:17
FunctionNumberInput
({ label, value, onChange, error, step, min, hint, }: { label: string; value: number; onCh
gui/src/components/config/fields.tsx:54
FunctionPerformanceChart
({ worth, basis, }: { worth: SeriesPoint[]; basis: SeriesPoint[]; })
gui/src/pages/PerformancePage.tsx:32
FunctionPerformancePage
()
gui/src/pages/PerformancePage.tsx:131
FunctionRecentTradesTable
({ trades }: { trades: Trade[] })
gui/src/components/trades/RecentTradesTable.tsx:8
FunctionSectionCard
({ title, description, icon, children, }: { title: string; description?: string; icon?: ReactNod
gui/src/components/config/fields.tsx:8
FunctionSelectInput
({ label, value, options, onChange, }: { label: string; value: string; options: string[]; onCh
gui/src/components/config/fields.tsx:125
FunctionSettingsPage
()
gui/src/pages/SettingsPage.tsx:41
FunctionSideBadge
({ side }: { side: TradeSide })
gui/src/components/trades/tradeBadges.tsx:15
FunctionSidebar
()
gui/src/components/layout/Sidebar.tsx:31
FunctionStatCard
({ label, value, sub, icon: Icon, accent = "blue", }: StatCardProps)
gui/src/components/common/StatCard.tsx:24
FunctionStatusDot
({ connected, label, size = "sm", pulse = false, }: StatusDotProps)
gui/src/components/common/StatusDot.tsx:8
FunctionTargetActualBars
({ coins, quote, threshold, }: TargetActualBarsProps)
gui/src/components/distribution/TargetActualBars.tsx:27
FunctionTextInput
({ label, value, onChange, placeholder, type = "text", hint, mono, }: { label: string; value
gui/src/components/config/fields.tsx:93
FunctionToastIcon
({ type }: { type: ToastType })
gui/src/components/common/Toast.tsx:18
FunctionToastItem
({ toast, onClose, }: { toast: ToastMessage; onClose: (id: number) => void; })
gui/src/components/common/Toast.tsx:24
FunctionToastStack
({ toasts, onClose, }: { toasts: ToastMessage[]; onClose: (id: number) => void; })
gui/src/components/common/Toast.tsx:57
FunctionToggle
({ label, description, checked, onChange, }: { label: string; description?: string; checked: boo
gui/src/components/config/fields.tsx:154
MethodTrade
()
class/gui/BotControl.ts:16
FunctionTradesPage
()
gui/src/pages/TradesPage.tsx:21
FunctionTrailingStopCard
({ ts, }: { ts: DashboardTrailingStop; })
gui/src/components/dashboard/TrailingStopCard.tsx:9
FunctionTypeBadge
({ type }: { type: TradeType })
gui/src/components/trades/tradeBadges.tsx:28
FunctionWeightEditor
({ weights, onChange, }: { weights: Record<string, number>; onChange: (w: Record<string, number>) => v
gui/src/components/config/fields.tsx:283
Methodall
()
class/Instrument.ts:8
Methodall
(command: string, params: any[] = [])
class/Database.ts:160
FunctionauthMiddleware
(req: Request, res: Response, next: NextFunction)
class/gui/middleware/auth.ts:10
MethodcoinCache
()
class/CoinGecko.ts:23
Methodconstructor
()
index.ts:44
Methodconstructor
()
class/Book.ts:7
Methodconstructor
()
class/Instrument.ts:6
Methodconstructor
()
class/Account.ts:9
Methodconstructor
()
class/Database.ts:19
Methodconstructor
()
class/Authentication.ts:6
Methodconstructor
()
class/Calculation.ts:9
Methodconstructor
()
class/WebHook.ts:40
Methodconstructor
()
class/CoinGecko.ts:10
Methodconstructor
()
class/Trade.ts:44
Methodconstructor
()
class/gui/GUIServer.ts:35
FunctionformatQuote
(value: number, quote: string, decimals = 2)
gui/src/lib/format.ts:15
FunctionformatSignedPct
(value: number, decimals = 2)
gui/src/lib/format.ts:20
Methodget
(command: string, params: any[] = [])
class/Database.ts:156
FunctionhandleSave
()
gui/src/pages/SettingsPage.tsx:149
FunctionhandleSubmit
(e: FormEvent)
gui/src/components/auth/AuthScreen.tsx:29
FunctionhandleSubmit
(e: FormEvent)
gui/src/components/config/ChangePassword.tsx:27
FunctionlinkClasses
({ isActive }: { isActive: boolean })
gui/src/components/layout/Sidebar.tsx:15
FunctiononConnect
()
gui/src/api/hooks/useLiveEvents.ts:40
FunctiononCycle
()
gui/src/api/hooks/useLiveEvents.ts:109
FunctiononDisconnect
()
gui/src/api/hooks/useLiveEvents.ts:41
FunctiononDistribution
(data: DistributionUpdateData)
gui/src/api/hooks/useLiveEvents.ts:67
FunctiononPortfolio
(data: PortfolioUpdateData)
gui/src/api/hooks/useLiveEvents.ts:45
FunctiononTrade
(data: TradeNewData)
gui/src/api/hooks/useLiveEvents.ts:80
Methodrevoke
(token: string)
class/gui/Auth.ts:88
Methodsanitize
(levels: string[][])
class/Book.ts:47
← previousnext →101–200 of 207, ranked by callers