neo bridge

Upload: seehari

Post on 05-Jul-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/15/2019 Neo Bridge

    1/10

     

    NEOBRIDGE SETUP DOCUMENTATION

  • 8/15/2019 Neo Bridge

    2/10

     

    www.neotradeanalytics.com

    Now Place trading orders to Zerodha PI through our trading bridge

    “NeoBridge” through amibroker. 

    Orders can be placed by running a scan in Amibroker or through charts.

    Supported Operating System:

    Windows Vista

    Windows 7

    Windows 8/8.1

    Windows 10

    Yet to register with us?

    Use below link to register

    http://neotradeanalytics.com/free-nse-realtime-datafeed-login

    Registration Verification link would be sent across to your registered

    email id, on completion of verification, Visit our website and click on“start free trial” . You are good to go ahead with the trial of 3days. 

  • 8/15/2019 Neo Bridge

    3/10

     

    www.neotradeanalytics.com

    How to Setup NeoBridge

    Download NeoBrideg Setup from

    http://www.neotradeanalytics.com/uploads/NeoBridge.zip 

    Download zip file contains

    NeoBridge setup

    NeoBridge documentation

    Installing NeoBridge

    We will guide you through below the next set of steps on how to install

    NeoBridge. Run “Setup_NeoBridge.exe” 

    Now click on “Next” and complete following prerequisites 

    .net framework 4.5

    vc++ redistributable

    http://www.neotradeanalytics.com/Setup_NeoFeedPlus.ziphttp://www.neotradeanalytics.com/Setup_NeoFeedPlus.ziphttp://www.neotradeanalytics.com/Setup_NeoFeedPlus.zip

  • 8/15/2019 Neo Bridge

    4/10

     

    www.neotradeanalytics.com

    Setup will automatically install NeoBridge after installation of

    prerequisites.

  • 8/15/2019 Neo Bridge

    5/10

     

    www.neotradeanalytics.com

    Click “Next” and choose “Typical” and complete the installation. 

    Make sure to select “AmiBroker” Folder while installing the setup. 

    Click “Next” and complete the installation. 

    Now you are good to go ahead and access NeoBridge to place the

    orders through the charts. 

  • 8/15/2019 Neo Bridge

    6/10

     

    www.neotradeanalytics.com

    How to Use NeoBridge:

    Procedure to place orders through NeoBridge

    Start Zerodha “PI”. 

    Pi-Bridge is yet to be connected shows red dot.

    Run NeoBridge.exe on the desktop to connect to Pi-Bridge

    Enter Zerodha Client Id and click “Login” 

  • 8/15/2019 Neo Bridge

    7/10

     

    www.neotradeanalytics.com

    Start AmiBroker as admin.

    Open the AFL strategy and place code described in next section to

    start placing orders by running a scan or through the charts.

  • 8/15/2019 Neo Bridge

    8/10

     

    www.neotradeanalytics.com

    NeoBridge AFL Code 

     _SECTION_BEGIN("NeoBridge");

    //Parameter to set the trading month of the symbols to place orders on Pi

    //Current Monthfirstmon = ParamStr("firstmon","15NOVFUT");

    //Mid Month

    secmon = ParamStr("secmon","15DECFUT");

    //Far Month

    thirdmon = ParamStr("thirdmon","16JANFUT");

    Neo=Null;

    if(IsNull(Neo))

    {

    Neo=CreateStaticObject("Bridgedll.BridgeImp");}

    symbol = Name(); 

    //Replace Symbol names with format supported by Pi bridge

    if(StrFind(Name(),"-1M"))

    {

    symbol = StrReplace(symbol,"-1M", firstmon);

    }

    else if(StrFind( Name(),"-2M"))

    {

    symbol = StrReplace(symbol,"-2M", secmon);}

    else if(StrFind( Name(),"-3M"))

    {

    symbol = StrReplace(symbol,"-3M",thirdmon);

    }

    if(LastValue(Buy))

    {

    price = LastValue(C,1);

    Neo.PlaceOrder(symbol,"Buy",1,price,"NRML","L",0);

    }else if(LastValue(Sell))

    {

    price = LastValue(C,1);

    Neo.PlaceOrder(symbol,"Sell",1,price,"NRML","L",0);

    }

     _SECTION_END();

  • 8/15/2019 Neo Bridge

    9/10

     

    www.neotradeanalytics.com

    Details of PlaceOrder Function:

    FNO orders are currently supported with NeoBridge.

    Neo.PlaceOrder(Symbol,Order,Qty,Price,Prodtype,Ordertype,Swing);

    Where

    Symbol = Symbol Name (which is updated in format supported by Pi)

    Order = “Buy” or “Sell” 

    Qty = For FNO, place number of lots to be traded.

    Price = Order price to be place.

    Prodtype = “NRML”, “MIS”. 

    Ordertype = Supported orders - “L” and ”MKT” orders. 

    Swing = if position already exists, setting this flag to 1 makes sure that

    when position need to be closed, it will push extra Cover/Sell order along with

    the existing Cover/sell order.

    **Note : Make sure to have proper symbol names for theorders to be placed on the Zerodha Pi platform.

  • 8/15/2019 Neo Bridge

    10/10

     

    www.neotradeanalytics.com

    HELP US TO SERVE YOU IN A BEST POSSIBLE WAY

    Please share your feedback regularly to serve you in a best

    possible way, reach to us @

    [email protected] 

    OR

    Phone# 08494949433

    Happy Trading

    Neotrade Analytics Team

    mailto:[email protected]:[email protected]:[email protected]