Serendipity2-0 / TradeManV1

1 stars 0 forks source link

Order Executor endpoints #64

Closed amolkittur closed 3 months ago

amolkittur commented 3 months ago

63

Order Executor endpoint work flow

Overview

Implement the order executor endpoint to place orders from the UI. This can be used to place new orders or repair the orders.

Requirements

1. Strategy Selection

2. User Selection

3. Order Mode Selection

3.1. Repair Order Flow

3.1.1 Equity Segment

If the selected strategy is in the Equity segment:

3.1.2 Derivative Segment

If the selected strategy is in the Derivative segment:

3.2 Complete Order Flow

3.2.1 Equity Segment

If the selected strategy is in the Equity segment:

3.2.2 Derivative Segment

If the selected strategy is in the Derivative segment:

Additional Notes

Anand-ak7 commented 3 months ago

@amolkittur

  1. need to change the end point name for the admin qty calculation mode
  2. In fetch user for strategy end point list only the Tr_ No.
Anand-ak7 commented 3 months ago

@amolkittur

Need add order mode parameter in this post request end point /v1/admin/place-complete-order

amolkittur commented 3 months ago

@Anand-ak7

I have created 2 separate endpoints for complete order and repair order so no need of passing the order_mode as a parameter to these functions