The pages referenced below describe how to use the Streamster API to create applications that interface with the Streamster trading platform. Applications using the Streamster API can retrieve various data from the platform, execute and modify orders and positions, and perform a variety of related actions.
To open and read a particular page, please click on its title.
CancelOrder cancels an order with a given Order ID. The CancelOrder method has one parameter, an "OrderID" string which specifies the order to be canceled. The CancelOrder method has no return value.
Sample - PHP: The following code cancels an order.
<?php $api = new SoapClient ("http://127.0.0.1:8018/service.wsdl", array('features' => SOAP_SINGLE_ELEMENT_ARRAYS)); $api -> CancelOrder("Z4AEVG7Z0"); ?>
Sample - Visual Basic: The following code cancels an order.
Dim api As StreamsterApi = New StreamsterApi api.CancelOrder("Z4AEVG7Z0")
Send us your comments and any suggestions you might have about the Streamster API. We look forward to receiving your input and improving content on this page to help you utilize the API to its full extent.