Comment on Pi Bridge for Amibroker

algogeek commented on 06 Sep 2017, 06:55 PM

There is not change in function or parameters formats, if you are trying same above line, check the contract symbol (it should be NIFTY17SEPFUT ) and the LTP price and try, you can check below given simple code for reference,
_SECTION_BEGIN(“PiBridge Test”);
brd = CreateStaticObject(“pibridge.Bridge”);
if(!brd.GetConnectionStatus()) brd.Reconnect();
brd.PlaceOrder(“NFO”, “NIFTY17SEPFUT”, “NIFTY”,”STRATEGY-S”, 1,1, 1, 9900, 0, “L”, “NRML”, “RA0000″,”DAY”);
brd.PauseCode(60); //Pause the code for 60 seconds

View the full comment thread »