To give our API users the ability to test their integration, Moment providesa comprehensive set of simulations that simulate real world scenarios in the market. Moment has build a venue simulator that simulates market behavior and runs that against the real system in UAT. This guide is meant to explain which instruments can be used to simulate certain scenarios in the market.
Market-Data
For Market-data, below has been configured to facilitate both two-sided and one-sided quotes.
CUSIP | Summary | Lifecycle |
---|---|---|
| No Quotes | Simulate illiquid bonds |
| Only Bids | Simulate bid side only market |
| Only Offers | Simulate ask side only market |
All except the above | Bids and Offers | Simulate two sides market |
Trading
Moment's paper environment supports mock instruments with deterministic lifecycles for order testing purposes. All of these instruments will be published with constant offer price of 101, bid price of 100, and a max quantity of 500K.
CUSIP | Summary | Lifecycle |
---|---|---|
| 1 fill after 1 second |
|
| 1 fill after 1 minute |
|
| 2 fills, each after 1 minute |
|
| Hang until market close |
|
| 1 fill after 1 minute, then hang until market close |
|
| unsolicited cancel by venue |
|
Note: For orders to be filled, the order needs to be submitted with:
- Trade price matching the quote from OrderBook, and
- Trade size should be less than or equal to the quantity offered for the matching quote in OrderBook, and
- If it's a partial fill scenario, and
all_or_none
is set totrue
, order quantity will be fully filled as long as there is liquidity on the order book.
If these conditions are not satisfied, simulator will send venue cancelation.
Fractionalized Bonds
If your organization is enabled for fractional bonds, you will have the ability to receive fractional liquidity on our UAT environment and test your integration through that.
Market-Data
For Market-data, below has been configured to facilitate both two-sided and one-sided quotes.
CUSIP | Summary | Lifecycle |
---|---|---|
91282CJG7 | Bids and Offers | Simulate two sides market |
501044DM0 | Bids and Offers | Simulate two sides market |
3130A6RM1 | Only Bid quotes | Simulate bid side only market |
3130A2UW4 | Only Ask quotes | Simulate ask side only market |
Trading
For Trading, below has been configured to have deterministic lifecycles for testing purposes.
CUSIP | Summary | Lifecycle |
---|---|---|
| Fill any quantity |
|
| Fill fraction at Moment Markets, Whole quantity at another venue |
|
Any cusip that has market data other than | Only Fill whole bond quantity |
|
Any cusip that has market data other than | Hang until market close |
|
Note that trade size is always in dollars and never in cents.