IOrdersApiSendOrder Method

GF API Documentation
Sends a new IOrder with parameters supplied by IOrderState instance.

Namespace:  GF.Api.Orders
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

IOrder SendOrder(
	OrderDraft orderDraft
)

Parameters

orderDraft
Type: GF.Api.Orders.DraftsOrderDraft
New order parameters

Return Value

Type: IOrder
New order
Remarks

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 .
See Also

Reference