making magic happen
fixed method  marketClosed to marketOpened