[Add] BaseGateway Document: send_order.orderid should be unique
This commit is contained in:
parent
c414f561f6
commit
0eb9630b23
@ -185,6 +185,7 @@ class BaseGateway(ABC):
|
||||
|
||||
implementation should finish the tasks blow:
|
||||
* create an OrderData from req using OrderRequest.create_order_data
|
||||
* assign a unique(gateway instance scope) id to OrderData.orderid
|
||||
* send request to server
|
||||
* if request is sent, OrderData.status should be set to Status.SUBMITTING
|
||||
* if request is failed to sent, OrderData.status should be set to Status.REJECTED
|
||||
|
Loading…
Reference in New Issue
Block a user