fill tradecode, add option page