0% found this document useful (0 votes)
250 views7 pages

Plus Trading Plugin Guide

This document provides instructions for using the Plus Trading Plugin. It includes sample code to place, modify, and cancel orders from AMI Broker and MATLAB using the Plus API. It also describes how to view placed orders and order history by running the Pulse Running Scrip window in Nest Pulse. The Plus API allows programmatic trading through supported platforms.

Uploaded by

Sarat Adusumilli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views7 pages

Plus Trading Plugin Guide

This document provides instructions for using the Plus Trading Plugin. It includes sample code to place, modify, and cancel orders from AMI Broker and MATLAB using the Plus API. It also describes how to view placed orders and order history by running the Pulse Running Scrip window in Nest Pulse. The Plus API allows programmatic trading through supported platforms.

Uploaded by

Sarat Adusumilli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ORIGINALORIGINALODADFADS

Omnesys Technologies

PLUS TRADING PLUGIN USER MANUAL

SEPTEMBER, 2012
PLUS TRADING PLUGIN

Document Information

DOCUMENT CONTROL INFORMATION

DOCUMENT Plus Trading Plugin user Manual

VERSION
REVIEWER
REVIEW NOTES

This document explains about the features and functionalities of Plus trading Plugin
VERSION NOTES product

KEYWORDS

Proprietary Notice

This document contains confidential information of Omnesys Technologies Pvt Ltd, which is provided for the sole
purpose of permitting the recipient to evaluate the deployment document submitted herewith. In consideration
of receipt of this document, the recipient agrees to maintain such information in confidence and to not reproduce
or otherwise disclose this information to any person outside the group directly responsible for evaluation of its
contents, except that there is no obligation to maintain the confidentiality of any information wh ich was known to
the recipient prior to receipt of such information from Omnesys Technologies Pvt Ltd, or becomes publicly known
through no fault of recipient, or is received without obligation of confidentiality from a third party owing no
obligation of confidentiality to Omnesys Technologies Pvt Ltd.

[Link] Page 2 of 7
PLUS TRADING PLUGIN

SAMPLE FUNCTIONS FOR PLUS TECHINCAL PLUGIN

COM CLSID : [Link]

Methods in the Object :


SetObjectName(string sObjectName)
PlaceOrder(string sTransType,
string sRefNo,
string sExchange,
string sTradingSymbol,
string sValidity,
string sOrderType,
long lQty,
double dPrice,
double dTriggerPrice,
long lDiscQty,
string sProductType,
string sClientId)
ModifyOrder( string sRefNo,
string sValidity,
string sOrderType,
long lQty,
double dPrice,
double dTriggerPrice,
long lDiscQty )
CancelOrder(string sRefNo)

From Ami Broker:


plus = CreateObject('[Link]')
[Link]('Ami Client')
[Link]('BUY','Ami01','NSE','YESBANK-EQ','DAY','LIMIT',10,555.00,0.0,0,'NRML','0091-OTPUAT')
[Link]('Ami01','DAY','LIMIT',11,560.00,0,9)
[Link]('Ami01')

Usage:From Matlab:
plus = actxserver('[Link]')
[Link]('Matlab Client')
[Link]('BUY','Matlab01','NSE','YESBANK-EQ','DAY','LIMIT',10,555.00,0.0,0,'NRML','0091-
OTPUAT')
[Link]('Matlab01','DAY','LIMIT',11,560.00,0,9)
[Link]('Matlab01')

[Link] Page 3 of 7
PLUS TRADING PLUGIN

Plus API Integration with AMI Broker

How does this Work?

We need to write the Plus API Function in AFL Codes as mentioned below

[Link] Page 4 of 7
PLUS TRADING PLUGIN

Once you have written the Plus function in Ami Broker and placed the
strategy on LIVE for execution, you can keep a watch on the orders from
Pulse Running Scrip Window. This can be invoked By Nest Pulse Script ->
Pulse Running Scrip.

[Link] Page 5 of 7
PLUS TRADING PLUGIN

In this wndow you can see the strategy that you have placed in AMI Broker.
In order to see the order History you need to double click on the strategy.
You will be presented with the following window

[Link] Page 6 of 7
PLUS TRADING PLUGIN

Once you double click on this, order will be placed to the exchange and will
be available in Order Book.

[Link] Page 7 of 7

You might also like