Code Difference – KiteNet vs UpstoxNet

Hello Developers,

The below table will list out the difference between KiteNet and UpstoxNet. This is very useful if you want to use your KiteNet code in UpstoxNet and vice versa. You just need to change only the below things, everything else like syntax, return value etc are same for both.

NAMESPACE

UpstoxNet

NAMESPACE

KiteNet

CLASS

Upstox

Bridge

CLASS

Kite

Bridge

EXCHANGES

NSE_EQ

NSE_FO

MCX_FO

EXCHANGES

NSE

NFO

MCX

ORDER TYPES

M

L

SL

SL-M

ORDER TYPES

MARKET

LIMIT

SL

SL-M

TRANSACTION (ONLY FOR UPSTOX CLASS)

B

S

TRANSACTION (ONLY FOR KITE CLASS)

BUY

SELL

PRODUCT TYPES

D

D

I

PRODUCT TYPES

CNC

NRML

MIS

ORDER VARIETY/COMPLEX

SIMPLE

OCO

CO

AMO

ORDER VARIETY/COMPLEX

REGULAR

BO

CO

AMO

FUNCTIONS (ONLY FOR UPSTOX CLASS)

PlaceSimpleOrder

CancelSimpleOrder

ModifySimpleOrder

PlaceOCO

ExitOCO

CancelOCOMain

ModifyOCOMain

ModifyOCOSl

ModifyOCOTgt

FUNCTIONS (ONLY FOR KITE CLASS)

PlaceRegularOrder

CancelRegularOrder

ModifyRegularOrder

PlaceBO

ExitBO

CancelBOMain

ModifyBOMain

ModifyBOSl

ModifyBOTgt

ORDER STATUS

open

trigger pending

complete

cancelled

rejected

ORDER STATUS

OPEN

TRIGGER PENDING

COMPLETE

CANCELLED

REJECTED

OCO ORDER TRAIL VALUE

Ticks

BO ORDER TRAIL VALUE

Points

AMIBROKER BRIDGE INITIALIZATION

Bridge = CreateStaticObject(“UpstoxNet.Bridge”);

AMIBROKER BRIDGE INITIALIZATION

Bridge = CreateStaticObject(“KiteNet.Bridge”);

EXCEL BRIDGE INITIALIZATION

Public Bridge As New UpstoxNet.Bridge

EXCEL BRIDGE INITIALIZATION

Public Bridge As New KiteNet.Bridge

SIGNAL TYPES (ONLY FOR BRIDGE CLASS)

BUY

SELL

SHORT

COVER

SIGNAL TYPES (ONLY FOR BRIDGE CLASS)

BUY

SELL

SHORT

COVER

FUNCTIONS (ONLY FOR BRIDGE CLASS)

PlaceSimpleOrderBridge

CancelSimpleOrderBridge

ModifySimpleOrderBridge

PlaceOCOBridge

ExitOCOBridge

CancelOCOMainBridge

ModifyOCOMainBridge

ModifyOCOSlBridge

ModifyOCOTgtBridge

FUNCTIONS (ONLY FOR BRIDGE CLASS)

PlaceRegularOrderBridge

CancelRegularOrderBridge

ModifyRegularOrderBridge

PlaceBOBridge

ExitBOBridge

CancelBOMainBridge

ModifyBOMainBridge

ModifyBOSlBridge

ModifyBOTgtBridge

 

 

Admin

Admin

I'm managing everything here...

Leave a Reply

Your email address will not be published.