This is a TWS setting that can be configured:
- Click on the File (or Edit in Classic) menu followed by Global Configuration
- Select Orders followed by Settings
- Enter or remove the check-mark next to "Auto-adjust limit price for STP LMT and LIT orders" to change this setting
- Click Apply and Ok
Find out more about configuring order settings in the TWS Users' Guide.