Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/discountry/ritmex-bot
/ functions
Functions
3,514 in github.com/discountry/ritmex-bot
⨍
Functions
3,514
◇
Types & classes
596
↳
Endpoints
2
↓ 3 callers
Method
getSpotBalances
(snapshot: AccountSnapshot | null = this.accountSnapshot)
src/strategy/offset-maker-engine.ts:1041
↓ 3 callers
Method
getSpotBalances
(snapshot: AccountSnapshot | null = this.accountSnapshot)
src/strategy/liquidity-maker-engine.ts:1189
↓ 3 callers
Function
get_nonce_from_api
(client: ApiClient, account_index: int, api_key: int)
docs/lighter/lighter-python-main/lighter/nonce_manager.py:11
↓ 3 callers
Method
handleMarketMessage
(event: { data: any })
src/exchanges/standx/gateway.ts:979
↓ 3 callers
Function
hashOrderKey
(kind: MarketKind, symbol: string, orderId: string)
src/exchanges/binance/gateway.ts:160
↓ 3 callers
Function
hexToBytes
(hex: string)
src/exchanges/lighter/bytes.ts:6
↓ 3 callers
Function
isInvalidNonce
(error: unknown)
src/exchanges/lighter/gateway.ts:2192
↓ 3 callers
Method
isOrderClosed
(order: Order)
src/exchanges/paradex/gateway.ts:976
↓ 3 callers
Method
isPosition
(value: unknown)
src/exchanges/lighter/gateway.ts:1215
↓ 3 callers
Method
isReady
()
src/strategy/swing-engine.ts:256
↓ 3 callers
Method
isReady
()
src/strategy/grid-engine.ts:666
↓ 3 callers
Method
isSpotMarket
()
src/exchanges/lighter/gateway.ts:1828
↓ 3 callers
Function
loadConfig
()
tests/config-inline-comments.test.ts:13
↓ 3 callers
Function
makeClientOrderId
ENTRY: grid-E-{level}-{tsHex} EXIT: grid-X-{sourceLevel}-{targetLevel}-{tsHex}
src/strategy/grid-engine.ts:98
↓ 3 callers
Method
mapCcxtOrder
(order: CcxtOrder, kind: MarketKind, marketId: string)
src/exchanges/binance/gateway.ts:1512
↓ 3 callers
Method
mapOrder
(data: StandxOrder)
src/exchanges/standx/gateway.ts:1650
↓ 3 callers
Method
next
()
src/exchanges/lighter/types.ts:208
↓ 3 callers
Function
normalizeBaseSymbol
(symbol: string | undefined)
src/utils/strategy.ts:189
↓ 3 callers
Function
normalizeEnvValue
(value: string | undefined)
src/config.ts:117
↓ 3 callers
Method
normalizeStatus
(status?: string)
src/exchanges/backpack/gateway.ts:1076
↓ 3 callers
Function
normalizeTimeInForce
(value: unknown)
src/exchanges/binance/gateway.ts:140
↓ 3 callers
Method
onConnectionEvent
(listener: ConnectionEventListener)
src/exchanges/adapter.ts:81
↓ 3 callers
Method
openSocket
()
src/exchanges/aster/gateway.ts:1185
↓ 3 callers
Method
parameters_to_tuples
Get parameters as list of tuples, formatting collections. :param params: Parameters as dict or list of two-tuples :param dict collect
docs/lighter/lighter-python-main/lighter/api_client.py:465
↓ 3 callers
Function
parseBaseQuote
(symbol: string | null | undefined)
src/exchanges/lighter/gateway.ts:2158
↓ 3 callers
Function
parseCliArgs
(argv: string[] = process.argv.slice(2))
src/cli/args.ts:24
↓ 3 callers
Function
parseCommonOptions
(options: Record<string, string | boolean>)
src/cli/command-parser.ts:309
↓ 3 callers
Function
parseOptionBag
(args: string[])
src/cli/command-parser.ts:326
↓ 3 callers
Method
parseResponse
(response: Response, requestUrl: string)
src/exchanges/lighter/http-client.ts:271
↓ 3 callers
Function
placeTrailingStopOrder
( adapter: ExchangeAdapter, symbol: string, openOrders: Order[], locks: OrderLockMap, timers: OrderT
src/core/order-coordinator.ts:316
↓ 3 callers
Function
print_balance
(exchange, market_type)
docs/ccxt/examples/ccxt.pro/py/binance-futures-watch-balance.py:10
↓ 3 callers
Method
quantizePrice
(value: number, tick: number, decimals?: number)
src/exchanges/aster/gateway.ts:1750
↓ 3 callers
Function
readOptionalBooleanOption
(options: Record<string, string | boolean>, names: string[])
src/cli/command-parser.ts:429
↓ 3 callers
Function
readStateFile
()
src/strategy/common/grid-storage.ts:44
↓ 3 callers
Method
recordRestSuccess
()
src/exchanges/standx/gateway.ts:1793
↓ 3 callers
Method
refreshAccountSnapshot
()
src/exchanges/grvt/gateway.ts:597
↓ 3 callers
Method
refreshAccountSnapshot
()
src/exchanges/nado/gateway.ts:1030
↓ 3 callers
Method
refreshOpenOrders
(symbol: string)
src/exchanges/standx/gateway.ts:1492
↓ 3 callers
Method
refreshPositions
()
src/exchanges/aster/gateway.ts:1545
↓ 3 callers
Method
registerStream
(stream: string, state: StreamState)
src/exchanges/aster/gateway.ts:1008
↓ 3 callers
Function
resolveEffectiveExchange
(explicit?: SupportedExchangeId)
src/cli/command-executor.ts:499
↓ 3 callers
Function
resolveEffectiveSymbol
(explicit: string | undefined, exchange: SupportedExchangeId)
src/cli/command-executor.ts:504
↓ 3 callers
Method
resolveMarketByCcxtSymbol
(kind: MarketKind, ccxtSymbol: string)
src/exchanges/binance/gateway.ts:1679
↓ 3 callers
Method
resolveTxInfo
(payload: unknown)
src/exchanges/lighter/signer.ts:294
↓ 3 callers
Function
routeCloseOrder
(intent: ClosePositionIntent)
src/exchanges/order-router.ts:140
↓ 3 callers
Function
routeLimitOrder
(intent: LimitOrderIntent)
src/exchanges/order-router.ts:120
↓ 3 callers
Function
routeMarketOrder
(intent: MarketOrderIntent)
src/exchanges/order-router.ts:124
↓ 3 callers
Function
routeStopOrder
(intent: StopOrderIntent)
src/exchanges/order-router.ts:128
↓ 3 callers
Function
routeTrailingStopOrder
(intent: TrailingStopOrderIntent)
src/exchanges/order-router.ts:132
↓ 3 callers
Method
schedulePositionsRefresh
(delayMs: number)
src/exchanges/grvt/gateway.ts:587
↓ 3 callers
Method
scheduleReconnect
()
src/exchanges/standx/gateway.ts:963
↓ 3 callers
Method
scheduleReconnect
()
src/strategy/common/binance-depth.ts:325
↓ 3 callers
Method
scheduleReconnect
(reason: string)
src/strategy/common/binance-rsi.ts:150
↓ 3 callers
Method
send_tx_batch
(self, tx_types: List[StrictInt], tx_infos: List[str])
docs/lighter/lighter-python-main/lighter/signer_client.py:898
↓ 3 callers
Function
serialize
(params: Record<string, unknown>)
src/exchanges/aster/gateway.ts:61
↓ 3 callers
Method
shouldRemovePosition
(position: LighterPosition)
src/exchanges/lighter/gateway.ts:1274
↓ 3 callers
Method
sleep
(ms: number)
src/strategy/maker-points-engine.ts:1295
↓ 3 callers
Method
stopClientPing
()
src/exchanges/lighter/gateway.ts:1005
↓ 3 callers
Method
stopDataStaleCheck
* 停止数据过时检测
src/exchanges/standx/gateway.ts:1197
↓ 3 callers
Method
stopHeartbeat
()
src/exchanges/lighter/gateway.ts:985
↓ 3 callers
Method
stopHeartbeatMonitor
* 停止心跳监控
src/exchanges/standx/gateway.ts:1162
↓ 3 callers
Method
stopHeartbeatMonitor
()
src/strategy/common/binance-depth.ts:352
↓ 3 callers
Method
stopMaxDurationTimer
()
src/strategy/common/binance-depth.ts:367
↓ 3 callers
Function
sumUnrealizedProfit
(positions: AccountPosition[])
src/exchanges/aster/gateway.ts:717
↓ 3 callers
Method
suppressEntries
(source?: string)
src/core/lib/rate-limit.ts:33
↓ 3 callers
Method
syncPrecision
(force = false)
src/strategy/maker-points-engine.ts:1325
↓ 3 callers
Function
test
(symbol)
docs/ccxt/examples/js/builtin-rate-limiting-rest-poller.js:11
↓ 3 callers
Method
tick
()
src/strategy/grid-engine.ts:634
↓ 3 callers
Function
toAccountSnapshot
( symbol: string, details: LighterAccountDetails, positions: LighterPosition[] = [], assets: AccountAs
src/exchanges/lighter/mappers.ts:161
↓ 3 callers
Function
toBigNumberFromDecimalish
(value: unknown)
src/exchanges/nado/gateway.ts:172
↓ 3 callers
Function
toDecimalString
(value: number | string | undefined)
src/exchanges/grvt/gateway.ts:1518
↓ 3 callers
Function
toStringNumber
(value: number | undefined)
src/exchanges/dry-run-adapter.ts:155
↓ 3 callers
Method
tryReplaceStop
( side: "BUY" | "SELL", currentOrder: Order, nextStopPrice: number, lastPrice: number )
src/strategy/guardian-engine.ts:417
↓ 3 callers
Method
update_leverage
(self, market_index, margin_mode, leverage, nonce: int = DEFAULT_NONCE, api_key_index: int = DEFAULT_API_KEY_I
docs/lighter/lighter-python-main/lighter/signer_client.py:868
↓ 3 callers
Method
upsertOrder
(order: Order, kind: MarketKind, marketId: string)
src/exchanges/binance/gateway.ts:1373
↓ 3 callers
Method
watchOrders
(cb: OrderListener)
src/exchanges/adapter.ts:70
↓ 3 callers
Function
ws_send_batch_tx
(ws_client: websockets.ClientConnection, tx_types, tx_infos, tx_hashes)
docs/lighter/lighter-python-main/examples/utils.py:82
↓ 2 callers
Method
Check
Check validates that the client exists and the API key matches the one on the server
docs/lighter/lighter-go-main/client/client.go:100
↓ 2 callers
Method
GetAuthToken
(deadline time.Time)
docs/lighter/lighter-go-main/client/tx_get.go:13
↓ 2 callers
Method
GetBurnSharesTransaction
(tx *types.BurnSharesTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:175
↓ 2 callers
Method
GetCancelAllOrdersTransaction
(tx *types.CancelAllOrdersTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:151
↓ 2 callers
Method
GetCancelOrderTransaction
(tx *types.CancelOrderTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:125
↓ 2 callers
Method
GetChangePubKeyTransaction
(tx *types.ChangePubKeyReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:20
↓ 2 callers
Method
GetCreateGroupedOrdersTransaction
(tx *types.CreateGroupedOrdersTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:113
↓ 2 callers
Method
GetCreateOrderTransaction
(tx *types.CreateOrderTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:101
↓ 2 callers
Method
GetCreatePublicPoolTransaction
(tx *types.CreatePublicPoolTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:52
↓ 2 callers
Method
GetCreateSubAccountTransaction
(ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:40
↓ 2 callers
Method
GetMintSharesTransaction
(tx *types.MintSharesTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:163
↓ 2 callers
Method
GetModifyOrderTransaction
(tx *types.ModifyOrderTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:137
↓ 2 callers
Method
GetTransferTransaction
(tx *types.TransferTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:76
↓ 2 callers
Method
GetTxHash
GetTxHash returns the hash that was signed when creating this transaction. The hash coincides with the TxHash received from Lighter after submitting t
docs/lighter/lighter-go-main/types/txtypes/interface.go:16
↓ 2 callers
Method
GetTxInfo
()
docs/lighter/lighter-go-main/types/txtypes/interface.go:8
↓ 2 callers
Method
GetTxType
()
docs/lighter/lighter-go-main/types/txtypes/interface.go:6
↓ 2 callers
Method
GetUpdateLeverageTransaction
(tx *types.UpdateLeverageTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:187
↓ 2 callers
Method
GetUpdateMarginTransaction
(tx *types.UpdateMarginTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:199
↓ 2 callers
Method
GetUpdatePublicPoolTransaction
(tx *types.UpdatePublicPoolTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:64
↓ 2 callers
Method
GetWithdrawTransaction
(tx *types.WithdrawTxReq, ops *types.TransactOpts)
docs/lighter/lighter-go-main/client/tx_get.go:88
↓ 2 callers
Method
PubKeyBytes
()
docs/lighter/lighter-go-main/signer/key_manager.go:19
↓ 2 callers
Method
ValidateChildOrder
(order *OrderInfo)
docs/lighter/lighter-go-main/types/txtypes/create_grouped_orders.go:164
↓ 2 callers
Method
ValidateParentOrder
(order *OrderInfo)
docs/lighter/lighter-go-main/types/txtypes/create_grouped_orders.go:140
← previous
next →
401–500 of 3,514, ranked by callers