MCPcopy Create free account

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

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

↓ 6,615 callersFunctioncodec_convert
apps/vendor-ctp/ctp/src/NTNL-CTP-Bridge-Implementation.GENERATED.cpp:12
↓ 6,573 callersMethodc_str
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1293
↓ 724 callersFunctioninfo
apps/vendor-ctp/ctp/include/spdlog/logger.h:139
↓ 698 callersFunctionformatTime
(time: Date | number | string, timeZone: string | undefined = undefined)
libraries/utils/src/format-time.ts:11
↓ 629 callersFunctionstring
apps/vendor-ctp/ctp/include/json.hpp:6785
↓ 428 callersFunctionerror
apps/vendor-ctp/ctp/include/spdlog/logger.h:149
↓ 406 callersMethodpush
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/args.h:58
↓ 380 callersMethodget
()
libraries/prometheus/src/types.ts:41
↓ 358 callersMethodlog
apps/vendor-ctp/ctp/include/spdlog/sinks/base_sink-inl.h:26
↓ 311 callersMethodsend
Send exactly n_bytes of the given data. On error close the connection and throw.
apps/vendor-ctp/ctp/include/spdlog/details/tcp_client.h:103
↓ 307 callersMethoddump
* dump state from unit
libraries/kernel/src/kernel.ts:36
↓ 302 callersFunctionbuffer
apps/vendor-ctp/ctp/include/zmq.hpp:1158
↓ 299 callersMethodset
(value: number)
libraries/prometheus/src/types.ts:40
↓ 293 callersMethodwhat
returns the explanatory string
apps/vendor-ctp/ctp/include/json.hpp:4304
↓ 283 callersFunctionencodePath
(...params: any[])
libraries/utils/src/path.ts:7
↓ 276 callersMethodnext
Returns the next digit group separator position.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1834
↓ 252 callersFunctionmap
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:409
↓ 232 callersFunctionmove
apps/vendor-ctp/ctp/include/zmq.hpp:553
↓ 227 callersMethodsubscribe
(channel: string, instId?: string, handler?: Function)
apps/vendor-okx/src/ws.ts:224
↓ 180 callersFunctioncreate
apps/vendor-ctp/ctp/include/json.hpp:19551
↓ 153 callersMethodpush_back
apps/vendor-ctp/ctp/include/spdlog/details/backtracer-inl.h:43
↓ 144 callersFunctionconcat
apps/vendor-ctp/ctp/include/json.hpp:4277
↓ 144 callersMethodlabels
(labelObj: Labels)
libraries/prometheus/src/types.ts:43
↓ 142 callersFunctionescapeSQL
(val: any, options: {} = {})
libraries/sql/src/index.ts:13
↓ 141 callersMethodfromNodeEnv
* Create a default singleton terminal from Node.js environment variables * * You can call this method everywhere if you only need one terminal i
libraries/protocol/src/terminal.ts:181
↓ 131 callersMethodgetValue
()
libraries/prometheus/src/tree.ts:55
↓ 131 callersMethodwrite_character
apps/vendor-ctp/ctp/include/json.hpp:14846
↓ 127 callersMethodparse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON val
apps/vendor-ctp/ctp/include/json.hpp:12191
↓ 121 callersFunctionnewError
(type: string, context: Record<string, any>, originalError?: unknown)
libraries/utils/src/error.ts:15
↓ 119 callersFunctiondecodePath
(path: string)
libraries/utils/src/path.ts:16
↓ 118 callersMethodsize
apps/vendor-ctp/ctp/include/json.hpp:3109
↓ 113 callersFunctionuseEffect
(fn: () => void | (() => void), deps?: any[])
libraries/agent/src/hooks/basic-set.ts:25
↓ 106 callersFunctionrequestSQL
(terminal: Terminal, query: string)
libraries/sql/src/requestSQL.ts:9
↓ 105 callersMethoddata
Returns a pointer to the buffer data (not null-terminated).
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1795
↓ 103 callersMethodend
return iterator end (needed for range-based for)
apps/vendor-ctp/ctp/include/json.hpp:5261
↓ 102 callersFunctionfilter
(product_ids: string[], fields: IQuoteKey[], updated_at: number)
apps/virtual-exchange/src/quote/implementations/v3.ts:193
↓ 102 callersMethodprovideService
* Provide a service * * @deprecated - use `terminal.server.provideService` instead
libraries/protocol/src/terminal.ts:912
↓ 94 callersFunctiontokenBucket
(bucketId: string, options: TokenBucketOptions = {})
libraries/utils/src/tokenBucket.ts:89
↓ 94 callersFunctionuseState
(initState: T)
libraries/agent/src/hooks/basic-set.ts:100
↓ 91 callersMethodentries
()
ui/web/src/vite-env.d.ts:8
↓ 85 callersMethodadd
(value: number)
libraries/prometheus/src/types.ts:38
↓ 84 callersFunctionto_unsigned
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:437
↓ 83 callersMethodsize
apps/vendor-ctp/ctp/include/spdlog/details/file_helper-inl.h:110
↓ 82 callersMethodread
* 读取当前可用许可数量 * * @returns 当前可用许可数量
libraries/utils/src/semaphore.ts:109
↓ 81 callersMethodaccessor
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:502
↓ 76 callersMethodinc
(value?: number)
libraries/prometheus/src/types.ts:36
↓ 76 callersFunctionjoin
apps/vendor-ctp/ctp/include/zmq.hpp:2025
↓ 74 callersFunctionuseMemo
(fn: () => T, deps: any[])
libraries/agent/src/hooks/basic-set.ts:85
↓ 72 callersMethodout
Returns an iterator to the beginning of the output range.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2690
↓ 71 callersMethodbegin
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:763
↓ 70 callersFunctionexecuteCommand
(id: string, params = {})
ui/web/src/modules/CommandCenter/CommandCenter.tsx:27
↓ 68 callersMethoddelete
()
libraries/prometheus/src/types.ts:42
↓ 67 callersFunctionscopeError
( type: string, context: Record<string, any> | (() => Record<string, any>), staff: () => T, )
libraries/utils/src/error.ts:40
↓ 66 callersMethodsize
Returns the size of this buffer.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1789
↓ 63 callersMethodacquire
* 获取许可 * * 按照先到先得的顺序 (FIFO) 获取许可,如果当前可用许可不足,则等待直到有足够许可可用。 * * 获取许可后,调用者需要手动调用 release 方法来释放许可。 * * @param perms - 许可数量,默认值为 1 * @
libraries/utils/src/semaphore.ts:82
↓ 63 callersMethodbegin
return iterator begin (needed for range-based for)
apps/vendor-ctp/ctp/include/json.hpp:5255
↓ 63 callersMethoddata
apps/vendor-ctp/ctp/include/zmq.hpp:1130
↓ 63 callersMethodend
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:764
↓ 62 callersFunctionresolve
(x: string, options: IOptions)
ui/web/src/modules/FileSystem/resolve.ts:145
↓ 61 callersMethodacquireSync
* 同步获取许可 * * 如果当前可用许可不足,则立即抛出错误 * * 获取许可后,调用者需要手动调用 release 方法来释放许可。 * * @param perms - 许可数量,默认值为 1
libraries/utils/src/semaphore.ts:93
↓ 56 callersFunctioncreateCache
( /** * 从远程读取数据的函数 */ readRemote: (key: string, force_update: boolean) => Promise<T | undefined>,
libraries/cache/src/cache.ts:42
↓ 51 callersMethodrelease
* 释放许可 * * 释放指定数量的许可,并唤醒等待队列中的请求(如果有足够许可可用) * * 注意: 释放时不会检查释放的许可数量是否超过已获取的许可数量,调用者需自行保证逻辑正确 * * @param perms - 许可数量,默认值为 1
libraries/utils/src/semaphore.ts:103
↓ 51 callersMethodtype
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:754
↓ 50 callersMethodobserve
(value: number)
libraries/prometheus/src/types.ts:61
↓ 50 callersMethodsize
apps/vendor-ctp/ctp/include/zmq.hpp:2678
↓ 49 callersFunctionbuildInsertManyIntoTableSQL
( data: T[], tableName: string, options?: { /** * 需要插入的列名 * * 留空则使用数据的第一行的所有列进行推断
libraries/sql/src/index.ts:40
↓ 49 callersFunctionget
apps/vendor-ctp/ctp/include/json.hpp:5271
↓ 49 callersFunctionthrow_spdlog_ex
apps/vendor-ctp/ctp/include/spdlog/common-inl.h:62
↓ 48 callersFunctionreport_error
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format-inl.h:135
↓ 47 callersMethodassign
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1533
↓ 46 callersFunctionlog
(...params: any[])
ui/web/src/modules/BIOS/log.ts:4
↓ 45 callersFunctionformat
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/std.h:202
↓ 45 callersFunctionroundToStep
( value: number, step: number, /** * 取整方法 * * Math.round / Math.ceil / Math.floor * * @de
libraries/utils/src/roundToStep.ts:7
↓ 44 callersMethodparse_error
apps/vendor-ctp/ctp/include/json.hpp:4439
↓ 44 callersFunctionregisterPage
(type: string, component: React.ComponentType)
ui/web/src/modules/Pages/model.ts:9
↓ 43 callersMethodcount
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1854
↓ 43 callersMethodsize
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1292
↓ 42 callersMethodempty
apps/vendor-ctp/ctp/include/json.hpp:6236
↓ 42 callersFunctiontype_name
@brief return the type as string @sa https://json.nlohmann.me/api/basic_json/type_name/
apps/vendor-ctp/ctp/include/json.hpp:23328
↓ 41 callersFunctionUUID
()
libraries/utils/src/uuid.ts:8
↓ 41 callersFunctioncreateError
( code: string, category: YuanctlErrorCategory, message: string, details?: Record<string, unknown>, )
tools/yuanctl/src/cli/error.ts:21
↓ 41 callersMethodupdate
()
libraries/account-info-resolver/src/index.ts:118
↓ 40 callersMethodpush_back
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1816
↓ 40 callersFunctionuseSeriesMap
( name: string, parent: Series, tags: Record<string, any> | undefined, fn: (i: number, series: Series)
distributions/origin/@libs/utils/useSeriesMap.ts:5
↓ 39 callersMethodclear
Clears this buffer.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1799
↓ 39 callersFunctioncreateRequestContext
(baseKey: string, weight: number)
apps/vendor-binance/src/api/client.ts:110
↓ 39 callersFunctionfetch
(input: Request | string | URL, init?: IHTTPProxyFetchInit)
libraries/http-services/src/client.ts:61
↓ 39 callersFunctionuseRef
(initial_value: T)
libraries/agent/src/hooks/basic-set.ts:15
↓ 38 callersFunctionadd
add a character to token_buffer
apps/vendor-ctp/ctp/include/json.hpp:8702
↓ 38 callersFunctiongetTokenBucketOptions
(baseKey: string)
apps/vendor-binance/src/api/client.ts:73
↓ 37 callersFunctionbasic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
apps/vendor-ctp/ctp/include/json.hpp:19983
↓ 37 callersMethodreadFile
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:9
↓ 37 callersFunctionto_string
@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/
apps/vendor-ctp/ctp/include/json.hpp:13749
↓ 37 callersMethodwriteFile
(path: string, content: FileSystemWriteChunkType)
ui/web/src/modules/FileSystem/interfaces.ts:12
↓ 36 callersFunctioncreateRegistry
()
libraries/prometheus/src/registry.ts:13
↓ 36 callersMethodhandle
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:550
↓ 35 callersFunctionuseSeries
( name: string, parent: Series | undefined, tags: Record<string, any> = {}, )
libraries/agent/src/hooks/output-set.ts:12
↓ 34 callersFunctionis_object
@brief return whether value is an object @sa https://json.nlohmann.me/api/basic_json/is_object/
apps/vendor-ctp/ctp/include/json.hpp:20522
↓ 33 callersMethodempty
apps/vendor-ctp/ctp/include/spdlog/details/backtracer-inl.h:48
↓ 32 callersMethodappend
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1828
next →1–100 of 4,530, ranked by callers