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
↓ 8 callers
Method
formatBytes
* 格式化字节大小
libraries/utils/src/crypto.benchmark.ts:47
↓ 8 callers
Function
format_to
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2854
↓ 8 callers
Function
getAccountIds
(credential: ICredential)
apps/vendor-okx/src/accountInfos/uid.ts:30
↓ 8 callers
Function
getCommandHelp
(name: CommandName)
tools/yuanctl/src/cli/commandMetadata.ts:98
↓ 8 callers
Function
getCredentialBySecretId
(sign: string)
apps/virtual-exchange/src/credential.ts:154
↓ 8 callers
Function
get_container
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:499
↓ 8 callers
Function
handler
(param: MouseEventParams<Time>)
ui/web/src/modules/Chart/components/ChartComponent.tsx:232
↓ 8 callers
Function
localtime
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:531
↓ 8 callers
Function
makeStrategyBboMaker
(context: StrategyContext)
apps/trade-copier/src/experimental/strategies/BBO_MAKER.ts:11
↓ 8 callers
Function
makeStrategyBboMakerByDirection
(context: StrategyContext)
apps/trade-copier/src/experimental/strategies/BBO_MAKER_BY_DIRECTION.ts:14
↓ 8 callers
Function
mapHuobiSwapOrderToOrderType
(orderPriceType?: string)
apps/vendor-huobi/src/services/orders/mapHuobiSwapOrderToOrderType.ts:3
↓ 8 callers
Function
max_of
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:355
↓ 8 callers
Function
mergeSelectors
({ selector, fieldSelector }: SelectorOptions)
tools/yuanctl/src/utils/filters.ts:85
↓ 8 callers
Method
metrics
* 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 callers
Method
open
apps/vendor-ctp/ctp/include/spdlog/details/file_helper-inl.h:28
↓ 8 callers
Function
parse_align
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1318
↓ 8 callers
Function
polyfillOrders
(orders: IOrder[])
apps/virtual-exchange/src/position.ts:128
↓ 8 callers
Function
provideExchangeServices
(terminal: Terminal, exchange: IExchange<T>)
libraries/exchange/src/index.ts:118
↓ 8 callers
Function
readBucket
()
apps/vendor-hyperliquid/src/api/rate-limit.test.ts:12
↓ 8 callers
Function
registerAssociationRule
(rule: IAssociationRule)
ui/web/src/modules/System/associationRule.ts:15
↓ 8 callers
Function
request
( method: string, baseUrl: string, endpoint: string, params: Record<string, unknown> = {}, requestCo
apps/vendor-aster/src/api/public-api.ts:67
↓ 8 callers
Function
requestPublic
( method: HttpMethod, path: string, params?: GateParams, )
apps/vendor-gate/src/api/http-client.ts:119
↓ 8 callers
Function
requestZMQ
(req)
apps/vendor-ctp/src/context.ts:17
↓ 8 callers
Method
reset
apps/vendor-ctp/ctp/include/spdlog/stopwatch.h:46
↓ 8 callers
Function
scan
apps/vendor-ctp/ctp/include/json.hpp:8810
↓ 8 callers
Function
setMetricsQuoteState
(terminal_id: string)
libraries/data-quote/src/metrics.ts:14
↓ 8 callers
Method
start_object
apps/vendor-ctp/ctp/include/json.hpp:7264
↓ 8 callers
Method
store
apps/vendor-ctp/ctp/include/spdlog/details/null_mutex.h:26
↓ 8 callers
Function
to_nonnegative_int
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:1019
↓ 8 callers
Function
to_string
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:882
↓ 8 callers
Function
useParamString
(key: string, defaultValue = '')
distributions/origin/@libs/utils/useParamString.ts:8
↓ 7 callers
Function
HmacSHA256
(data: Uint8Array, key: Uint8Array)
libraries/utils/src/crypto.ts:284
↓ 7 callers
Function
__webpack_require__
(moduleId)
common/scripts/install-run.js:246
↓ 7 callers
Method
_finalizeRequest
(requestContext: IRequestContext)
libraries/protocol/src/server.ts:553
↓ 7 callers
Function
addAccountTransferAddress
(ctx: IAccountTransferAddressContext)
libraries/transfer/src/addAccountTransferAddress.ts:31
↓ 7 callers
Function
base_iterator
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:507
↓ 7 callers
Method
begin
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1782
↓ 7 callers
Function
calculatePositionBounds
( actualVolume: number, expectedVolume: number, volumeStep: number, )
apps/trade-copier/src/experimental/pure-functions.ts:44
↓ 7 callers
Function
compares_unordered
apps/vendor-ctp/ctp/include/json.hpp:22843
↓ 7 callers
Function
createClientProductCache
( terminal: Terminal, options?: IProductCacheOptions, )
libraries/data-product/src/ProductCache.ts:55
↓ 7 callers
Function
createValidator
(schema: JSONSchema7)
libraries/protocol/src/schema.ts:5
↓ 7 callers
Method
enqueue
(value: T)
libraries/utils/src/async-iterator-interop.ts:12
↓ 7 callers
Function
find
apps/vendor-ctp/ctp/include/json.hpp:19166
↓ 7 callers
Method
findUnit
(Unit: new (...args: any[]) => T)
libraries/kernel/src/kernel.ts:221
↓ 7 callers
Function
generateProductId
(index: number)
apps/virtual-exchange/src/quote/benchmark/test-helpers.ts:18
↓ 7 callers
Function
getDefaultCredential
()
apps/vendor-okx/src/api/private-api.ts:47
↓ 7 callers
Method
get_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 callers
Function
gmtime
* 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 callers
Function
loadAsFileSync
(x: string)
ui/web/src/modules/FileSystem/resolve.ts:194
↓ 7 callers
Function
makeCredentialSchema
(type: string, payloadSchema: JSONSchema7)
libraries/exchange/src/index.ts:102
↓ 7 callers
Function
mapBinanceOrderTypeToYuants
( binanceType?: string, timeInForce?: string, )
apps/vendor-binance/src/services/orders/order-utils.ts:105
↓ 7 callers
Function
mapOrderTypeToTimeInForce
(order_type?: IOrder['order_type'])
apps/vendor-binance/src/services/orders/order-utils.ts:88
↓ 7 callers
Method
max_size
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2647
↓ 7 callers
Method
pop_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 callers
Function
provideInterestLedgerService
( terminal: Terminal, metadata: { direction: string; type: string; ledger_type: string[] }, fetchPage: (
libraries/exchange/src/interest_rate.ts:230
↓ 7 callers
Function
quote
(value: string)
apps/alert-receiver/src/alertmanager-compatible-utils/group-key.ts:41
↓ 7 callers
Function
range_end
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/ranges.h:53
↓ 7 callers
Function
readStream
(stream: PassThrough)
tools/yuanctl/src/cli/__tests__/cli-commands.test.ts:67
↓ 7 callers
Method
readdir
(path: string)
ui/web/src/modules/FileSystem/interfaces.ts:7
↓ 7 callers
Function
reloadData
()
ui/web/src/modules/DataRecord/DataRecordView.tsx:92
↓ 7 callers
Function
renderRowsAsTable
( printer: YuanctlPrinter, rows: Array<Record<string, unknown>>, preferred?: string[], )
tools/yuanctl/src/cli/output.ts:36
↓ 7 callers
Function
request
(method: string, path: string, params: any)
apps/prometheus-client/src/index.ts:9
↓ 7 callers
Function
run
( argv: string[], io: YuanctlIo = { stdin: process.stdin, stdout: process.stdout, stderr: proc
tools/yuanctl/src/cli/index.ts:29
↓ 7 callers
Method
set_type
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:757
↓ 7 callers
Method
set_upper
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:796
↓ 7 callers
Function
sha256
(data: Uint8Array)
libraries/utils/src/crypto.ts:261
↓ 7 callers
Function
spotPrivateTradeRequest
(credential: ICredential, method: string, path: string, params?: any)
apps/vendor-huobi/src/api/private-api.ts:142
↓ 7 callers
Function
system_error
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:4118
↓ 7 callers
Function
to_time_t
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/chrono.h:495
↓ 7 callers
Function
useEMA
(source: Series, period: number)
distributions/origin/@libs/indicators/EMA.ts:9
↓ 7 callers
Function
verifyMessage
(message: string, signature: string, publicKey: string)
libraries/utils/src/crypto.ts:179
↓ 6 callers
Function
_isWindows
()
common/scripts/install-run.js:666
↓ 6 callers
Function
acquire
( bucketId: string, config: { capacity: number; refillInterval: number; refillAmount: number }, ip: stri
apps/vendor-huobi/src/api/public-api.ts:46
↓ 6 callers
Function
acquireRateLimit
(url: URL, endpoint: string, weight: number, requestContext: RequestContext)
apps/vendor-aster/src/api/public-api.ts:50
↓ 6 callers
Method
align
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:761
↓ 6 callers
Function
buildField
(label: string, value: string)
apps/asg-eventbridge-notifier/src/format.ts:6
↓ 6 callers
Function
calculateDirectionalPositionVolumes
( positions: IPosition[], productId: string, direction: string, )
apps/trade-copier/src/experimental/pure-functions.ts:73
↓ 6 callers
Function
calculatePositionVolumes
(positions: IPosition[], productId: string)
apps/trade-copier/src/experimental/pure-functions.ts:18
↓ 6 callers
Method
check_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 callers
Method
cleanLength
()
libraries/time-series/src/interfaces.ts:9
↓ 6 callers
Method
compare
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:2641
↓ 6 callers
Function
concatUint8Arrays
(...arrays: Uint8Array[])
apps/vendor-hyperliquid/src/api/sign.ts:65
↓ 6 callers
Method
create
(type: CollectorType, name: string, help = '', histogramBuckets: number[] = [])
libraries/prometheus-client/src/registry.ts:69
↓ 6 callers
Function
createLabelKeyNode
(node: TreeNode, name: string, labels: [string, string][])
libraries/prometheus/src/utils.ts:18
↓ 6 callers
Function
data
apps/vendor-ctp/ctp/include/zmq.hpp:590
↓ 6 callers
Method
dynamic_precision
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:775
↓ 6 callers
Method
end
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:1783
↓ 6 callers
Function
escape
apps/vendor-ctp/ctp/include/json.hpp:2974
↓ 6 callers
Method
fill
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:812
↓ 6 callers
Method
format
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/compile.h:109
↓ 6 callers
Method
formatTime
* 格式化时间
libraries/utils/src/crypto.benchmark.ts:57
↓ 6 callers
Method
full
apps/vendor-ctp/ctp/include/spdlog/details/circular_q.h:87
↓ 6 callers
Function
getAllFields
()
apps/virtual-exchange/src/quote/benchmark/test-helpers.ts:25
↓ 6 callers
Function
getLastPeakType
()
distributions/origin/@libs/indicators/ZIGZAG.ts:104
↓ 6 callers
Function
getObject
(value: unknown)
apps/vendor-hyperliquid/src/api/rate-limit.ts:60
↓ 6 callers
Function
getRestBaseWeight
(ctx: RestRequestContext)
apps/vendor-hyperliquid/src/api/rate-limit.ts:105
↓ 6 callers
Function
getSeverityIndex
(value: string)
apps/alert-receiver/src/utils.ts:3
↓ 6 callers
Function
getTradingAccountId
(credential: ICredential)
apps/vendor-okx/src/accountInfos/uid.ts:34
↓ 6 callers
Function
get_iterator
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/base.h:2093
↓ 6 callers
Function
is_negative
apps/vendor-ctp/ctp/include/spdlog/fmt/bundled/format.h:971
← previous
next →
301–400 of 4,530, ranked by callers