public interface CustomModule
Layer1SimpleAttachable.
Provides way for Bookmap to interact with module.| Modifier and Type | Method and Description |
|---|---|
void |
initialize(java.lang.String alias,
InstrumentInfo info,
Api api,
InitialState initialState)
Called before any other method
|
void |
stop()
Called before unloading the module.
|
void initialize(java.lang.String alias,
InstrumentInfo info,
Api api,
InitialState initialState)
alias - 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 pricevoid stop()