Skip to content

Add a liquidity provider

Bring quotes into XCore: add a provider, subscribe to its prices and filter them.

Before you start: First steps.

Steps

1 · Provider

Add the provider:

  • name = DEMO_PROVIDER
  • type = PRIMEXM_SIM
  • active = 1

Reference: Provider

2 · Pricing configuration

XCore creates config = 0 (pricing) and config = 1 (trading) with the provider: don't add them. Open config = 0 and set active = 1.

Reference: Provider Config

3 · Unused connection settings

Delete only these empty settings, not the configurations (Verify rejects empty values):

  • config 0: LoginUsername, LoginPassword, SenderCompID, TargetCompID, SocketConnectHost, SocketConnectPort
  • config 1: the same, plus Account

Reference: Provider Config

4 · Quote generation

Add the pricing setting Interval = 500.

Reference: Provider Config

5 · Provider stream

Add the stream DEMO_PROVIDER_STREAM to DEMO_PROVIDER.

Reference: Provider Stream

6 · Provider stream symbols

Subscribe each symbol on the stream:

symbol values
EURUSD 1.10000,1.10020,1000000,0.00001,10
XAUUSD 2500.00,2500.20,100,0.01,10
BITCOIN 60000.00,60010.00,1,0.01,10

For every row:

  • enable = 1
  • BITCOIN only: session = SUN|00:00:00-SAT|24:00:00 (it trades around the clock)

values for PRIMEXM_SIM: bid,ask,size,tickStep,count.

Reference: Provider Stream

7 · Price filter

Add a filter row for the provider's prices:

  • securities = *
  • symbols = *
  • priority = 1
  • makers = *
  • tolerance = -1: turns off the price-deviation checks

Reference: Filter

Apply

  1. Click Verify.
  2. Click Apply & Restart.
  3. Check ProviderStatus in Monitoring: the DEMO_PROVIDER pricing session is connected.

Pending Config →


Next → Mark up prices