Configuration
Orion Broker configuration:
Variable | Type | Description |
---|---|---|
orionAggregatorUrl | string | url to Orion Aggregator, depends of network (see in example) |
orionAggregatorPath | string | /broker , uri path for broker endpoints (see in example) |
orionBlockchainUrl | string | url to Orion Blockchain, depends of network (see in example) |
brokerWebServerUrl | string | url for local WebSocket server (see in example) |
matcherAddress | string | address of Orion Blockchain matcher, depends of network (see in example) |
privateKey | string | encrypted broker's wallet private key, setup via terminal |
httpPort | number | port for broker's local http server (see in example) |
wsPort | number | port for broker's local ws server (see in example) |
passwordHash | string | config file password hash, setup via terminal |
passwordSalt | ||
network | string | broker's network, can be ethereum or binance |
production | boolean | setup via terminal |
duePeriodSeconds | number | in sec, period after which the broker repair liability over USDTLiabilityThreshold |
hardDuePeriodSeconds | number | in sec, period after which the broker repair liability for any amount |
liabilityCheckInterval | number | in sec, liabilities check interval |
USDTLiabilityThreshold | number | liability threshold for an asset in USDT, above which liability is repaid in duePeriodSeconds |
externalRepayCheckInterval | number | in sec, interval for checking and repaying borrowed on CEX |
feeAssetHoldThreshold | number | held amount of fee-asset for fee payment (for Binance-exchange) |
minBalanceLimitCheckInterval | number | in sec, interval of check minimum threshold limit |
MinBalanceLimitTransferMultiplier | number | minimum balance threshold multiplier, for transfer amount calculation |
minBalanceLimits | object | setting the limits of the minimum threshold balance, by exchanges / assets |
complexOrderDeviationToFirstOrder | number | distribution of deviation in a complex swap for first leg |
marginAssetsList | object | list of marginal assets, by exchanges |
exchanges | object | connected exchanges, setup via terminal |