Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitrinjani/r2
/ functions
Functions
375 in github.com/bitrinjani/r2
⨍
Functions
375
◇
Types & classes
321
↓ 180 callers
Function
toQuote
(broker: Broker, side: QuoteSide, price: number, volume: number)
src/util.ts:88
↓ 94 callers
Method
start
()
src/analytics/AnalyticsService.ts:27
↓ 64 callers
Method
get
(key: string)
src/types/components.ts:81
↓ 46 callers
Method
stop
()
src/analytics/AnalyticsService.ts:45
↓ 45 callers
Function
createOrder
( broker: Broker, side: OrderSide, size: number, price: number, cashMarginType: CashMarginType, ty
src/__tests__/helper.ts:4
↓ 42 callers
Function
delay
(time: number)
src/util.ts:31
↓ 42 callers
Method
send
(order: Order)
src/types/components.ts:9
↓ 34 callers
Method
getAll
()
src/types/components.ts:82
↓ 26 callers
Method
close
()
src/JsonConfigStore.ts:47
↓ 15 callers
Method
getBtcPosition
()
src/types/components.ts:12
↓ 15 callers
Method
refresh
(order: Order)
src/types/components.ts:10
↓ 14 callers
Method
post
(path: string, requestBody: T)
src/Quoine/BrokerApi.ts:79
↓ 13 callers
Function
findBrokerConfig
(configRoot: ConfigRoot, broker: Broker)
src/configUtil.ts:24
↓ 13 callers
Method
handler
(message: string)
src/transport/LineIntegration.ts:13
↓ 12 callers
Method
delAll
()
src/types/components.ts:85
↓ 12 callers
Function
eRound
(n: number)
src/util.ts:23
↓ 12 callers
Method
handle
(spreadStat)
src/__tests__/DummyPlugin.ts:10
↓ 12 callers
Function
pretty
(opts: { colorize: boolean; withLabel: boolean; debug: boolean; hidden: boolean })
src/transport/transform.ts:27
↓ 12 callers
Method
put
(value: OrderPair)
src/types/components.ts:83
↓ 12 callers
Method
toString
()
src/util.ts:8
↓ 11 callers
Method
analyze
( quotes: Quote[], positionMap: BrokerMap<BrokerPosition>, closingPair?: OrderPair )
src/SpreadAnalyzer.ts:29
↓ 11 callers
Method
getBrokerOrderType
(order: Order)
src/Coincheck/CashStrategy.ts:32
↓ 11 callers
Function
getConfigRoot
()
src/configUtil.ts:11
↓ 9 callers
Method
broadcast
(type: string, body: any)
src/WebGateway.ts:150
↓ 9 callers
Method
cancel
(order: Order)
src/types/components.ts:11
↓ 9 callers
Method
create
(spreadAnalysisResult: SpreadAnalysisResult, orderPair?: OrderPair)
src/LimitCheckerFactory.ts:14
↓ 8 callers
Method
connect
()
webui/src/app/ws.service.ts:34
↓ 8 callers
Function
createQuoteAggregatorMock
()
src/__tests__/ReportService.test.ts:13
↓ 8 callers
Method
decrement
(broker: Broker)
src/BrokerStabilityTracker.ts:32
↓ 8 callers
Method
fetchQuotes
()
src/types/components.ts:14
↓ 8 callers
Method
getAllOpenLeveragePositions
(limit: number = 20)
src/Coincheck/BrokerApi.ts:51
↓ 8 callers
Method
mapMessage
(sharedObservable: Observable<MessageEvent>, type: string)
webui/src/app/ws.service.ts:66
↓ 8 callers
Function
padEnd
(s: ToStringable, n: number)
src/util.ts:15
↓ 7 callers
Method
mustBePositive
(n: number, name: string)
src/ConfigValidator.ts:50
↓ 7 callers
Method
stability
(broker: Broker)
src/BrokerStabilityTracker.ts:52
↓ 7 callers
Method
validate
(config: ConfigRoot)
src/ConfigValidator.ts:9
↓ 6 callers
Method
check
()
src/types/components.ts:56
↓ 6 callers
Function
getChronoDB
(path: string = prodPath)
src/chrono.ts:7
↓ 6 callers
Method
getLeveragePositions
(request?: LeveragePositionsRequest)
src/Coincheck/BrokerApi.ts:44
↓ 6 callers
Method
getNetOutRequest
(order: Order)
src/Coincheck/NetOutStrategy.ts:32
↓ 6 callers
Function
hr
(width: number)
src/util.ts:19
↓ 6 callers
Method
set
(config: ConfigRoot)
src/JsonConfigStore.ts:41
↓ 6 callers
Function
splitSymbol
(symbol: string)
src/util.ts:96
↓ 6 callers
Method
throwIf
(condition: boolean, message: string)
src/ConfigValidator.ts:67
↓ 5 callers
Method
del
(key: string)
src/types/components.ts:84
↓ 5 callers
Function
getActivePairStore
(chronoDB: ChronoDB)
src/ActivePairLevelStore.ts:41
↓ 5 callers
Method
getPositions
(broker: Broker)
src/BrokerAdapterRouter.ts:47
↓ 5 callers
Method
isStable
(broker: Broker)
src/BrokerStabilityTracker.ts:40
↓ 5 callers
Method
mustBeGreaterThanZero
(n: number, name: string)
src/ConfigValidator.ts:54
↓ 5 callers
Method
newOrder
(request: NewOrderRequest)
src/Coincheck/BrokerApi.ts:76
↓ 5 callers
Function
nocksetup
()
src/__tests__/Coincheck/nocksetup.ts:4
↓ 5 callers
Function
toExecution
(order: Order)
src/util.ts:78
↓ 4 callers
Method
emitOrderUpdated
(order: OrderImpl)
src/OrderService.ts:23
↓ 4 callers
Method
getSpreadStat
(quotes: Quote[])
src/SpreadAnalyzer.ts:97
↓ 4 callers
Function
safeQueryStringStringify
(o: any)
src/util.ts:59
↓ 3 callers
Function
calcProfit
(orders: OrderImpl[], config: ConfigRoot)
src/pnl.ts:10
↓ 3 callers
Method
call
(path: string, method: string, body: string = '')
src/Coincheck/BrokerApi.ts:107
↓ 3 callers
Function
closeChronoDB
()
src/chrono.ts:15
↓ 3 callers
Method
fetch
( path: string, init: FetchRequestInit = { timeout: WebClient.fetchTimeout }, verbose: boolean = t
src/WebClient.ts:10
↓ 3 callers
Function
formatQuote
(quote: Quote)
src/util.ts:101
↓ 3 callers
Method
getAccountsBalance
()
src/Coincheck/BrokerApi.ts:29
↓ 3 callers
Method
getBalance
()
src/Bitflyer/BrokerApi.ts:47
↓ 3 callers
Method
getBest
(quotes: Quote[])
src/SpreadAnalyzer.ts:153
↓ 3 callers
Method
getTradingAccounts
()
src/Quoine/BrokerApi.ts:39
↓ 3 callers
Method
getTransactions
(pagination: Partial<Pagination>)
src/Coincheck/BrokerApi.ts:86
↓ 3 callers
Method
isEnabled
(brokerConfig?: BrokerConfig)
src/ConfigValidator.ts:63
↓ 3 callers
Method
isTradable
(quote: Quote)
webui/src/app/shared/buildDepthTable.ts:52
↓ 3 callers
Function
nocksetup
()
src/__tests__/Quoine/nocksetup.ts:5
↓ 3 callers
Method
print
()
src/PositionService.ts:43
↓ 3 callers
Method
sendChildOrder
(request: SendChildOrderRequest)
src/Bitflyer/BrokerApi.ts:25
↓ 3 callers
Method
tryImport
(path: string)
src/AppRoot.ts:74
↓ 3 callers
Method
validateBrokerConfigCommon
(brokerConfig: BrokerConfig)
src/ConfigValidator.ts:58
↓ 2 callers
Function
addIntegration
( Integration: { new (config: any): SlackIntegration | LineIntegration }, config: SlackConfig | LineConfig
src/transport/index.ts:98
↓ 2 callers
Function
almostEqual
(a: number, b: number, tolerancePercent: number)
src/util.ts:27
↓ 2 callers
Method
blankDepthLine
()
webui/src/app/shared/buildDepthTable.ts:83
↓ 2 callers
Function
calcCommission
(price: number, volume: number, commissionPercent: number)
src/pnl.ts:6
↓ 2 callers
Method
calculateTotalCommission
(quotes: Quote[], targetVolume: number)
src/SpreadAnalyzer.ts:175
↓ 2 callers
Method
cancelChildOrder
(request: CancelChildOrderRequest)
src/Bitflyer/BrokerApi.ts:30
↓ 2 callers
Method
cancelOrder
(id: string)
src/Quoine/BrokerApi.ts:29
↓ 2 callers
Method
closeAll
()
src/Quoine/BrokerApi.ts:56
↓ 2 callers
Function
cwd
()
src/util.ts:92
↓ 2 callers
Method
delete
(path: string)
src/Coincheck/BrokerApi.ts:140
↓ 2 callers
Function
eRound
(n: number)
webui/src/app/util.ts:16
↓ 2 callers
Function
exit
(code: number = 0)
src/index.ts:9
↓ 2 callers
Method
getAccountBalance
()
src/Quoine/BrokerApi.ts:45
↓ 2 callers
Method
getBoard
()
src/Bitflyer/BrokerApi.ts:53
↓ 2 callers
Method
getChildOrders
(param: ChildOrdersParam)
src/Bitflyer/BrokerApi.ts:35
↓ 2 callers
Function
getConfigPath
()
src/configUtil.ts:20
↓ 2 callers
Method
getEstimate
(ask: Quote, bid: Quote)
src/SpreadAnalyzer.ts:133
↓ 2 callers
Method
getExecutions
(param: ExecutionsParam)
src/Bitflyer/BrokerApi.ts:41
↓ 2 callers
Function
getHistoricalOrderStore
(chronoDB: ChronoDB)
src/HistoricalOrderStore.ts:38
↓ 2 callers
Method
getLeverageBalance
()
src/Coincheck/BrokerApi.ts:34
↓ 2 callers
Method
getOpenOrders
()
src/Coincheck/BrokerApi.ts:39
↓ 2 callers
Method
getOrderBooks
()
src/Coincheck/BrokerApi.ts:71
↓ 2 callers
Method
getOrders
(id: string)
src/Quoine/BrokerApi.ts:34
↓ 2 callers
Method
getPairSummary
(pair: OrderPair, exitAnalysisResult?: SpreadAnalysisResult)
src/OpportunitySearcher.ts:120
↓ 2 callers
Method
getPriceLevels
()
src/Quoine/BrokerApi.ts:51
↓ 2 callers
Function
getSpreadStatTimeSeries
(chronoDB: ChronoDB)
src/SpreadStatTimeSeries.ts:6
↓ 2 callers
Function
hmac
(secret: string, text: string, algo: string = 'sha256')
src/util.ts:35
↓ 2 callers
Function
nocksetup
()
src/__tests__/Bitflyer/nocksetup.ts:4
next →
1–100 of 375, ranked by callers