Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/No-Trade-No-Life/Yuan
/ functions
Functions
4,530 in github.com/No-Trade-No-Life/Yuan
⨍
Functions
4,530
◇
Types & classes
2,604
↓ 6 callers
Function
is_string
@brief return whether value is a string @sa https://json.nlohmann.me/api/basic_json/is_string/
apps/vendor-ctp/ctp/include/json.hpp:20536
↓ 6 callers
Function
json_pointer
@brief create JSON pointer @sa https://json.nlohmann.me/api/json_pointer/json_pointer/
apps/vendor-ctp/ctp/include/json.hpp:13743
↓ 6 callers
Function
linearSwapPrivateTradeRequest
(credential: ICredential, method: string, path: string, params?: any)
apps/vendor-huobi/src/api/private-api.ts:148
↓ 6 callers
Function
loadCliClients
(options: GlobalOptions)
tools/yuanctl/src/cli/context.ts:49
↓ 6 callers
Method
localized
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:802
↓ 6 callers
Function
makeAlert
(overrides: Partial<IAlertRecord>)
apps/alert-receiver/src/pipelines/label-filters.test.ts:6
↓ 6 callers
Function
makeIo
()
tools/yuanctl/src/cli/__tests__/cli-commands.test.ts:46
↓ 6 callers
Function
makeStrategyDefault
(context)
apps/trade-copier/src/experimental/strategies/DEFAULT.ts:10
↓ 6 callers
Function
make_wformat_args
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/xchar.h:120
↓ 6 callers
Function
mapGateOrderToOrderType
(order: { tif?: string; price?: string })
apps/vendor-gate/src/services/orders/mapGateOrderToOrderType.ts:1
↓ 6 callers
Function
mapOrderTypeToBitgetOrderParams
(orderType?: string)
apps/vendor-bitget/src/services/orders/mapOrderTypeToBitgetOrderParams.ts:1
↓ 6 callers
Function
mapPerpOrder
(order: IAsterFutureOpenOrder, account_id: string)
apps/vendor-aster/src/services/orders/listOrders.ts:45
↓ 6 callers
Function
mapSpotOrder
(order: IAsterSpotOpenOrder, account_id: string)
apps/vendor-aster/src/services/orders/listOrders.ts:66
↓ 6 callers
Method
measureTime
* 测量函数执行时间
libraries/utils/src/crypto.benchmark.ts:27
↓ 6 callers
Function
normalizeIp
(value?: string)
libraries/http-services/src/proxy-ip.ts:306
↓ 6 callers
Method
null
apps/vendor-ctp/ctp/include/json.hpp:7229
↓ 6 callers
Method
parse
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:650
↓ 6 callers
Function
parseJsonStdout
(stdout, fallback = null)
tools/yuanctl/scripts/run-yuanctl-e2e.js:57
↓ 6 callers
Function
parseResource
(resourceArg: string, nameArg?: string)
tools/yuanctl/src/cli/resource.ts:25
↓ 6 callers
Function
parse_width
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1417
↓ 6 callers
Function
prefix_append
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1888
↓ 6 callers
Method
printComparisonResults
* 打印对比结果(复用现有的对比结果打印逻辑)
apps/virtual-exchange/src/quote/benchmark/ForkedQuoteStateComparisonTest.ts:201
↓ 6 callers
Method
printComparisonResults
* 打印对比结果
apps/virtual-exchange/src/quote/benchmark/QuoteStateComparisonTest.ts:30
↓ 6 callers
Function
push_back
@brief append an unescaped token at the end of the reference pointer @sa https://json.nlohmann.me/api/json_pointer/push_back/
apps/vendor-ctp/ctp/include/json.hpp:13864
↓ 6 callers
Function
remove
apps/vendor-ctp/ctp/include/spdlog/mdc.h:42
↓ 6 callers
Method
requestByMessage
* 通过初始请求消息发送请求。 * * 跳过客户端路由逻辑,需要手动指定 msg 的各个字段 (method, service_id, target_terminal_id, req)
libraries/protocol/src/client.ts:225
↓ 6 callers
Function
requireDeploymentsClient
(context: YuanctlRuntimeContext)
tools/yuanctl/src/namespaces/deploy/index.ts:20
↓ 6 callers
Function
reserve
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:463
↓ 6 callers
Method
reset
(labels?: Labels)
libraries/prometheus-client/src/counter.ts:20
↓ 6 callers
Function
resolveVersion
(context: INpmPackagePullParams)
ui/web/src/modules/Extensions/utils.ts:225
↓ 6 callers
Function
runCommand
(command, args, options = {})
tools/yuanctl/scripts/run-yuanctl-e2e.js:65
↓ 6 callers
Function
saveStatementsToFile
(events: IFundEvent[])
ui/web/src/modules/Fund/FundStatements.tsx:63
↓ 6 callers
Function
scan
( tags: Record<string, string>, init: () => T, reducer: (acc: T, index: number, self: ITimeSeries<T>) =>
libraries/time-series/src/scan.ts:8
↓ 6 callers
Function
serializeAccountIdNode
(account_id: string)
apps/transfer-controller/src/index.ts:63
↓ 6 callers
Function
should_log
return true logging is enabled for the given level.
apps/vendor-ctp/ctp/include/spdlog/logger.h:262
↓ 6 callers
Function
signMessage
(message: string, privateKey: string)
libraries/utils/src/crypto.ts:72
↓ 6 callers
Method
start
* 开始运行
libraries/kernel/src/kernel.ts:108
↓ 6 callers
Function
trimTrailingZeros
(input: string)
ui/web/src/modules/TradingBoard/TradeCopierInfo.tsx:24
↓ 6 callers
Function
umul128
Computes 128-bit result of multiplication of two 64-bit unsigned integers.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1346
↓ 6 callers
Function
useMAX
(source: Series, period: number)
distributions/origin/@libs/indicators/MAX.ts:12
↓ 6 callers
Function
useMIN
(source: Series, period: number)
distributions/origin/@libs/indicators/MIN.ts:12
↓ 6 callers
Method
what
apps/vendor-ctp/ctp/include/spdlog/common-inl.h:60
↓ 6 callers
Function
write2digits
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1166
↓ 5 callers
Function
_requestZMQ
(req: { method: string; params: Req; })
apps/vendor-ctp/src/ctp-service.ts:46
↓ 5 callers
Function
applyOverlapToRequestTime
(series: ISeriesState, baseTime: number)
apps/virtual-exchange/src/series-data/scheduler.ts:218
↓ 5 callers
Method
binary
apps/vendor-ctp/ctp/include/json.hpp:7259
↓ 5 callers
Function
buildDeploymentCounts
( deployments: IDeployment[], activeNodeUnits: string[], )
apps/node-unit/src/scheduler.ts:229
↓ 5 callers
Function
buildTokenBucketKey
(baseKey: string, ip: string)
apps/vendor-aster/src/api/public-api.ts:26
↓ 5 callers
Function
calculateSlippageProtectedPrice
( direction: string, bestPrice: number, actualVolume: number, actualAvgPositionPrice: number, expect
apps/trade-copier/src/experimental/pure-functions.ts:117
↓ 5 callers
Function
cend
@brief returns an iterator to one past the last element @sa https://json.nlohmann.me/api/basic_json/cend/
apps/vendor-ctp/ctp/include/json.hpp:21977
↓ 5 callers
Function
compare
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:470
↓ 5 callers
Function
computeAlertFingerprint
(labels: Record<string, string>)
apps/alert-receiver/src/alertmanager-compatible-utils/fingerprint.ts:56
↓ 5 callers
Function
digits2
Converts value in the range [0, 100) to a string. GCC generates slightly better code when value is pointer-size.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:996
↓ 5 callers
Function
do_format_decimal
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1179
↓ 5 callers
Function
emplace_arg
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/args.h:112
↓ 5 callers
Method
execute
()
libraries/agent/src/AgentUnit.ts:93
↓ 5 callers
Function
filterAlertsByRoute
(route: IAlertReceiveRoute, alerts: IAlertRecord[])
apps/alert-receiver/src/pipelines/label-filters.ts:30
↓ 5 callers
Function
floor_log2_pow10
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:1383
↓ 5 callers
Function
flush
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/os.h:384
↓ 5 callers
Method
format
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:655
↓ 5 callers
Function
formatDuration
(duration: number)
ui/web/src/modules/Terminals/utils.ts:1
↓ 5 callers
Function
formatSigned
(value: number, digits = 4, epsilon = EPSILON_VOLUME)
ui/web/src/modules/TradingBoard/TradeCopierInfo.tsx:28
↓ 5 callers
Function
fromPrivateKey
(privateKey: string)
libraries/utils/src/crypto.ts:49
↓ 5 callers
Function
fromWsChannelAndInstId
(path: string, channel: string, instId: string)
apps/vendor-okx/src/ws.ts:274
↓ 5 callers
Function
getAbsolutePath
(command: string)
apps/node-unit/src/const.ts:8
↓ 5 callers
Function
getCache
(terminalId: string)
libraries/http-services/src/proxy-ip.ts:288
↓ 5 callers
Function
getEarningAccountInfo
(credential: ICredential)
apps/vendor-gate/src/services/accounts/earning.ts:45
↓ 5 callers
Function
getLostAddresses
(deployments: IDeployment[], activeNodeUnits: string[])
apps/node-unit/src/scheduler.ts:217
↓ 5 callers
Method
getPlainArchivePath
(index: number)
apps/node-unit/src/logging.ts:261
↓ 5 callers
Function
getRange
(page: number)
apps/vendor-bitget/src/services/interest-rate-service.ts:56
↓ 5 callers
Function
getRestEstimatedExtraWeight
(ctx: RestRequestContext)
apps/vendor-hyperliquid/src/api/rate-limit.ts:175
↓ 5 callers
Function
getTickers
(params: { category: string; symbol?: string })
apps/vendor-bitget/src/api/public-api.ts:115
↓ 5 callers
Method
get_character
std::istream/std::streambuf use std::char_traits<char>::to_int_type, to ensure that std::char_traits<char>::eof() and the character 0xFF do not end up
apps/vendor-ctp/ctp/include/json.hpp:6187
↓ 5 callers
Function
handleLoadNode
(nodeKey?: string)
ui/web/src/modules/Workbench/Explorer.tsx:72
↓ 5 callers
Function
isHttpProxyTerminal
(terminalInfo?: ITerminalInfo)
libraries/http-services/src/proxy-ip.ts:458
↓ 5 callers
Method
is_begin
return whether the iterator can be dereferenced
apps/vendor-ctp/ctp/include/json.hpp:12680
↓ 5 callers
Method
list
()
tools/yuanctl/src/cli/verbs/get.ts:134
↓ 5 callers
Function
listHTTPProxyIps
(terminal: Terminal)
libraries/http-services/src/proxy-ip.ts:368
↓ 5 callers
Function
mapOrderTypeToOrdType
(order_type?: IOrder['order_type'])
apps/vendor-binance/src/services/orders/order-utils.ts:74
↓ 5 callers
Function
mapSwapOrderTypeToHuobi
(orderType?: IOrder['order_type'])
apps/vendor-huobi/src/services/orders/mapSwapOrderTypeToHuobi.ts:3
↓ 5 callers
Function
mapUnionSwapOrderTypeToHuobi
(orderType?: IOrder['order_type'])
apps/vendor-huobi/src/services/orders/mapSwapOrderTypeToHuobi.ts:11
↓ 5 callers
Function
maybeRealpathSync
( realpathSync: typeof realpathFS, x: string, opts: IOptions, )
ui/web/src/modules/FileSystem/resolve.ts:85
↓ 5 callers
Method
mkdir
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:17
↓ 5 callers
Method
next_arg_id
Reports an error if using the manual argument indexing; otherwise returns the next argument index and switches to the automatic indexing.
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:898
↓ 5 callers
Method
num_bigits
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:2616
↓ 5 callers
Method
on_day_of_month
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:1483
↓ 5 callers
Function
parse
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/std.h:283
↓ 5 callers
Method
parse
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:3875
↓ 5 callers
Function
parseInterestRateServiceMetadataFromSchema
(schema: any)
libraries/exchange/src/interest_rate.ts:72
↓ 5 callers
Function
parseOHLCServiceMetadataFromSchema
(schema: any)
libraries/exchange/src/ohlc.ts:77
↓ 5 callers
Function
parse_format_specs
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1445
↓ 5 callers
Function
parse_nonnegative_int
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1296
↓ 5 callers
Function
pickCandidateDeployment
( terminal: Terminal, lostAddresses: string[], )
apps/node-unit/src/scheduler.ts:304
↓ 5 callers
Method
printResults
* 打印测试结果
apps/virtual-exchange/src/quote/benchmark/QuoteStateTestRunner.ts:217
↓ 5 callers
Function
provideTradeHistoryService
( terminal: Terminal, metadata: { direction: string; type: string; trade_type: string[] }, fetchPage: (r
libraries/exchange/src/trade_history.ts:61
↓ 5 callers
Method
readFileAsBlob
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:11
↓ 5 callers
Function
rebuildProxyIpCache
(terminal: Terminal, cache: ProxyIpCache)
libraries/http-services/src/proxy-ip.ts:481
↓ 5 callers
Function
requestPublic
( method: HttpMethod, path: string, params?: Record<string, unknown>, )
apps/vendor-bitget/src/api/client.ts:201
↓ 5 callers
Function
requireDefaultProfile
()
apps/vendor-bitget/src/services/accounts/profile.ts:48
↓ 5 callers
Function
requireDeploymentId
(command: YuanctlResolvedCommand)
tools/yuanctl/src/namespaces/deploy/index.ts:34
← previous
next →
401–500 of 4,530, ranked by callers