Contact UsGet Software
HomeOpen AccountAccount CenterServicesResources
Live Support
Streamster™
API
Platform Services
Instrument Profiles
Affiliate Program
Assistant Program
Charges
Downloads
Streamster™
Help
API
MetaTrader™

Streamster API

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 andpositions, and perform a variety of related actions.

To open and read a particular page, please click on its title.

1. Introduction to Streamster™ API

Streamster API exposes its functionality via the industry standard SOAP protocol. SOAP is widely supported on practically every programming platform, including PHP, Visual Basic, C#, C++, Java and many other languages and platforms.

To use Streamster API, an application connects to the SOAP service which is built into Streamster. To enable Streamster API and Streamster's SOAP service, log on to your account and click the Settings button. Under "Advanced", tick the "Enable web service API" box and click OK. Windows Firewall will then ask you to allow Streamster to accept connections on port 8018 - click the "Keep Blocking" button, which will prevent other computers on internet or your network from accessing Streamster API.

Once enabled, Streamster API is ready to service any requests coming from your computer. It is very important to note that requests coming from any computer other than yours will be always rejected, even if you allow Windows Firewall access to port 8018 from internet or any other computer or network. This is to prevent others on internet from accessing Streamster API on your computer and account. Note that there is no option in Streamster allowing circumvention of this protection.

With Streamster API enabled, you can use languages such as PHP and Visual Basic to run samples shown in the remainder of this document, or your own applications. For each Streamster API function you will see samples in PHP and Visual Basic. If you intend to use another language or platform, conversion of the sample code is usually very straightforward.


1.1.

Using API from PHP

1.2.

Using API from Visual Basic

2.

Streamster™ API Retrieval Methods

2.1.

GetQuote

2.2.

GetOrders

2.3.

GetTrades

2.4.

GetPositions

2.5.

GetDesks

2.6.

GetBars

2.7.

GetLastMessage

3.

Streamster™ API Trading Methods

3.1.

SendOrder

3.2.

ChangeOrder

3.3.

CancelOrder

3.4.

ChangePosition

3.5.

ClosePosition

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.