To give our API users the ability to test their integration, Moment provides a comprehensive set of simulations that simulate real world scenarios in the market. Moment has built 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.
The instruments are grouped into sections below: fixed income (including fractionalized bonds), equities, ETFs, and mutual funds.
Fixed Income
Market-Data
For Market-data, below has been configured to facilitate both two-sided and one-sided quotes.
| CUSIP | Summary | Lifecycle |
|---|---|---|
880591DM138143C3G4 | No Quotes | Simulate illiquid bonds |
3130A6RM1931142DB6 | Only Bids | Simulate bid side only market |
3130A2UW438143CFG1 | 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. These prices are non-inclusive of fees, so the visible prices might be slightly different depending on your organization's fee schedules.
| CUSIP | Summary | Lifecycle |
|---|---|---|
912810SX7 | 1 fill after 1 second |
|
912810SU3 | 1 fill after 1 minute |
|
912810SS8 | 2 fills, each after 1 minute |
|
912810RY6 | Hang until market close |
|
912810UK2 | 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_noneis 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 |
|---|---|---|
91282CJG7 | Fill any quantity |
|
501044DM0 | Fill fraction at Moment Markets, Whole quantity at another venue |
|
Any cusip that has market data other than 91282CJG7 and 501044DM0 | Only Fill whole bond quantity |
|
Any cusip that has market data other than 91282CJG7 and 501044DM0 | Hang until market close |
|
Note that trade size is always in dollars and never in cents.
Equities
Equity orders are acked immediately and fill at the order's limit price; market orders fill at the prevailing market price. Any equity not listed below fills in full immediately. The instruments below exhibit deterministic test behavior.
| Ticker | CUSIP | Summary | Lifecycle |
|---|---|---|---|
| AAPL | 037833100 | Always rejects |
|
| MSFT | 594918104 | 1 fill after 1 minute |
|
| TSLA | 88160R101 | 2 fills, second after 1 minute |
|
| NVDA | 67066G104 | Unsolicited cancel by venue |
|
ETFs
ETF orders behave like equities: acked immediately, filling at the order's limit price, with market orders filling at the prevailing market price. Any ETF not listed below fills in full immediately. The instruments below exhibit deterministic test behavior.
| Ticker | CUSIP | Summary | Lifecycle |
|---|---|---|---|
| VXF | 922908652 | 1 fill after 5 minutes |
|
| VTV | 922908744 | 1 fill after 5 minutes |
|
| VOE | 922908512 | 1 fill after 5 minutes |
|
Mutual Funds
Mutual fund orders are acked and fill at NAV (the instrument's close price). Any mutual fund not listed below follows this default. The instruments below exhibit deterministic test behavior.
| Ticker | CUSIP | Summary | Lifecycle |
|---|---|---|---|
| SPAXX | 31617H102 | Always rejects |
|
| VTSAX | 922908728 | Immediate fill at NAV |
|