Skip to main content

Prices

The prices field is an optional value that allows you to set hardcoded price series. These can be generated by using the Price Simulator and placing its output into this field. This option is useful for creating simulations that you want to repurpose for testing.

If this field is empty, the Price Simulator field is required.

Format

nametype
typearray of
{
tokenPair: array of str,
simulated?: array of int or inner list of int,
historical: array of int or inner list of int,
volatility_simulated?: array of int or inner list of int,
volatility_historical?: array of int or inner list of int
}
requiredfalse

Example

prices:
- tokenPair: ["ETH", "USDT"]
historical: [ 1308.02, 1308.8, 1311.92, 1310.16, 1317.25, 1322.77, 1318.27, 1319.88, 1319.57, 1326.06, 1335.68, 1337.9, 1341.56, 1334.99, 1330.12, 1321.53, 1318.61, 1320.92, 1320.39, 1327.42, 1324.64, 1321.26, 1324.71, 1328.15, 1327.15, 1324.91, 1323.23, 1328.31, 1329.89, 1333.77, 1329.32, 1325.63, 1328.28, 1332.12, 1333.97, 1330.27, 1331.95, 1341.08, 1339.48, 1341.98, 1339.01, 1334.46, 1335.62, 1337.75, 1337.92, 1330.2, 1331.07]