algo2t / alphatrade

Python APIs for SAS Online Alpha Trade Web platform for creating algo trading using python
https://algo2t.github.io/alphatrade
MIT License
44 stars 24 forks source link

Convert position from MIS to NRML. #6

Open ravi14390 opened 3 years ago

ravi14390 commented 3 years ago

HI There, how can I convert my position from Intraday to Delivery? Is there any method available to convert mis to nrml and vice-versa. If not, could you please add this feature?

ravi14390 commented 3 years ago

I checked there is method for modify order but I can't figure out how should I get Order ID of my open positions. In "get_netwise_positions" Order ID (oms_order_id) is coming as blank values.

algo2t commented 3 years ago

Even I checked for this and it seems it is supported sometimes and sometimes it doesn't work. I will check accordingly and do the changes. Do you find any documentation on this in aliceblue api python?

ravi14390 commented 3 years ago

Not able to find anything. Could you please check if we can get order ID field in "get_netwise_positions" method? If we get order id then we can try modify order method.

algo2t commented 3 years ago

@ravi14390 yes will try but as of now have not updated this library much.