Develop Your System
This section is to discuss the key components in Cyan Spring framework and how to develop your system based on those componentsSingle-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 membersprotected PriceInstruction analyze()
This is where the business logic is and the trading decsion is made.Please refer to PriceInstruction for the details.