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_PROVIDERtype=PRIMEXM_SIMactive= 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):
config0:LoginUsername,LoginPassword,SenderCompID,TargetCompID,SocketConnectHost,SocketConnectPortconfig1: the same, plusAccount
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= 1makers=*tolerance=-1: turns off the price-deviation checks
Reference: Filter
Apply
- Click Verify.
- Click Apply & Restart.
- Check ProviderStatus in Monitoring: the
DEMO_PROVIDERpricing session is connected.
Next → Mark up prices