MCPcopy Create free account

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

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

↓ 13 callersMethodlocale
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2695
↓ 13 callersMethodlow
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:283
↓ 13 callersMethodstat
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:8
↓ 13 callersFunctionuseAccountInfo
(terminal: Terminal, account_id: string)
libraries/data-account/src/useAccountInfo.ts:8
↓ 13 callersMethodvisit
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:3737
↓ 12 callersMethodcapacity
Returns the capacity of this buffer.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1792
↓ 12 callersFunctioncreateTestPosition
( product_id: string, direction: string, volume: number, position_price: number, )
apps/trade-copier/src/experimental/__tests__/strategies/DEFAULT.test.ts:5
↓ 12 callersMethodexists
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:19
↓ 12 callersMethodgetChild
(key: string, initVisible: boolean)
libraries/prometheus/src/tree.ts:32
↓ 12 callersFunctionisfinite
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:1588
↓ 12 callersMethodnumber_float
apps/vendor-ctp/ctp/include/json.hpp:7249
↓ 12 callersFunctionprint
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/os.h:400
↓ 12 callersFunctionpublicRequest
* 基础公共请求函数
apps/vendor-okx/src/api/public-api.ts:40
↓ 12 callersMethodset_align
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:764
↓ 12 callersMethodupper
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:795
↓ 12 callersFunctionwriteToSQL
(ctx: ISQLWritterContext<T> & { terminal: Terminal })
libraries/sql/src/index.ts:159
↓ 11 callersMethodalloc
* 分配一个事件 * * @param timestamp - 事件(将要)发生的时间戳 * @returns id - 返回的事件 ID
libraries/kernel/src/kernel.ts:71
↓ 11 callersMethoddec
(value?: number)
libraries/prometheus/src/types.ts:37
↓ 11 callersFunctionencodeBase64
(data: Uint8Array)
libraries/utils/src/base64.ts:9
↓ 11 callersFunctiongetTokenBucketOptions
(baseKey: string)
apps/vendor-aster/src/api/private-api.ts:40
↓ 11 callersMethodname
apps/vendor-ctp/ctp/include/json.hpp:4316
↓ 11 callersMethodrequestService
* Make a request to a service * * - [x] SINGLE-IN-SINGLE-OUT * - [x] SINGLE-IN-STREAM-OUT * - [ ] STREAM-IN-SINGLE-OUT * - [ ] STREAM-I
libraries/protocol/src/client.ts:204
↓ 11 callersFunctionuseSinglePosition
( product_id: string, direction: string, account_id?: string, )
distributions/origin/@libs/utils/useSinglePosition.ts:6
↓ 11 callersMethodvalue
return value of the iterator
apps/vendor-ctp/ctp/include/json.hpp:5228
↓ 11 callersFunctionwriteChunk
(stream: RotatingLogStream, content: string)
apps/node-unit/src/logging.test.ts:8
↓ 10 callersMethodboolean
apps/vendor-ctp/ctp/include/json.hpp:7234
↓ 10 callersFunctionbuildInfoRequestBody
(type: string, params?: P)
apps/vendor-hyperliquid/src/api/public-api.ts:3
↓ 10 callersFunctioncount_digits
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1028
↓ 10 callersFunctioncreateTestOrder
(product_id: string, order_direction: string, volume: number, price: number)
apps/trade-copier/src/experimental/__tests__/pure-functions.test.ts:28
↓ 10 callersFunctiondecodeOHLCSeriesId
(series_id: string)
libraries/data-ohlc/src/series_id.ts:13
↓ 10 callersMethodflush
apps/vendor-ctp/ctp/include/spdlog/sinks/base_sink-inl.h:32
↓ 10 callersMethodformatBytes
* 格式化字节大小
apps/virtual-exchange/src/quote/benchmark/PerformanceTester.ts:129
↓ 10 callersMethodformatTime
* 格式化时间
apps/virtual-exchange/src/quote/benchmark/PerformanceTester.ts:149
↓ 10 callersFunctiongenerateTestData
(productCount: number, fields: IQuoteKey[])
apps/virtual-exchange/src/quote/benchmark/test-helpers.ts:44
↓ 10 callersFunctiongetInstruments
(params: { instType: string; uly?: string; instFamily?: string; instId?: string; })
apps/vendor-okx/src/api/public-api.ts:107
↓ 10 callersMethodgetQuote
(datasource_id: string, product_id: string)
libraries/kernel/src/units/QuoteDataUnit.ts:36
↓ 10 callersFunctionif
apps/vendor-ctp/ctp/include/json.hpp:22814
↓ 10 callersFunctionignore_unused
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:363
↓ 10 callersFunctionlinearSwapPrivateQueryRequest
(credential: ICredential, method: string, path: string, params?: any)
apps/vendor-huobi/src/api/private-api.ts:145
↓ 10 callersFunctionparse
apps/vendor-ctp/ctp/include/json.hpp:23213
↓ 10 callersFunctionparser
apps/vendor-ctp/ctp/include/json.hpp:19306
↓ 10 callersFunctionprovideInterestRateService
( terminal: Terminal, metadata: IInterestRateServiceMetadata, fetchPage: (request: IIngestInterestRateRe
libraries/exchange/src/interest_rate.ts:119
↓ 10 callersFunctionrequestPublic
( method: HttpMethod, endpoint: string, params?: RequestParams, requestContext?: IRequestContext, )
apps/vendor-binance/src/api/client.ts:253
↓ 10 callersMethodrunWorkerTest
* 运行单个测试场景的子进程
apps/virtual-exchange/src/quote/benchmark/ForkedQuoteStateComparisonTest.ts:30
↓ 10 callersFunctionsend
apps/vendor-ctp/ctp/include/zmq.hpp:1890
↓ 10 callersMethodset_fill
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:827
↓ 10 callersFunctionset_parent
apps/vendor-ctp/ctp/include/json.hpp:19921
↓ 10 callersFunctionsize
Returns the number of elements in the store.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/args.h:215
↓ 10 callersFunctionspotPrivateQueryRequest
(credential: ICredential, method: string, path: string, params?: any)
apps/vendor-huobi/src/api/private-api.ts:139
↓ 10 callersFunctionswap
apps/vendor-ctp/ctp/include/zmq.hpp:724
↓ 10 callersMethodswap
apps/vendor-ctp/ctp/include/zmq.hpp:2210
↓ 10 callersFunctionto_ascii
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1281
↓ 10 callersMethodtry_resize
Tries resizing the buffer to contain `count` elements. If T is a POD type the new elements may not be initialized.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1803
↓ 10 callersFunctionuseAgent
()
libraries/agent/src/hooks/basic-set.ts:7
↓ 10 callersFunctionusePageParams
()
ui/web/src/modules/Pages/Page.tsx:68
↓ 10 callersFunctionuseParamOHLC
(key: string)
distributions/origin/@libs/utils/useParamOHLC.ts:4
↓ 10 callersFunctionvformat_to
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/xchar.h:217
↓ 10 callersFunctionwaitFor
(fn, { retries = 60, intervalMs = 2000, description = 'condition' } = {})
tools/yuanctl/scripts/run-yuanctl-e2e.js:184
↓ 9 callersFunctionbegin
apps/vendor-ctp/ctp/include/zmq.hpp:237
↓ 9 callersMethodbegin
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/color.h:426
↓ 9 callersMethodclear
()
libraries/prometheus-client/src/registry.ts:122
↓ 9 callersMethodconnect
try to connect or throw on failure
apps/vendor-ctp/ctp/include/spdlog/details/tcp_client.h:43
↓ 9 callersFunctioncount_digits
apps/vendor-ctp/ctp/include/spdlog/details/fmt_helper.h:66
↓ 9 callersFunctioncreateMockContext
(overrides: Partial<StrategyContext>)
apps/trade-copier/src/experimental/strategies/MULTI_ORDER_MAKER_BY_DIRECTION.test.ts:6
↓ 9 callersFunctioncreateTerminal
( terminalId: string, entries: Array<{ ip: string; ipSource?: string }> | string[], )
libraries/http-services/src/__tests__/proxy-ip.test.ts:25
↓ 9 callersMethoddynamic_width
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:768
↓ 9 callersMethodend_array
apps/vendor-ctp/ctp/include/json.hpp:7284
↓ 9 callersFunctionformat_as
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:3847
↓ 9 callersFunctiongetMarketTickers
(params: { instType: string; uly?: string; instFamily?: string; })
apps/vendor-okx/src/api/public-api.ts:70
↓ 9 callersFunctionis_binary
@brief return whether value is a binary array @sa https://json.nlohmann.me/api/basic_json/is_binary/
apps/vendor-ctp/ctp/include/json.hpp:20543
↓ 9 callersFunctionmakeStrategyMultiOrderMakerByDirection
( context: StrategyContext, )
apps/trade-copier/src/experimental/strategies/MULTI_ORDER_MAKER_BY_DIRECTION.ts:16
↓ 9 callersFunctionmapBitgetOrderToOrderType
(order: { orderType?: string; timeInForce?: string })
apps/vendor-bitget/src/services/orders/mapBitgetOrderToOrderType.ts:1
↓ 9 callersFunctionmapOkxOrdTypeToOrderType
(ordType?: string)
apps/vendor-okx/src/orders/mapOkxOrdTypeToOrderType.ts:1
↓ 9 callersFunctionmin_of
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:352
↓ 9 callersFunctionnext
()
libraries/utils/src/async-iterator-interop.ts:74
↓ 9 callersFunctionobservableToAsyncIterable
(source: Observable<T>)
libraries/utils/src/async-iterator-interop.ts:50
↓ 9 callersMethodon_text
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:1308
↓ 9 callersFunctionprovideAccountInfoService
( terminal: Terminal, account_id: string, query: () => Promise<IPosition[]>, options?: { auto_refr
libraries/data-account/src/provideAccountInfoService.ts:12
↓ 9 callersFunctionrange_begin
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:49
↓ 9 callersMethodresolveHandle
(path: string)
ui/web/src/modules/FileSystem/backends/FileSystemHandleBackend.ts:30
↓ 9 callersFunctionselectHTTPProxyIpRoundRobinAsync
(terminal: Terminal)
libraries/http-services/src/proxy-ip.ts:449
↓ 9 callersFunctionsetState
(state: T)
libraries/agent/src/hooks/basic-set.ts:103
↓ 9 callersMethodsign
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:788
↓ 9 callersMethodstart_array
apps/vendor-ctp/ctp/include/json.hpp:7279
↓ 9 callersMethodstring
apps/vendor-ctp/ctp/include/json.hpp:7254
↓ 9 callersMethodsub
(value: number)
libraries/prometheus/src/types.ts:39
↓ 9 callersFunctionuseSMA
(source: Series, period: number)
distributions/origin/@libs/indicators/SMA.ts:8
↓ 9 callersFunctionvformat_to
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2834
↓ 8 callersMethodabort
apps/vendor-ctp/ctp/include/zmq.hpp:2454
↓ 8 callersFunctionacquireRateLimit
( method: string, url: URL, endpoint: string, weight: number, requestContext: RequestContext, )
apps/vendor-aster/src/api/private-api.ts:62
↓ 8 callersFunctionbundleCode
(entry: string)
ui/web/src/modules/Agent/utils.ts:34
↓ 8 callersFunctioncreateConstNode
(node: TreeNode, key: string, value: string)
libraries/prometheus/src/utils.ts:12
↓ 8 callersFunctioncreateRequestContext
()
apps/vendor-aster/src/api/public-api.ts:42
↓ 8 callersFunctioncreateTestPosition
( product_id: string, direction: string, volume: number, position_price: number, )
apps/trade-copier/src/experimental/__tests__/pure-functions.test.ts:11
↓ 8 callersFunctiondump_integer
apps/vendor-ctp/ctp/include/json.hpp:18598
↓ 8 callersFunctionencodeHex
(data: Uint8Array)
libraries/utils/src/hex.ts:9
↓ 8 callersFunctionencodeOHLCSeriesId
(product_id: string, duration: string)
libraries/data-ohlc/src/series_id.ts:6
↓ 8 callersMethodend
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/color.h:427
↓ 8 callersMethodend_object
apps/vendor-ctp/ctp/include/json.hpp:7274
↓ 8 callersFunctionextractProperties
(sub: JSONSchema7Definition | undefined)
libraries/extension/src/deploy.ts:169
← previousnext →201–300 of 4,530, ranked by callers