Dear friends i using the okx-python-sdk-api-v5 to place an positions and using algo order for set sl and tp . in some situations i just need stop lost and no needs for take profit so i just fill the slTriggerPx and slOrdPx parameter for place algo order and i get this error {"code":"51000","data":[],"msg":"Parameter tpTriggerPx error"}
can you tell me why the both of sl and tp parametes are required ? and how can i just set sl parameter?
Dear friends i using the okx-python-sdk-api-v5 to place an positions and using algo order for set sl and tp . in some situations i just need stop lost and no needs for take profit so i just fill the slTriggerPx and slOrdPx parameter for place algo order and i get this error {"code":"51000","data":[],"msg":"Parameter tpTriggerPx error"} can you tell me why the both of sl and tp parametes are required ? and how can i just set sl parameter?