Skip to main content

UserDataUserMessage

Package: velox.api.layer1.reading

Type: Class

Inheritance: java.lang.Object รขโ€ โ€™ UserDataUserMessage

All Implemented Interfaces: velox.api.layer1.messages.Layer1ApiIgnorableUpwardMessage

Descriptionโ€‹

This class is used for sending arbitrary user data and storing it into feeds/historical data.

Messages with alias != null will be stored as instrument specific events and will be available both in replay and historical data.

Messages with alias == null will be stored as global events and will be available only in replay. Currently such messages are not stored in historical data.

You can use custom generators to get data from these messages stored in historical data/trees. See an example in UserDataUserMessageDemo from the DemoStrategies repo.

Fieldsโ€‹

tagโ€‹

public final String tag

aliasโ€‹

public final String alias

dataโ€‹

public final byte[] data

Constructorsโ€‹

UserDataUserMessageโ€‹

public UserDataUserMessage(String tag, String alias, byte[] data)