com.dukascopy.api
Interface IDownloadableStrategy


public interface IDownloadableStrategy


Nested Class Summary
static class IDownloadableStrategy.ComponentType
           
 
Method Summary
 IDownloadableStrategy.ComponentType getComponentType()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 IEngine.StrategyMode getStrategyMode()
           
 void onAccount(IAccount account)
           
 java.util.List<ISignal> onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar)
           
 java.util.List<ISignal> onMessage(IMessage message)
           
 void onStop()
           
 java.util.List<ISignal> onTick(Instrument instrument, ITick tick)
           
 void start()
           
 

Method Detail

getName

java.lang.String getName()

getId

java.lang.String getId()

getComponentType

IDownloadableStrategy.ComponentType getComponentType()

getStrategyMode

IEngine.StrategyMode getStrategyMode()

onStop

void onStop()
            throws JFException
Throws:
JFException

onAccount

void onAccount(IAccount account)
               throws JFException
Throws:
JFException

onMessage

java.util.List<ISignal> onMessage(IMessage message)
                                  throws JFException
Throws:
JFException

onBar

java.util.List<ISignal> onBar(Instrument instrument,
                              Period period,
                              IBar askBar,
                              IBar bidBar)
                              throws JFException
Throws:
JFException

onTick

java.util.List<ISignal> onTick(Instrument instrument,
                               ITick tick)
                               throws JFException
Throws:
JFException

start

void start()
           throws JFException
Throws:
JFException