6.4.2. Add New Market

image-20241113-132906.png

Admin can press "+ New Market" button and Open the modal window to create a New Market Pair and review Basic Info:

 

  1. Base Currency: to select Base Currency for the market from the list of existing currencies)

  2. Quote Currency: to select Quote Currency for the market from the list of existing currencies

  3. Minimum Base Currency: minimum amount for Swap (Base Currency)

  4. Minimum Quote Currency: minimum amount for Swap (Quote Currency)

  5. Swap Quote → Base price precision: precision for price (Market Pair rate) displaying on UI

  6. Swap Base → Quote price precision: precision for price (Market Pair rate) displaying on UI

  7. Market owner ID: with details of conditions for review

  8. Commission Currency: quote or base

    Market operations:

  • Enabled On-Chain Swap: status and options to enable or disable On-Chain Swap using toggle switch

  • Enabled Off-Chain Swap Commission: status and options to enable or disable Off-Chain Swap using toggle switch

  • Enabled Chain-In Swap: status and options to enable or disable Chain-In Swap using toggle switch

  • Enabled Chain-Out Swap: status and options to enable or disable Chain-Out Swap using toggle switch

  • Enabled trading: status and options to enable or disable Trading using toggle switch

Swap Commission:

  1. Quote → Base (%): fee in commission currency for Quote to Base Swap (All Swap Types)

  2. Quote → Base (Minimum): minimum fee in commission currency for Quote to Base Swap (All Swap Types)

  3. Quote → Base (Maximum): maximum fee in commission currency for Quote to Base Swap (All Swap Types)

  4. Base → Quote (%): fee in commission currency for Base to Quote Swap (All Swap Types)

  5. Base → Quote (Minimum): minimum fee in commission currency for Base to Quote Swap (All Swap Types)

  6. Base → Quote (Maximum): minimum fee in commission currency for Base to Quote Swap (All Swap Types)

Trading:

  • Market position: number for priority of reflection in User UI Market list

  • Amount precision: for Base Currency

  • Minimum amount: for Base Currency

  • Price precision: in Quote Currency

  • Minimum price: for Base Currency (in Quote Currency)

  • Maximum price: for Base Currency (in Quote Currency)

  • Maker fee (%): fee for every trade that Maker pays

  • Taker fee (%): fee for every trade that Taker pays

  • Buy limit order enabled: status and options to enable or disable Open limit buy order on market using toggle switch

  • Buy market order enabled: status and options to enable or disable Open market buy order on market using toggle switch

  • Buy trade cancellable: status and options to enable or disable it

  • Sell limit order enabled: status and options to enable or disable Open limit sell order on market using toggle switch

  • Sell market order enabled: status and options to enable or disable Open market sell order on market using toggle switch

  • Sell trade cancellable: status and options to enable or disable it

  • Reload (button): reload page

After making edits for New Market creation press “Create Market” button and see modal window closing, "Success" notification, and New Market added to the list of Markets