Skip to main content
Question
FYERS API
Asked a question 6 months ago

Any one have any idea why this error happen when modifying stop loss orders . modify_order request - > {'id': 'xxxxxxxxxx', 'type': 4, 'limitPrice': 2493.9, 'stopLoss': 2495.1, 'qty': 3} response ->{'s': 'error', 'code': -174, 'message': 'The limit priceIs worser than the trigger price', 'id': 'xxxxxxxxxx'}. The same order gets success after sometime . But doesn't have any idea about the error code -174 .

Join FYERS Community to pick others' brains on Trading/Investing

Hey Vaisakh,
-174 error code occurs when placing orders after market hours, i.e., when market is offline.