Archive smallcase Order
An archive order on an invested smallcase means that the user doesn’t want to attempt any new orders against the unfilled stocks of the previous transaction. This would mark the invested smallcase status as VALID and the constituents of the order which was marked as archived will not be included in the invested smallcase. But the user will continue to hold the stock/constituents which were already present in the invested smallcase or were filled in the last transaction batch
To archive a smallcase, invested smallcase ID (iscid) is required. No transactionId is required.
gatewayInstance.markArchived({iscid: <iscid>})Note: If a smallcase BUY order failed such that no constituents were bought & user archives this smallcase, the smallcase is then removed from his investments