Namespace:
GF.Api.Orders
Assembly:
GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
IOrder SendOrder(
OrderDraft orderDraft
)
Function SendOrder (
orderDraft As OrderDraft
) As IOrder
IOrder^ SendOrder(
OrderDraft^ orderDraft
)
Parameters
- orderDraft
- Type: GF.Api.Orders.DraftsOrderDraft
New order parameters
Return Value
Type:
IOrderNew order
Order draft could be created using
OrderDraft.
The order will receive
OrderConfirmed event, meaning that server successfully
receives the order and assigns a ticket number to it. Then clint should monitor
OrderStateChanged
event
and/or check
CurrentState when order was accepted or rejected, become working and completed.
to watch how order is filled client need to listen to
OrderFilled .
Reference