
com.zerodhatech.models.OrderParams Maven / Gradle / Ivy
Go to download
Kite Connect is a set of REST-like APIs that expose many capabilities required to build a complete investment and trading platform.
package com.zerodhatech.models;
/** A wrapper for order params to be sent while placing an order.*/
public class OrderParams {
/**
* Exchange in which instrument is listed (NSE, BSE, NFO, BFO, CDS, MCX).
*/
public String exchange;
/**
* Tradingsymbol of the instrument (ex. RELIANCE, INFY).
*/
public String tradingsymbol;
/**
* Transaction type (BUY or SELL).
*/
public String transactionType;
/**
* Order quantity
*/
public Integer quantity;
/**
* Order Price
*/
public Double price;
/**
* Product code (NRML, MIS, CNC).
*/
public String product;
/**
* Order type (NRML, SL, SL-M, MARKET).
*/
public String orderType;
/**
* Order validity (DAY, IOC).
*/
public String validity;
/**
* Disclosed quantity
*/
public Integer disclosedQuantity;
/**
* Trigger price
*/
public Double triggerPrice;
/**
* Square off value (only for bracket orders)
*/
public Double squareoff;
/**
* Stoploss value (only for bracket orders)
*/
public Double stoploss;
/**
* Trailing stoploss value (only for bracket orders)
*/
public Double trailingStoploss;
/**
* Tag: field for users to tag orders. It accepts alphanumeric 8 character String values.
*/
public String tag;
/**
* Parent order id is used to send order modify request.
*/
public String parentOrderId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy