src/main/java/com/billybyte/dse/debundles/RunGreeks.java
public static void main(String[] args) {
		// get command line args
		Map<String,String> argPairs = 
				Utils.getArgPairsSeparatedByChar(args, "=");
		Utils.prt("command line args: " + Arrays.toString(args));
		String example = argPairs.get("example");

		if(example.compareTo("1")==0){
			example1_getPrices();
		}
		if(example.compareTo("2")==0){
			example2_getGreeks();
		}
		if(example.compareTo("3")==0){
			example3_getPortfolioGreeks(argPairs.get("portfolioPath"));
		}
		if(example.compareTo("4")==0){
			example4_DseFromSpring();
		}
		if(example.compareTo("5")==0){
			example5_DseResultsAsCsv(argPairs.get("portfolioPath"));
		}
		if(example.compareTo("6")==0){
			example6_printPortfolio(argPairs.get("portfolioPath"));
		}
	}
/**
	 * Examples of getting greesk from the DerivativeSetEngine
	 * @param args "example=[1 2 3 4 or 5]"
	 */
Examples of getting greesk from the DerivativeSetEngine
@param args "example=[1 2 3 4 or 5]"
Examples of getting greesk from the DerivativeSetEngine @param args " example = [ 1 2 3 4 or 5 ] "
public static void main(String[] args) {
		Map<String,String> argPairs = 
				Utils.getArgPairsSeparatedByChar(args, "=");
		Utils.prt("command line args: " + Arrays.toString(args));
		String example = argPairs.get("example");
		if(example.compareTo("1")==0){
			example1_getPrices();
		}
		if(example.compareTo("2")==0){
			example2_getGreeks();
		}
		if(example.compareTo("3")==0){
			example3_getPortfolioGreeks(argPairs.get("portfolioPath"));
		}
		if(example.compareTo("4")==0){
			example4_DseFromSpring();
		}
		if(example.compareTo("5")==0){
			example5_DseResultsAsCsv(argPairs.get("portfolioPath"));
		}
		if(example.compareTo("6")==0){
			example6_printPortfolio(argPairs.get("portfolioPath"));
		}
	}
public static void main ( String [ ] args ) { Map < String , String > argPairs = Utils . getArgPairsSeparatedByChar ( args , "=" ) ; Utils . prt ( "command line args: " + Arrays . toString ( args ) ) ; String example = argPairs . get ( "example" ) ; if ( example . compareTo ( "1" ) == 0 ) { example1_getPrices ( ) ; } if ( example . compareTo ( "2" ) == 0 ) { example2_getGreeks ( ) ; } if ( example . compareTo ( "3" ) == 0 ) { example3_getPortfolioGreeks ( argPairs . get ( "portfolioPath" ) ) ; } if ( example . compareTo ( "4" ) == 0 ) { example4_DseFromSpring ( ) ; } if ( example . compareTo ( "5" ) == 0 ) { example5_DseResultsAsCsv ( argPairs . get ( "portfolioPath" ) ) ; } if ( example . compareTo ( "6" ) == 0 ) { example6_printPortfolio ( argPairs . get ( "portfolioPath" ) ) ; } }
Examples of getting greesk from the DerivativeSetEngine
 @param args "example=[1 2 3 4 or 5]"
Examples of getting greesk from the DerivativeSetEngine @param args " example = [ 1 2 3 4 or 5 ] "
// get command line args