MCPcopy Create free account

hub / github.com/No-Trade-No-Life/Yuan / functions

Functions4,530 in github.com/No-Trade-No-Life/Yuan

↓ 8 callersMethodformatBytes
* 格式化字节大小
libraries/utils/src/crypto.benchmark.ts:47
↓ 8 callersFunctionformat_to
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2854
↓ 8 callersFunctiongetAccountIds
(credential: ICredential)
apps/vendor-okx/src/accountInfos/uid.ts:30
↓ 8 callersFunctiongetCommandHelp
(name: CommandName)
tools/yuanctl/src/cli/commandMetadata.ts:98
↓ 8 callersFunctiongetCredentialBySecretId
(sign: string)
apps/virtual-exchange/src/credential.ts:154
↓ 8 callersFunctionget_container
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:499
↓ 8 callersFunctionhandler
(param: MouseEventParams<Time>)
ui/web/src/modules/Chart/components/ChartComponent.tsx:232
↓ 8 callersFunctionlocaltime
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:531
↓ 8 callersFunctionmakeStrategyBboMaker
(context: StrategyContext)
apps/trade-copier/src/experimental/strategies/BBO_MAKER.ts:11
↓ 8 callersFunctionmakeStrategyBboMakerByDirection
(context: StrategyContext)
apps/trade-copier/src/experimental/strategies/BBO_MAKER_BY_DIRECTION.ts:14
↓ 8 callersFunctionmapHuobiSwapOrderToOrderType
(orderPriceType?: string)
apps/vendor-huobi/src/services/orders/mapHuobiSwapOrderToOrderType.ts:3
↓ 8 callersFunctionmax_of
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:355
↓ 8 callersFunctionmergeSelectors
({ selector, fieldSelector }: SelectorOptions)
tools/yuanctl/src/utils/filters.ts:85
↓ 8 callersMethodmetrics
* Returns a string in the prometheus' desired format * More info: https://prometheus.io/docs/concepts/data_model/ * Loop through each metric typ
libraries/prometheus-client/src/registry.ts:92
↓ 8 callersMethodopen
apps/vendor-ctp/ctp/include/spdlog/details/file_helper-inl.h:28
↓ 8 callersFunctionparse_align
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1318
↓ 8 callersFunctionpolyfillOrders
(orders: IOrder[])
apps/virtual-exchange/src/position.ts:128
↓ 8 callersFunctionprovideExchangeServices
(terminal: Terminal, exchange: IExchange<T>)
libraries/exchange/src/index.ts:118
↓ 8 callersFunctionreadBucket
()
apps/vendor-hyperliquid/src/api/rate-limit.test.ts:12
↓ 8 callersFunctionregisterAssociationRule
(rule: IAssociationRule)
ui/web/src/modules/System/associationRule.ts:15
↓ 8 callersFunctionrequest
( method: string, baseUrl: string, endpoint: string, params: Record<string, unknown> = {}, requestCo
apps/vendor-aster/src/api/public-api.ts:67
↓ 8 callersFunctionrequestPublic
( method: HttpMethod, path: string, params?: GateParams, )
apps/vendor-gate/src/api/http-client.ts:119
↓ 8 callersFunctionrequestZMQ
(req)
apps/vendor-ctp/src/context.ts:17
↓ 8 callersMethodreset
apps/vendor-ctp/ctp/include/spdlog/stopwatch.h:46
↓ 8 callersFunctionscan
apps/vendor-ctp/ctp/include/json.hpp:8810
↓ 8 callersFunctionsetMetricsQuoteState
(terminal_id: string)
libraries/data-quote/src/metrics.ts:14
↓ 8 callersMethodstart_object
apps/vendor-ctp/ctp/include/json.hpp:7264
↓ 8 callersMethodstore
apps/vendor-ctp/ctp/include/spdlog/details/null_mutex.h:26
↓ 8 callersFunctionto_nonnegative_int
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:1019
↓ 8 callersFunctionto_string
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:882
↓ 8 callersFunctionuseParamString
(key: string, defaultValue = '')
distributions/origin/@libs/utils/useParamString.ts:8
↓ 7 callersFunctionHmacSHA256
(data: Uint8Array, key: Uint8Array)
libraries/utils/src/crypto.ts:284
↓ 7 callersFunction__webpack_require__
(moduleId)
common/scripts/install-run.js:246
↓ 7 callersMethod_finalizeRequest
(requestContext: IRequestContext)
libraries/protocol/src/server.ts:553
↓ 7 callersFunctionaddAccountTransferAddress
(ctx: IAccountTransferAddressContext)
libraries/transfer/src/addAccountTransferAddress.ts:31
↓ 7 callersFunctionbase_iterator
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:507
↓ 7 callersMethodbegin
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1782
↓ 7 callersFunctioncalculatePositionBounds
( actualVolume: number, expectedVolume: number, volumeStep: number, )
apps/trade-copier/src/experimental/pure-functions.ts:44
↓ 7 callersFunctioncompares_unordered
apps/vendor-ctp/ctp/include/json.hpp:22843
↓ 7 callersFunctioncreateClientProductCache
( terminal: Terminal, options?: IProductCacheOptions, )
libraries/data-product/src/ProductCache.ts:55
↓ 7 callersFunctioncreateValidator
(schema: JSONSchema7)
libraries/protocol/src/schema.ts:5
↓ 7 callersMethodenqueue
(value: T)
libraries/utils/src/async-iterator-interop.ts:12
↓ 7 callersFunctionfind
apps/vendor-ctp/ctp/include/json.hpp:19166
↓ 7 callersMethodfindUnit
(Unit: new (...args: any[]) => T)
libraries/kernel/src/kernel.ts:221
↓ 7 callersFunctiongenerateProductId
(index: number)
apps/virtual-exchange/src/quote/benchmark/test-helpers.ts:18
↓ 7 callersFunctiongetDefaultCredential
()
apps/vendor-okx/src/api/private-api.ts:47
↓ 7 callersMethodget_begin
do not use begin() and end() to avoid collision with fmt/ranges
apps/vendor-ctp/ctp/include/spdlog/fmt/bin_to_hex.h:51
↓ 7 callersFunctiongmtime
* Converts given time since epoch as `std::time_t` value into calendar time, * expressed in Coordinated Universal Time (UTC). Unlike `std::gmtime`, t
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:589
↓ 7 callersFunctionloadAsFileSync
(x: string)
ui/web/src/modules/FileSystem/resolve.ts:194
↓ 7 callersFunctionmakeCredentialSchema
(type: string, payloadSchema: JSONSchema7)
libraries/exchange/src/index.ts:102
↓ 7 callersFunctionmapBinanceOrderTypeToYuants
( binanceType?: string, timeInForce?: string, )
apps/vendor-binance/src/services/orders/order-utils.ts:105
↓ 7 callersFunctionmapOrderTypeToTimeInForce
(order_type?: IOrder['order_type'])
apps/vendor-binance/src/services/orders/order-utils.ts:88
↓ 7 callersMethodmax_size
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2647
↓ 7 callersMethodpop_front
Pop item from front. If there are no elements in the container, the behavior is undefined.
apps/vendor-ctp/ctp/include/spdlog/details/circular_q.h:83
↓ 7 callersFunctionprovideInterestLedgerService
( terminal: Terminal, metadata: { direction: string; type: string; ledger_type: string[] }, fetchPage: (
libraries/exchange/src/interest_rate.ts:230
↓ 7 callersFunctionquote
(value: string)
apps/alert-receiver/src/alertmanager-compatible-utils/group-key.ts:41
↓ 7 callersFunctionrange_end
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:53
↓ 7 callersFunctionreadStream
(stream: PassThrough)
tools/yuanctl/src/cli/__tests__/cli-commands.test.ts:67
↓ 7 callersMethodreaddir
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:7
↓ 7 callersFunctionreloadData
()
ui/web/src/modules/DataRecord/DataRecordView.tsx:92
↓ 7 callersFunctionrenderRowsAsTable
( printer: YuanctlPrinter, rows: Array<Record<string, unknown>>, preferred?: string[], )
tools/yuanctl/src/cli/output.ts:36
↓ 7 callersFunctionrequest
(method: string, path: string, params: any)
apps/prometheus-client/src/index.ts:9
↓ 7 callersFunctionrun
( argv: string[], io: YuanctlIo = { stdin: process.stdin, stdout: process.stdout, stderr: proc
tools/yuanctl/src/cli/index.ts:29
↓ 7 callersMethodset_type
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:757
↓ 7 callersMethodset_upper
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:796
↓ 7 callersFunctionsha256
(data: Uint8Array)
libraries/utils/src/crypto.ts:261
↓ 7 callersFunctionspotPrivateTradeRequest
(credential: ICredential, method: string, path: string, params?: any)
apps/vendor-huobi/src/api/private-api.ts:142
↓ 7 callersFunctionsystem_error
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:4118
↓ 7 callersFunctionto_time_t
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:495
↓ 7 callersFunctionuseEMA
(source: Series, period: number)
distributions/origin/@libs/indicators/EMA.ts:9
↓ 7 callersFunctionverifyMessage
(message: string, signature: string, publicKey: string)
libraries/utils/src/crypto.ts:179
↓ 6 callersFunction_isWindows
()
common/scripts/install-run.js:666
↓ 6 callersFunctionacquire
( bucketId: string, config: { capacity: number; refillInterval: number; refillAmount: number }, ip: stri
apps/vendor-huobi/src/api/public-api.ts:46
↓ 6 callersFunctionacquireRateLimit
(url: URL, endpoint: string, weight: number, requestContext: RequestContext)
apps/vendor-aster/src/api/public-api.ts:50
↓ 6 callersMethodalign
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:761
↓ 6 callersFunctionbuildField
(label: string, value: string)
apps/asg-eventbridge-notifier/src/format.ts:6
↓ 6 callersFunctioncalculateDirectionalPositionVolumes
( positions: IPosition[], productId: string, direction: string, )
apps/trade-copier/src/experimental/pure-functions.ts:73
↓ 6 callersFunctioncalculatePositionVolumes
(positions: IPosition[], productId: string)
apps/trade-copier/src/experimental/pure-functions.ts:18
↓ 6 callersMethodcheck_arg_id
Reports an error if using the automatic argument indexing; otherwise switches to the manual indexing.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:910
↓ 6 callersMethodcleanLength
()
libraries/time-series/src/interfaces.ts:9
↓ 6 callersMethodcompare
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:2641
↓ 6 callersFunctionconcatUint8Arrays
(...arrays: Uint8Array[])
apps/vendor-hyperliquid/src/api/sign.ts:65
↓ 6 callersMethodcreate
(type: CollectorType, name: string, help = '', histogramBuckets: number[] = [])
libraries/prometheus-client/src/registry.ts:69
↓ 6 callersFunctioncreateLabelKeyNode
(node: TreeNode, name: string, labels: [string, string][])
libraries/prometheus/src/utils.ts:18
↓ 6 callersFunctiondata
apps/vendor-ctp/ctp/include/zmq.hpp:590
↓ 6 callersMethoddynamic_precision
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:775
↓ 6 callersMethodend
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1783
↓ 6 callersFunctionescape
apps/vendor-ctp/ctp/include/json.hpp:2974
↓ 6 callersMethodfill
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:812
↓ 6 callersMethodformat
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/compile.h:109
↓ 6 callersMethodformatTime
* 格式化时间
libraries/utils/src/crypto.benchmark.ts:57
↓ 6 callersMethodfull
apps/vendor-ctp/ctp/include/spdlog/details/circular_q.h:87
↓ 6 callersFunctiongetAllFields
()
apps/virtual-exchange/src/quote/benchmark/test-helpers.ts:25
↓ 6 callersFunctiongetLastPeakType
()
distributions/origin/@libs/indicators/ZIGZAG.ts:104
↓ 6 callersFunctiongetObject
(value: unknown)
apps/vendor-hyperliquid/src/api/rate-limit.ts:60
↓ 6 callersFunctiongetRestBaseWeight
(ctx: RestRequestContext)
apps/vendor-hyperliquid/src/api/rate-limit.ts:105
↓ 6 callersFunctiongetSeverityIndex
(value: string)
apps/alert-receiver/src/utils.ts:3
↓ 6 callersFunctiongetTradingAccountId
(credential: ICredential)
apps/vendor-okx/src/accountInfos/uid.ts:34
↓ 6 callersFunctionget_iterator
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2093
↓ 6 callersFunctionis_negative
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:971
← previousnext →301–400 of 4,530, ranked by callers