Market ServicesAffiliate ProgramAssistant ProgramChargesDownloads
Streamster HelpDownload HelpAPIToolsTools FAQ

Streamster™ API

The pages referenced below describe how to use Streamster™ API, which can be used to create applications that interface with Novativa Streamster™. Applications using the Streamster API can retrieve various data from Novativa Streamster, execute and modify orders on the market and perform a variety of related actions.

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


1.

Introduction to Streamster™ API

1.1.

Using API from PHP

1.2. Using API from Visual Basic

Using Streamster API from Visual Basic is simple because it natively supports SOAP web services. There are numerous ways to consume a web service from Visual Basic, but the simplest is to add a "Web Service Reference" to your Visual Basic project. The address of the Streamster API Web Service is http://127.0.0.1:8018/service.wsdl and this is what needs to be specified when adding the web service reference to your Visual Basic project.

Once the reference is added to your project, using Streamster API is as simple as using any other Visual Basic object. For example, try the code below:

Dim api As StreamsterApi = New StreamsterApi
Dim q As Quote = api.GetQuote("EUR/USD")

Console.WriteLine ("Last = " & q.Last)

If your Visual Basic project is a Windows Forms application, you can change the last line to Label1.Text = q.Last or similar.

Depending on your version of Visual Basic, you will need to make sure you add a "Web Service Reference", not a "Service Reference". If you add a "Service Reference", the name of the Streamster API class will be "StreamsterApiClientInterface" instead of just "StreamsterApi" so examples shown in this document would have to be updated accordingly in this case.

After Streamster API web service reference is added to your Visual Basic project, it is also necessary to add Streamster API web service reference to the list of "Imported Namespaces" in your Visual Basic project. This is necessary so that you will not have to prefix each Streamster API type with a web service reference name, which can be tedious.

To find out how to add a web service reference to the list of "Imported Namespaces" in your project, please consult the Visual Basic help system.


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.

About Marketiva
Our People
Locations
Regulation
Contact Information
Open Account
Service Agreement
Risk Disclosure
Price List
Payment Options
Payment Policy
AML Policy
Account Center
Change Password
Recover Password
Reset Account
Identify Yourself
Portfolio
Account Performance
Deposit Funds
Withdraw Funds
Transfer Funds
Orders, Trades
Positions
Billing
Support
Instrument Profiles
Market Conditions
Marketiva Masters
Affiliate Program
Affiliate Reports
Assistant Program
Price List
Payment Options
Downloads
Streamster Help
Tools
API
Introduction to Trading
Orders and Positions
Calculating Profit
Technical Analysis
Fundamental Analysis
Controlling Risk
Margin Requirements
Overnight Interest
Trading FAQ
Marketiva FAQ
Facebook
Twitter
Share