Dissecting the Nest Plus Auto Trading API

Can you place an order in NOW? Also is it fully automated or Semi automated? I think you said you still have to hit a button for the order to go thru. Also it would be great if the people who know how to do this create a brief tutorial for people who don't know. This whole auto trade thing a complete mystery?
 

yusi

Well-Known Member
Thanks for the prompt reply. I succeeded :clap: in placing order from Ami to Nest. I just placed the dummy data in the last three parameters in PlaceOder method. But not so happy, as it rejected for MCX order. What is the procedure for Semi autotrading in MCX. i read MCX circular-042-2007:D:D. But i don't think its feasible for a small time trader.
When placing an MCX order, the Message / Log window should (used to) show something like: Exchange is not valid to place order.

If that door is closed, you would have to dump using the Plus API if favour of other alternatives such as TracerBullet's OrderMan, keeping in mind the spirit of the exchange circular.
 

yusi

Well-Known Member
Can you place an order in NOW? Also is it fully automated or Semi automated? I think you said you still have to hit a button for the order to go thru. Also it would be great if the people who know how to do this create a brief tutorial for people who don't know. This whole auto trade thing a complete mystery?
Yes.
Semi.
Yes.
¯\_(ツ)_/¯
 
Yusi,
I gone through google.. about Nest Plus API..
But unfortunately could not understand much more about it..
Could you please guide me or any web links where can I study more regarding it from the scratch.
Help would be more appreciated.
Thanks.
 

yusi

Well-Known Member
Yusi,
I gone through google.. about Nest Plus API..
But unfortunately could not understand much more about it..
Could you please guide me or any web links where can I study more regarding it from the scratch.
Help would be more appreciated.
Thanks.
This thread was started because there was very little documentation about the API. Your best bet is to look at various AFLs offered here and there, and glean what you can. It has been some time since I have looked at it, and do not intend to do so soon, as little would have changed.

I certainly will not answer open-ended "could not understand" / "study more" kind of messages; will, perhaps, try to do so with specific questions.
 
I need Help

Hi Yusi,
I am new to Amibroker and Nest Plus Auto Trading. I am using the following code copied from earlier post in this thread to test order placing from Ami to Nest. But It is showing errors. Thumbnail of error attached

Code:
//Create the Nest Plus API object
plusObject = CreateStaticObject( "nest.plusapi" );

//Assign the object a name
plusObject.SetObjectName( "DryRun" );

//Place a limit buy order using NRML (near the lower circuit, CMP is 110)
plusObject.PlaceOrder("BUY", "OrderNo_1", "NSE", "HINDALCO-EQ", "DAY", "LIMIT", 1, 100.15, 0, 1, "CNC", "RB1886");
Can you please guide me, where i am doing mistake. I am subscribed to Nest Plus API. Amibroker Version is 6.002. Nest Trader v3.11.4.


thank you in advance
Hi sbrahmam

Do you require free or paid Nest Plus API subscription to run that Auto Trading code.. What is the cost..

I do have free subscription of Nest Plus.. is that enough..!

Can I have that Auto Trading code as well please..

Best Regards :)
 
Read Nest Plus API Signature

How to read Nest Plus API signature..
The error clear says "Incorrect number of parameters".

Checking the signature of the Nest Plus API in 3.11.4, you need 3 additional parameters at the end after clientID :

- string AlgoIdentifier
- string AlgoSeqNumber
- string Vendor ID

You will have to check the documentation (or use trial-error) to learn what these represent and, more importantly, are intended to do.
 

yusi

Well-Known Member
Re: Read Nest Plus API Signature

How to read Nest Plus API signature..
1. Download / Request / Demand the documentation from Omnesys (or your broker). It should have more than the signature such as context, range of valid values, exceptions.

2. Use an OLE / COM Object Viewer.
 

Square

Active Member
Kudos.......


Finally I am able to place an order into Nest Plus using Excel sheet.

Truly said, you can achieve anything if u ask for help and put in your efforts..

Here are few troubeshooting steps that i did to achieve this.

First of all thanks to Yusi for always posting reply for my silliest queries. I sent many PM to multiple users here, no one replied but yusi tried his best to reply.

so here it goes.

1. When i first attempted to place order in Nest using Excel sheet, i got error "Object Name not set".
Resolution : I actvated "Plus Trading Plugin" in my Nest Plus Dashboard". See screenshot below


2. Since i was misguided by Zerodha executive of heavy hectic price to activate Plus Trading Plugin, and i was busy with my other stuff, i kept silent for few days.

3. Few days back when i again tried to place order by installing latest version of Zerodha, i got error saying "cannot create object.... Error code : 429".
Resolution: After searching on internet i found it is mostly because of bad registry entries. So i did below steps, i really dont know which trick worked, but it worked.
a. Uninstall zerodha trader.
b. Run AVG PC Analyser which identifies all bad registry entries on your machine and deletes them
c. installed .Net Framework 4.0 (some where over internet this was also a solution)
4. I reinstalled Zerodha.
5. Restarted my machine and tried same code from excel. It worked.

Now i need to work and debug more in this api.

Thanks to all those who took effort to reply me.
Hi, Are there any charges for enabling this "PLUS TRADING PLUGIN" feature?
 

Similar threads