decred.org/dcrdex@v1.0.5/docs/wiki/Server-Admin.md (about)

     1  # Server Settings
     2  
     3  ## Exchange Settings
     4  
     5  ### Admin HTTP JSON API
     6  
     7  See <https://github.com/decred/dcrdex/blob/6693bc57283d4cf5b451778091aa1c1b20cb9187/server/admin/server.go#L145>
     8  
     9  ### Markets JSON Settings File
    10  
    11  ```text
    12  {
    13      "markets" (array): Array of market objects.
    14      [
    15          {
    16              "base" (string): The coin ticker shorthand followed by network. i.e. DCR_testnet
    17              "quote" (string): The coin ticker shorthand followed by network. i.e. BTC_testnet
    18              "epochDuration" (int): The length of one epoch in milliseconds
    19              "marketBuyBuffer" (float): A coefficient that when multiplied by the market's lot size specifies the minimum required amount for a market buy order
    20          },...
    21      ],
    22      "assets" (object): Map of coin ticker shorthand followed by network of the base asset to an asset object.
    23      {
    24          "[TICKER_network]": {
    25              "bip44symbol" (string): The coin ticker. i.e. dcr
    26              "network" (string): The network the coin daemon is running on. i.e. testnet
    27              "lotSize" (int): The amount of basic units of a coin in one lot
    28              "rateStep" (int): The price rate increment in basic units of this coin
    29              "maxFeeRate" (int): The maximum fee rate for swap transactions
    30              "swapConf" (int): The minimum confirmations before acting on a swap transaction
    31              "configPath" (string): The path to the coin daemon's config file or ipc file in the case of Ethereum
    32          },...
    33      }
    34  }
    35  ```