fix(trading): add comment

This commit is contained in:
Madalina Raicu 2024-03-05 16:33:11 +00:00
parent 39db2b402d
commit 4a98e412df
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD

View File

@ -203,6 +203,7 @@ export const mapFormValuesToTakeProfitAndStopLoss = (
const stopOrdersSubmission = [];
// if there are both take profit and stop loss then the stop order needs to be OCO
if (formValues.takeProfit && formValues.stopLoss) {
const ocoStopOrderSubmission = mapFormValuesToStopOrdersSubmission(
{