new module:ct-workbench /model /Price Generator(pField Names)
Generates a random price update set for the the specified field names.
Parameters:
Name | Type | Description |
---|---|---|
pFieldNames |
Array | A list of field names that should be updated randomly. |
- Implements:
Methods
generate(mSeeds)
Add the randomly generated number to all defined fields Makes prices movements consistent across bid/ask. e.g. 1.1123 -> 1.1135
Parameters:
Name | Type | Description |
---|---|---|
mSeeds |
Map | A map of seed values to base the update on. |
- Implements: