rterp / SumZeroTrading

A Java API for Developing Automated Trading Applications for the Equity, Futures, and Currency Markets
http://rterp.github.io/SumZeroTrading/
Other
145 stars 47 forks source link

Fluent API for ticker symbols #38

Open rterp opened 7 years ago

rterp commented 7 years ago

Create a fluent API for ticker symbols so that they can be configured with less code.

ie

FuturesTicker ticker = new FuturesTicker("CL").setExpiryMonth(3).setExpiryYear(12).setCurrency("USD")