19 lines
664 B
C#
19 lines
664 B
C#
|
|
//TODO: Remove
|
|
//namespace bts.SilverPine {
|
|
// using bts;
|
|
// using BCG;
|
|
|
|
// // it uses the volume (better to use open interest perhap) to detect the rollover, ie when a new
|
|
// // future exp becomes the highest volume one
|
|
// [DataStreamUserRespresentation("FuturesRoll")]
|
|
// public class FuturesRollStream : ViewStream {
|
|
// public FuturesRollStream(string future_symbol) {
|
|
// ViewStream rs = new FuturesContinousContractStream(future_symbol);
|
|
// rs = new ColumnEvolutionStream(rs, "ts_event", "symbol");
|
|
// rs = new NewProjectStream(rs, "symbol ts_event:roll_date !");
|
|
// mySetRealSource(rs);
|
|
// }
|
|
// }
|
|
//}
|