public interface IDownloadableStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
IDownloadableStrategy.ComponentType |
| Modifier and Type | Method and Description |
|---|---|
IDownloadableStrategy.ComponentType |
getComponentType() |
String |
getId() |
String |
getName() |
IEngine.StrategyMode |
getStrategyMode() |
void |
onAccount(IAccount account) |
List<ISignal> |
onBar(Instrument instrument,
Period period,
IBar askBar,
IBar bidBar) |
List<ISignal> |
onMessage(IMessage message) |
void |
onStop() |
List<ISignal> |
onTick(Instrument instrument,
ITick tick) |
void |
start() |
String getName()
String getId()
IDownloadableStrategy.ComponentType getComponentType()
IEngine.StrategyMode getStrategyMode()
void onStop()
throws JFException
JFExceptionvoid onAccount(IAccount account) throws JFException
JFExceptionList<ISignal> onMessage(IMessage message) throws JFException
JFExceptionList<ISignal> onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) throws JFException
JFExceptionList<ISignal> onTick(Instrument instrument, ITick tick) throws JFException
JFExceptionvoid start()
throws JFException
JFExceptionCopyright © 2016. All rights reserved.