added CDLHAMMER example
fixed marketdata reference
fixes an issue with initialization