Using magic numbers
When testing your integration, can you use the magic numbers to create specific failure scenarios:- If you are a taker, you can accept a quote where either the
from.amountor theto.amountis equal to one of the magic numbers - If you are maker, seeded trades will be available to you with the magic
numbers as either the
from.amountor theto.amount
from.amount or to.amount,
the resulting trade will have the outcome described in the next section.
For more information on testing your integration, see the
Test your StableFX Integration as a Taker
and
Test your StableFX Integration as a Maker
tutorials.
Magic numbers
| Magic Number | Trade outcome |
|---|---|
23.66 | Opposite party signature won’t be registered during trade recording on the contract |
23.67 | Opposite party funding won’t be provided |