public interface CustomModuleAdapter extends CustomModule
CustomModule with empty default method
implementations| Modifier and Type | Method and Description |
|---|---|
default void |
initialize(java.lang.String alias,
InstrumentInfo info,
Api api,
InitialState initialState)
Called before any other method
|
default void |
stop()
Called before unloading the module.
|
default void initialize(java.lang.String alias,
InstrumentInfo info,
Api api,
InitialState initialState)
CustomModuleinitialize in interface CustomModulealias - host instrument (the one where checkbox was checked)info - instrument info. Might be an instance of a subclass, providing some extra dataapi - object for interacting with BookmapinitialState - additional information partially replacing historical data, such
as last trade pricedefault void stop()
CustomModulestop in interface CustomModule