Single-instrument Strateiges
To develop a single-instrument strategy, you simply create a new class of your own and make it a subclass of
com.cyanspring.strategy.singleinstrument.SingleInstrumentStrategy. Once you have your single-instrument strategy class,
you need to provide implementation for the following members
protected PriceInstruction analyze()
This is where the business logic is and the trading decsion is made.
Please refer to PriceInstruction for the details.