<back to all web services


Fetches the active orders created by a script

The following routes are available for this service:
GET, OPTIONS/Scripts/{ScriptId}/active-orders
GET, OPTIONS/Scripts/{ScriptId}/Orders/Open
GetActiveOrders Parameters:
NameParameterData TypeRequiredDescription
AuthorizationheaderstringYesAuthorization token in the form "Bearer your_token_here"
ScriptIdpathstringYesScript ID

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv


The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Scripts/{ScriptId}/active-orders HTTP/1.1 
Host: burntrouter.info 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

		ClientId: String,
		OrderId: String,
		Timestamp: 0001-01-01,
		Exchange: ,
		Type: Market,
		Side: Buy,
		Status: New,
		Price: 0,
		Quantity: 0,
		Remaining: 0,
		Filled: 0,
		SessionId: String,
		SessionSubId: String,
		LastTradeTimestamp: 0001-01-01,
		Cost: 0