Streamline HFT script code

Streamline HFT script code