Functions supported by Kite Bridge

Order Details:

GetOrderCTag( Exch, TrdSym, CTag, IsLive )
GetOrderIds( Exch, TrdSym, ProdType )
GetOrderIdsBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetLastOrderId( Exch, TrdSym, ProdType, IsLive )

GetChildOrders( OrderId, IsLive )
GetOrderDiscQty( OrderId, IsLive )
GetOrderExch( OrderId, IsLive )
GetOrderExchId( OrderId, IsLive )
GetOrderExchTime( OrderId, IsLive )
GetOrderExchToken( OrderId, IsLive )
GetOrderFilledPrice( OrderId, IsLive )
GetOrderFilledQty( OrderId, IsLive )
GetOrderInstToken( OrderId, IsLive )
GetOrderMessage( OrderId, IsLive )
GetOrderParentId( OrderId, IsLive )
GetOrderPendingQty( OrderId, IsLive )
GetOrderPrice( OrderId, IsLive )
GetOrderProdType( OrderId, IsLive )
GetOrderQty( OrderId, IsLive )
GetOrderStatus( OrderId, IsLive )
GetOrderTag( OrderId, IsLive )
GetOrderTime( OrderId, IsLive )
GetOrderTrans( OrderId, IsLive )
GetOrderTrdSym( OrderId, IsLive )
GetOrderTriggerPrice( OrderId, IsLive )
GetOrderType( OrderId, IsLive )
GetOrderValidDate( OrderId, IsLive )
GetOrderVariety( OrderId, IsLive )

 

Position Details:

GetAvgBoughtPrice( Exch, TrdSym )
GetAvgBoughtPriceBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetAvgBoughtPriceProduct( Exch, TrdSym, ProdType )
GetAvgSoldPrice( Exch, TrdSym )
GetAvgSoldPriceBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetAvgSoldPriceProduct( Exch, TrdSym, ProdType )
GetBoughtQty( Exch, TrdSym )
GetBoughtQtyBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetBoughtQtyProduct( Exch, TrdSym, ProdType )
GetSoldQty( Exch, TrdSym )
GetSoldQtyBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetSoldQtyProduct( Exch, TrdSym, ProdType )

GetTotalMtm( Exch )
GetTotalMtmBridge( StgyCode, Source, IsLive )

GetMtm( Exch, TrdSym )
GetMtmBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetMtmProduct( Exch, TrdSym, ProdType )
GetNetQty( Exch, TrdSym )
GetNetQtyBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetNetQtyProduct( Exch, TrdSym, ProdType )

GetTotalPositionsBridge( StgyCode, Source, IsLive )
GetPositionsListBridge( StgyCode, Source, IsLive )
GetClosedPositionsBridge( StgyCode, Source, IsLive )
GetOpenPositionsBridge( StgyCode, Source, IsLive )

GetEntryTradesBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetLongTradesBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetShortTradesBridge( Exch, TrdSym, StgyCode, Source, IsLive )
GetTotalTradesBridge( Exch, TrdSym, StgyCode, Source, IsLive )

 

Symbol Details:

GetLotSize( Exch, TrdSym )
GetTickSize( Exch, TrdSym )

 

Bridge Status:

GetConnectedClient()
TestConnection()

 

Order Requests:

CancelAmoBridge( OrderId, IsAsync )
CancelBOMainBridge( OrderId, IsAsync )
CancelCOMainBridge( OrderId, IsAsync )
CancelRegularOrderBridge( OrderId, IsAsync )
ExitBOBridge( OrderId, IsAsync, StgyCode, IsLive )
ExitCOBridge( OrderId, IsAsync, StgyCode, IsLive )
ModifyBOMainBridge( OrderId, Qty, LmtPrice, TrgPrice, IsAsync )
ModifyBOSlBridge( OrderId, TrgPrice, IsAsync )
ModifyBOTgtBridge( OrderId, LmtPrice, IsAsync )
ModifyCOSlBridge( OrderId, TrgPrice, IsAsync )
ModifyRegularOrderBridge( OrderId, OrdType, Qty, LmtPrice, TrgPrice, IsAsync, DiscQty )
PlaceAmoBridge( Exch, TrdSym, SignalType, OrdType, Qty, ProdType, LmtPrice, TrgPrice, Validity, CTag, DiscQty, IsLive, StgyCode, IsAsync, TagAPI )
PlaceBOBridge( Exch, TrdSym, SignalType, Qty, LmtPrice, SqOffValue, StoplossValue, TrailPoints, OrdType, TrgPrice, CTag, IsLive, StgyCode, IsAsync, TagAPI )
PlaceCOBridge( Exch, TrdSym, SignalType, Qty, StoplossPrice, OrdType, LmtPrice, CTag, IsLive, StgyCode, IsAsync, TagAPI )
PlaceRegularOrderBridge( Exch, TrdSym, SignalType, OrdType, Qty, ProdType, LmtPrice, TrgPrice, Validity, CTag, DiscQty, IsLive, StgyCode, IsAsync, TagAPI )

 

Remarks:

Source : “XLBRIDGE”, “AMIBRIDGE”, “MTBRIDGE”, “WINBRIDGE”
Exch : “NSE”, “NFO”, “BSE”, “CDS”, “MCX”
OrdType : “MARKET”, “LIMIT”, “SL”, “SL-M”
ProdType : “MIS”, “NRML”, “CNC”
SignalType : “BUY”, “SELL”, “SHORT”, “COVER”
Validity : “DAY”
StgyCode : Must be 2 character, alphanumeric, unique to identify a strategy.
CTag : 3-15 characters, alphanumeric, unique to identify a order
IsLive : True to place order in Live Market or False for Paper Trading
IsAsync : True to place order in background or False to place in main thread
TagAPI : 3-8 characters, alphanumeric.
Qty|DiscQty : Number (Integer)
LmtPrice|TrgPrice : Number
SqOffValue|StoplossValue|TrailPoints : Number
StoplossPrice : Number

For full list of functions, please refer this link.

Was this article helpful?

Related Articles

6 Comments

  1. Avatar chandar

    want to do order from excel,
    install hello kite and put api, then pass order from excel, is it correct?
    how pass to order from excel, there is no describtion at anywhere, how to do ?
    dont paste homepage link and youtube link which doesnt contain answer

  2. Avatar ravi

    I want to use excel for bulk bracket order but here is no way it is written

    1. Hello ravi,
      Bulk order placement is not supported by Kite API.
      But, you can write a simple function to loop through list of orders and place, subject to throttle limit.

Leave A Comment?