MCPcopy Create free account

hub / github.com/discountry/ritmex-bot / functions

Functions3,514 in github.com/discountry/ritmex-bot

↓ 1,157 callersMethodget
( path: string, options: { query?: Record<string, unknown>; headers?: Record<string, strin
src/exchanges/lighter/http-client.ts:206
↓ 672 callersMethodlog
(type, detail)
src/strategy/grid-engine.ts:349
↓ 469 callersFunctiont
(key: TranslationKey, params: Record<string, unknown> = {}, lang: Language = language)
src/i18n/index.ts:738
↓ 212 callersFunctionlog
(exchange, symbol, timeframe)
docs/ccxt/examples/ccxt.pro/js/calculate-ohlcvs-from-trades-warmup.js:9
↓ 152 callersMethodcall_api
Makes the HTTP request (synchronous) :param method: Method to call. :param url: Path to method endpoint. :param header_params:
docs/lighter/lighter-python-main/lighter/api_client.py:251
↓ 121 callersMethodclose
(intent: ClosePositionIntent)
src/exchanges/order-router.ts:28
↓ 105 callersMethodadd
(handler: (value: T) => void)
src/exchanges/lighter/gateway.ts:49
↓ 103 callersMethodread
(self)
docs/lighter/lighter-python-main/lighter/rest.py:38
↓ 100 callersMethodresponse_deserialize
Deserializes response into an object. :param response_data: RESTResponse object to be deserialized. :param response_types_map: dict of
docs/lighter/lighter-python-main/lighter/api_client.py:286
↓ 94 callersFunctionformatNumber
(value: number | null | undefined, digits = 4, fallback = "-")
src/utils/format.ts:11
↓ 87 callersMethodcreateOrder
(params: CreateOrderParams)
src/exchanges/adapter.ts:75
↓ 87 callersFunctionparseNumber
(value: string | undefined, fallback: number)
src/config.ts:145
↓ 83 callersMethodensureInitialized
(context?: string)
src/exchanges/adapter-utils.ts:22
↓ 78 callersFunctionextractMessage
(error: unknown)
src/utils/errors.ts:22
↓ 64 callersMethodon
(event: GridEvent, listener: GridListener)
src/strategy/grid-engine.ts:265
↓ 52 callersMethodparam_serialize
Builds the HTTP request params needed by the request. :param method: Method to call. :param resource_path: Path to method endpoint.
docs/lighter/lighter-python-main/lighter/api_client.py:142
↓ 50 callersMethodselect_header_accept
Returns `Accept` based on an array of accepts provided. :param accepts: List of headers. :return: Accept (e.g. application/json).
docs/lighter/lighter-python-main/lighter/api_client.py:560
↓ 48 callersMethodrun
(self)
docs/lighter/lighter-python-main/lighter/ws_client.py:153
↓ 47 callersFunctionfromX18
(valueX18: BigNumber.Value)
src/exchanges/nado/gateway.ts:168
↓ 43 callersMethodstop
(intent: StopOrderIntent)
src/exchanges/order-router.ts:26
↓ 42 callersMethodcancelOrder
(params: { symbol: string; orderId: number | string })
src/exchanges/adapter.ts:76
↓ 40 callersFunctiongetPosition
(snapshot: AccountSnapshot | null, symbol: string)
src/utils/strategy.ts:10
↓ 39 callersFunctionwrapErr
(err error)
docs/lighter/lighter-go-main/wasm/main.go:19
↓ 38 callersFunctionformatPriceToString
(price: number, decimals: number)
src/utils/math.ts:64
↓ 38 callersFunctionsafeSubscribe
( subscribe: (cb: (payload: T) => void) => void, handler: (payload: T) => void, log: LogHandler, messa
src/strategy/common/subscriptions.ts:8
↓ 37 callersMethoddebug
Debug status :param value: The debug status, True or False. :type: bool
docs/lighter/lighter-python-main/lighter/configuration.py:301
↓ 34 callersMethodsleep
(duration: number)
src/exchanges/paradex/gateway.ts:994
↓ 33 callersMethodemit
(value: T)
src/exchanges/lighter/gateway.ts:51
↓ 33 callersFunctionrun
(id)
docs/ccxt/examples/js/error-handling.js:16
↓ 32 callersFunctionisUnknownOrderError
(error: unknown)
src/utils/errors.ts:1
↓ 30 callersMethodsend
(notification: TradeNotification)
src/notifications/types.ts:15
↓ 29 callersFunctiondefault_example_setup
(config_file="./api_key_config.json")
docs/lighter/lighter-python-main/examples/utils.py:33
↓ 28 callersMethodcancelAllOrders
(params: { symbol: string })
src/exchanges/adapter.ts:78
↓ 26 callersFunctionresolveExchangeId
(value?: string | null)
src/exchanges/create-adapter.ts:76
↓ 25 callersMethodinfo
info Get info of zklighter :param _request_timeout: timeout setting for this request. If one number
docs/lighter/lighter-python-main/lighter/api/root_api.py:41
↓ 25 callersFunctionisOrderActiveStatus
(status: string | undefined)
src/utils/order-status.ts:1
↓ 25 callersMethodupdate
(position: PositionSnapshot, referencePrice: number | null)
src/strategy/common/session-volume.ts:8
↓ 24 callersFunctionnowMs
()
src/exchanges/nado/gateway.ts:204
↓ 24 callersFunctionsignedTxResponseErr
(err any)
docs/lighter/lighter-go-main/sharedlib/main.go:73
↓ 24 callersFunctionunlockOperating
( locks: OrderLockMap, timers: OrderTimerMap, pendings: OrderPendingMap, type: string )
src/core/order-coordinator.ts:74
↓ 23 callersMethodmarket
(intent: MarketOrderIntent)
src/exchanges/order-router.ts:25
↓ 23 callersMethodoff
(event: GridEvent, listener: GridListener)
src/strategy/grid-engine.ts:269
↓ 23 callersFunctiontoNumber
(value: unknown)
src/exchanges/binance/gateway.ts:155
↓ 22 callersMethodnext_nonce
(self, api_key: Optional[int] = None)
docs/lighter/lighter-python-main/lighter/nonce_manager.py:49
↓ 21 callersFunctioncreateAccountSnapshot
(symbol: string, positionAmt: number)
tests/grid-engine.test.ts:125
↓ 21 callersMethodemitAccount
(snapshot: AccountSnapshot)
tests/grid-engine.test.ts:53
↓ 21 callersFunctiongetTopPrices
(depth?: Depth | null)
src/utils/price.ts:3
↓ 19 callersMethodlogDebug
(context: string, detail?: unknown)
src/exchanges/standx/gateway.ts:1330
↓ 19 callersFunctionrecoverPanic
recoverPanic wraps a function execution with panic recovery
docs/lighter/lighter-go-main/wasm/main.go:106
↓ 19 callersFunctionstepSwing
( state: SwingState, config: SwingLogicConfig, input: SwingStepInput )
src/strategy/swing-logic.ts:50
↓ 18 callersMethodemitUpdate
()
src/strategy/maker-points-engine.ts:1378
↓ 18 callersFunctionnormalizeSymbol
(raw: string)
src/exchanges/standx/gateway.ts:192
↓ 18 callersFunctionprint_api
(method, *args, **kwargs)
docs/lighter/lighter-python-main/examples/get_info.py:14
↓ 17 callersFunctiongetClient
(args []js.Value)
docs/lighter/lighter-go-main/wasm/main.go:85
↓ 17 callersFunctiongetClient
getClient returns the go TxClient from the specified cApiKeyIndex and cAccountIndex
docs/lighter/lighter-go-main/sharedlib/main.go:108
↓ 17 callersMethodgetOrderKey
(side: "BUY" | "SELL", price: string, intent: "ENTRY" | "EXIT" = "ENTRY")
src/strategy/grid-engine.ts:1473
↓ 17 callersFunctiontable
(values)
docs/ccxt/examples/ccxt.pro/py/bitmex_watch_ohlcv.py:5
↓ 16 callersMethodHash
(lighterChainId uint32, extra ...g.Element)
docs/lighter/lighter-go-main/types/txtypes/interface.go:20
↓ 16 callersMethodSign
(message []byte, hFunc hash.Hash)
docs/lighter/lighter-go-main/signer/key_manager.go:13
↓ 16 callersMethodValidate
()
docs/lighter/lighter-go-main/types/txtypes/interface.go:18
↓ 16 callersMethodcheck_client
(self)
docs/lighter/lighter-python-main/lighter/signer_client.py:354
↓ 16 callersMethodemitOrders
(orders: Order[])
tests/grid-engine.test.ts:57
↓ 16 callersFunctionnormalizeOrderIdentity
(value: unknown)
src/exchanges/lighter/order-identity.ts:10
↓ 16 callersFunctiontrim_exception
(e: Exception)
docs/lighter/lighter-python-main/examples/utils.py:8
↓ 15 callersMethodFullFillDefaultOps
FullFillDefaultOps returns a usable TransactOpts object if none was provided. This should not the be case for sharedlib, except for the nonce, which i
docs/lighter/lighter-go-main/client/tx_client.go:59
↓ 15 callersMethodcomputeDesiredOrders
(price: number)
src/strategy/grid-engine.ts:1559
↓ 15 callersFunctioncomputePositionPnl
( position: PositionSnapshot, bestBid?: number | null, bestAsk?: number | null )
src/utils/pnl.ts:3
↓ 15 callersFunctionconvertTxInfoToJS
(info txtypes.TxInfo, err error)
docs/lighter/lighter-go-main/wasm/main.go:37
↓ 15 callersFunctionconvertTxInfoToResponse
(txInfo txtypes.TxInfo, err error)
docs/lighter/lighter-go-main/sharedlib/main.go:81
↓ 15 callersFunctiongetExchangeDisplayName
(id: SupportedExchangeId)
src/exchanges/create-adapter.ts:84
↓ 15 callersMethodgetSnapshot
()
src/strategy/grid-engine.ts:273
↓ 15 callersFunctiongetTransactOpts
(cNonce C.longlong)
docs/lighter/lighter-go-main/sharedlib/main.go:114
↓ 15 callersFunctiongetTxInfo
(tx interface{})
docs/lighter/lighter-go-main/types/txtypes/utils.go:41
↓ 15 callersMethodresolveMarket
(symbol: string, preferredKind?: MarketKind)
src/exchanges/binance/gateway.ts:1625
↓ 15 callersFunctionresolveSymbolFromEnv
(explicitExchangeId?: SupportedExchangeId | string | null)
src/config.ts:103
↓ 15 callersMethodsend_tx
(self, tx_type: StrictInt, tx_info: str)
docs/lighter/lighter-python-main/lighter/signer_client.py:893
↓ 15 callersFunctionsignedTxResponsePanic
(err any)
docs/lighter/lighter-go-main/sharedlib/main.go:77
↓ 14 callersMethodcancelOrders
(params: { symbol: string; orderIdList: Array<number | string> })
src/exchanges/adapter.ts:77
↓ 14 callersFunctioncreateExchangeAdapter
(options: ExchangeFactoryOptions)
src/exchanges/create-adapter.ts:88
↓ 14 callersMethodemitUpdate
()
src/strategy/offset-maker-engine.ts:962
↓ 14 callersMethodemitUpdate
()
src/strategy/liquidity-maker-engine.ts:1109
↓ 14 callersMethodget_default
Return new instance of ApiClient. This method returns newly created, based on default constructor, object of ApiClient class or retur
docs/lighter/lighter-python-main/lighter/api_client.py:119
↓ 14 callersFunctionisRateLimitError
(error: unknown)
src/utils/errors.ts:32
↓ 14 callersFunctionmarketClose
( adapter: ExchangeAdapter, symbol: string, openOrders: Order[], locks: OrderLockMap, timers: OrderT
src/core/order-coordinator.ts:377
↓ 13 callersMethod__decode_tx_info
(result: SignedTxResponse)
docs/lighter/lighter-python-main/lighter/signer_client.py:285
↓ 13 callersMethodcall
(method: string, params: Record<string, unknown>)
src/exchanges/lighter/signer.ts:120
↓ 13 callersMethodemitOrders
()
src/exchanges/standx/gateway.ts:1387
↓ 13 callersFunctiongetHex10FromUint64
(value uint64)
docs/lighter/lighter-go-main/types/txtypes/utils.go:49
↓ 13 callersFunctionnormalizeSymbolInput
(value: string)
src/exchanges/nado/gateway.ts:148
↓ 12 callersFunctionbuildAdapterFromEnv
(options: BuildAdapterOptions)
src/exchanges/resolve-from-env.ts:18
↓ 12 callersMethodcreate_order
( self, market_index, client_order_index, base_amount,
docs/lighter/lighter-python-main/lighter/signer_client.py:488
↓ 12 callersMethodemitUpdate
()
src/strategy/maker-engine.ts:605
↓ 12 callersMethodpickString
(values: Array<unknown>)
src/exchanges/backpack/gateway.ts:1102
↓ 12 callersMethodresolveDisplaySymbol
(kind: MarketKind, marketId: string)
src/exchanges/binance/gateway.ts:1692
↓ 12 callersMethodresolveDisplaySymbol
(canonical: string, fallback: string)
src/exchanges/nado/gateway.ts:2221
↓ 11 callersFunctionassertAllowedOptions
( options: Record<string, string | boolean>, allowed: ReadonlySet<string> )
src/cli/command-parser.ts:385
↓ 11 callersMethodensureInitialized
(symbol?: string)
src/exchanges/paradex/gateway.ts:139
↓ 11 callersMethodnotify
(notification: TradeNotification)
src/strategy/maker-points-engine.ts:1447
↓ 11 callersMethodqueryOpenOrders
()
src/exchanges/adapter.ts:85
↓ 11 callersFunctionshouldResetMarketOrders
(bucket: unknown, snapshot: boolean)
src/exchanges/lighter/order-feed.ts:9
next →1–100 of 3,514, ranked by callers