The official Fyers Go SDK for API-V3 Users FYERS API.
Fyers API is a set of REST-like APIs that provide integration with our in-house trading platform with which you can build your own customized trading applications.
- Complete API Coverage: Full implementation of Fyers API v3 endpoints
- Authentication: OAuth2-based authentication with automatic token management
- Real-time Data: WebSocket streaming for live market data and order updates
- Trading Operations: Place, modify, and cancel orders with support for various order types
- TP/SL Smart Orders: Attach take-profit / stop-loss offsets on place, modify, or open positions (
BO/COdeprecated) - Portfolio Management: Access holdings, positions, and fund information
- Market Data: Historical data, real-time quotes, market depth, options chain, futures chain, and expired FNO data
- Reports: Order/trade history, charges, realised profit, tax P&L, and ledger
- Smart Orders & Smart Exit: Limit, step, SIP, and trail smart orders with lifecycle management
- Error Handling: Comprehensive error handling with detailed error messages
- Type Safety: Strongly typed Go structs for all API responses
- Examples: Extensive examples for all major functionality
- Minimum: Go 1.18 (required by
go.mod). - Compatible: Go 1.18 and any later release (1.19, 1.20, 1.21, 1.22, 1.23, etc.).
Using Go 1.19 or newer is recommended for security and tooling support.
go get github.com/FyersDev/fyers-go-sdkpackage main
import (
"fmt"
"log"
fyersgosdk "github.com/FyersDev/fyers-go-sdk"
)
func main() {
appId := "AAAAAAAAA-100"
appSecret := "XY...."
redirectUrl := "https://trade.fyers.in/api-login/redirect-uri/index.html"
// 1. Initialize client (auth only)
fyClient := fyersgosdk.SetClientData(appId, appSecret, redirectUrl)
fmt.Println("Login URL:", fyClient.GetLoginURL())
// 2. After user authorizes, exchange auth code for access token
authCode := "eyjb...."
response, err := fyClient.GenerateAccessToken(authCode, fyClient)
if err != nil {
log.Fatal("Error generating access token:", err)
}
fmt.Println("Response:", response)
// 3. Use FyersModel for all API calls (profile, orders, data, etc.)
accessToken := "eyjb...."
fyModel := fyersgosdk.NewFyersModel(appId, accessToken)
profile, err := fyModel.GetProfile()
if err != nil {
log.Fatal("Error getting profile:", err)
}
fmt.Println("Profile:", profile)
}package main
import (
"fmt"
"log"
fyersgosdk "github.com/FyersDev/fyers-go-sdk"
)
func main() {
appId := "AAAAAAAAA-100"
accessToken := "eyjb...."
fyModel := fyersgosdk.NewFyersModel(appId, accessToken)
// Quotes
symbols := []string{"NSE:SBIN-EQ", "NSE:NIFTY50-INDEX"} // Quotes (up to 50 symbols)
quotes, err := fyModel.GetStockQuotes(symbols)
fmt.Println("Quotes:", quotes)
// Quotes via POST - same shape, but symbols travel in the body so you can
// request many more of them in one call.
quotesV2, err := fyModel.GetStockQuotesV2(symbols)
fmt.Println("Quotes (v2):", quotesV2)
// History
history, err := fyModel.GetHistory(fyersgosdk.HistoryRequest{
Symbol: "NSE:SBIN-EQ", Resolution: "30", DateFormat: "1",
RangeFrom: "2021-01-01", RangeTo: "2021-01-02", ContFlag: "",
})
fmt.Println("History:", history)
}package main
import (
"fmt"
fyersgosdk "github.com/FyersDev/fyers-go-sdk"
)
func main() {
fyModel := fyersgosdk.NewFyersModel("AAAAAAAAA-100", "eyjb....")
// Futures chain for an index or underlying
chain, err := fyModel.GetFuturesChain(fyersgosdk.FuturesChainRequest{
Symbol: "NSE:NIFTY50-INDEX",
})
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Futures chain:", chain)
// Expired FNO workflow: expiry dates β contracts β historical candles
expiry, err := fyModel.GetExpiryDates(fyersgosdk.ExpiryDatesRequest{
UnderlyingSymbol: "NSE:NIFTY50-INDEX",
RangeFrom: "2024-01-01",
RangeTo: "2024-12-31",
DateFormat: "1",
})
fmt.Println("Expiry dates:", expiry)
contracts, err := fyModel.GetHistoryUnderlyingSymbols(fyersgosdk.HistoryUnderlyingSymbolsRequest{
UnderlyingSymbol: "NSE:NIFTY50-INDEX",
ExpiryDate: "2024-11-28",
})
fmt.Println("Expired contracts:", contracts)
history, err := fyModel.GetFNOHistoricalData(fyersgosdk.FNOHistoricalDataRequest{
Symbol: "NSE:NIFTY24NOV22500CE",
Resolution: "5",
DateFormat: "1",
RangeFrom: "2024-11-01",
RangeTo: "2024-11-28",
IncludeGreeks: "1",
IncludeOi: "1",
})
fmt.Println("FNO historical data:", history)
}package main
import (
"fmt"
"log"
fyersgosdk "github.com/FyersDev/fyers-go-sdk"
)
func main() {
appId := "AAAAAAAAA-100"
accessToken := "eyjb...."
// Place Order
fyModel := fyersgosdk.NewFyersModel(appId, accessToken)
response, err := fyModel.SingleOrderAction(fyersgosdk.OrderRequest{
Symbol: "NSE:IDEA-EQ", Qty: 1, Type: 1, Side: 1, ProductType: "CNC",
LimitPrice: 100, Validity: "DAY", DisclosedQty: 0, OfflineOrder: false,
})
fmt.Println("Response:", response)
}TP/SL values are optional offsets (points or percent of entry), not absolute prices. Set takeProfit, stopLoss, both, or neither. Use standard product types (CNC, INTRADAY, MARGIN, MTF) β BO / CO are deprecated and rejected by the API.
package main
import (
"fmt"
fyersgosdk "github.com/FyersDev/fyers-go-sdk"
)
func main() {
fyModel := fyersgosdk.NewFyersModel("AAAAAAAAA-100", "eyjb....")
// Place with take-profit / stop-loss overlays (sync endpoint only)
response, err := fyModel.SingleOrderAction(fyersgosdk.OrderRequest{
Symbol: "NSE:SBIN-EQ",
Qty: 10,
Type: 1,
Side: 1,
ProductType: fyersgosdk.ProductIntraday,
LimitPrice: 500.0,
Validity: "DAY",
TakeProfit: 10.5, // optional float
StopLoss: 5.0, // optional float β omit either field (or leave 0) if not needed
LegType: fyersgosdk.LegTypePoints, // 1 = points, 2 = percent
})
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Response:", response)
// Update TP and remove SL on an open order
mod, err := fyModel.ModifyOrder(fyersgosdk.ModifyOrderRequest{
Id: "23072800012345",
TakeProfit: 15.0,
ClearStopLoss: true, // sends "stopLoss": null
})
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Modify:", mod)
// Attach TP/SL to an open position
attach, err := fyModel.AttachPositionLegs(fyersgosdk.AttachPositionLegsRequest{
PositionID: "NSE:SBIN-EQ-INTRADAY",
TakeProfit: 2.5,
StopLoss: 1.5,
LegType: fyersgosdk.LegTypePercent,
})
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Attach:", attach)
}package main
import (
"fmt"
"os"
"os/signal"
"syscall"
fyersws "github.com/FyersDev/fyers-go-sdk/websocket"
)
func main() {
appId := "AAAAAAAAA-100"
token := "eyjb...."
accessToken := fmt.Sprintf("%s:%s", appId, token)
symbols := []string{"NSE:SBIN-EQ"}
datatype := "SymbolUpdate" // "SymbolUpdate", "DepthUpdate"
var dataSocket *fyersws.FyersDataSocket
onConnect := func() {
dataSocket.Subscribe(symbols, datatype)
}
dataSocket = fyersws.NewFyersDataSocket(
accessToken, // Access token in the format "appid:accesstoken"
"", // Log path - leave empty to auto-create logs in the current directory
true, // Lite mode disabled. Set to true if you want a lite response
false, // Save response in a log file instead of printing it
true, // Enable auto-reconnection to WebSocket on disconnection
50, // reconnectRetry: max reconnect attempts (cap 50)
onConnect, // Callback: subscribe on every connect (first + after reconnect)
onClose, // Callback function to handle WebSocket connection close events
onError, // Callback function to handle WebSocket errors
onMessage, // Callback function to handle incoming messages from the WebSocket
)
err := dataSocket.Connect()
if err != nil {
fmt.Printf("failed to connect to Data Socket: %v", err)
return
}
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, syscall.SIGINT, syscall.SIGTERM)
<-sigChan
fmt.Println("\nReceived interrupt signal, closing connection...")
dataSocket.CloseConnection()
fmt.Println("Data Socket connection closed")
}
func onMessage(message fyersws.DataResponse) {
fmt.Printf("Response: %s\n", message)
}
func onError(message fyersws.DataError) {
fmt.Printf("Error: %s\n", message)
}
func onClose(message fyersws.DataClose) {
fmt.Printf("Connection closed: %s\n", message)
}The Fyers Go SDK uses OAuth2 authentication. Here's the complete flow:
First, register your application on the Fyers Developer Portal:
- Create a new app
- Get your
App IDandApp Secret - Set your redirect URL
- Note your
Client ID
// Step 1: Initialize client (appId, appSecret, redirectUrl)
fyClient := fyersgosdk.SetClientData(appId, appSecret, redirectUrl)
// Step 2: Generate login URL
loginURL := fyClient.GetLoginURL()
fmt.Println("Please visit:", loginURL)
// Step 3: User authorizes; you get auth code from redirect URL
// Step 4: Exchange auth code for access token (returns JSON string)
response, err := fyClient.GenerateAccessToken(authCode, fyClient)
// Step 5: Exchange refresh token for access token
response, err := fyClient.GenerateAccessTokenFromRefreshToken(refreshToken, pin, fyClient)
// Step 6: Create FyersModel for all API calls
fyModel := fyersgosdk.NewFyersModel(appId, accessToken)All API methods return (string, error); the string is the raw JSON response. Use Client only for auth; use FyersModel for everything after login.
| Method | Description |
|---|---|
SetClientData(appId, appSecret, redirectUrl string) *Client |
Create client for login/refresh. |
GetLoginURL() string |
URL for user to authorize and get auth code. |
GenerateAccessToken(authToken string, fyClient *Client) (string, error) |
Exchange auth code for access token. |
GenerateAccessTokenFromRefreshToken(refreshToken, pin string, fyClient *Client) (string, error) |
Get new access token from refresh token. |
SetAccessToken(accessToken string) *Client |
Set token on client (optional). |
| Method | Description |
|---|---|
GetProfile() (string, error) |
User profile. |
GetFunds() (string, error) |
Account funds. |
GetHoldings() (string, error) |
Portfolio holdings. |
Logout() (string, error) |
Logout session. |
| Method | Description |
|---|---|
GetOrderBook() (string, error) |
All orders. |
GetOrderBookByTag(tag string) (string, error) |
Orders by tag. |
GetOrderById(id string) (string, error) |
Single order by ID. |
GetPositions() (string, error) |
Open positions. |
GetTradeBook() (string, error) |
Trade book. |
GetTradeBookByTag(tag string) (string, error) |
Trades by tag. |
| Method | Description |
|---|---|
OrderHistory(req *OrderBookHistoryFilter) (string, error) |
Historical order book with optional filters (exchange, segment, status, symbol, date range, pagination). Pass nil for no filters. |
TradeHistory(req *TradeBookHistoryFilter) (string, error) |
Historical trade book with optional filters. Pass nil for no filters. |
ChargesHistory(req *ChargesHistoryFilter) (string, error) |
Brokerage and charges history with optional filters. Pass nil for no filters. |
RealisedProfit(req *RealisedProfitFilter) (string, error) |
Realised profit/loss report with optional filters. |
TaxPnLHistory(req *TaxPnLHistoryFilter) (string, error) |
Tax P&L report by financial year and segment. |
LedgerHistory(req *LedgerHistoryFilter) (string, error) |
Account ledger entries with optional date range and filters. |
| Method | Description |
|---|---|
SingleOrderAction(orderRequest OrderRequest) (string, error) |
Place single order. |
MultiOrderAction(orderRequests []OrderRequest) (string, error) |
Place multiple orders. |
MultiLegOrderAction(orderRequests []MultiLegOrderRequest) (string, error) |
Place multi-leg orders. |
ModifyOrder(orderRequest ModifyOrderRequest) (string, error) |
Modify single order (PATCH). Supports optional takeProfit / stopLoss / legType. |
ModifyMutliOrder(requests []ModifyMultiOrderItem) (string, error) |
Modify multiple orders (PATCH). |
CancelOrder(Id string) (string, error) |
Cancel single order. |
CancelMutliOrder(orderIds []string) (string, error) |
Cancel multiple orders (DELETE). |
| Method | Description |
|---|---|
GTTSingleOrderAction(orderRequest GTTOrderRequest) (string, error) |
Place GTT order. |
GTTMultiOrderAction(orderRequests []GTTOrderRequest) (string, error) |
Place GTT (sends first only). |
ModifyGTTOrder(orderRequests []ModifyGTTOrderRequest) (string, error) |
Modify GTT order. |
CancelGTTOrder(orderId string) (string, error) |
Cancel GTT order. |
GetGTTOrderBook() (string, error) |
GTT order book. |
| Method | Description |
|---|---|
ExitPosition() (string, error) |
Exit all positions (DELETE with exit_all). |
ExitPositionById(orderId []string) (string, error) |
Exit by order IDs. |
ExitPositionByProductType(req ExitPositionByProductTypeRequest) (string, error) |
Exit by segment/side/productType. |
CancelPendingOrders(req CancelPendingOrdersRequest) (string, error) |
Cancel pending orders (optional Id for single symbol). |
ConvertPosition(req ConvertPositionRequest) (string, error) |
Convert position (e.g. INTRADAY to CNC). |
AttachPositionLegs(req AttachPositionLegsRequest) (string, error) |
Attach/update/remove TP/SL legs on an open position (PATCH). |
| Method | Description |
|---|---|
CreateSmartOrderLimit(req CreateSmartOrderLimitRequest) (string, error) |
Create a smart limit order. |
CreateSmartOrderStep(req CreateSmartOrderStepRequest) (string, error) |
Create a smart step order. |
CreateSmartOrderSIP(req CreateSmartOrderSIPRequest) (string, error) |
Create a smart SIP order. |
CreateSmartOrderTrail(req CreateSmartOrderTrailRequest) (string, error) |
Create a smart trailing stop-loss order. |
ModifySmartOrder(req ModifySmartOrderRequest) (string, error) |
Modify an existing smart order (PATCH). |
CancelSmartOrder(req FlowIdRequest) (string, error) |
Cancel a smart order (DELETE). |
PauseSmartOrder(req FlowIdRequest) (string, error) |
Pause a smart order (PATCH). |
ResumeSmartOrder(req FlowIdRequest) (string, error) |
Resume a paused smart order (PATCH). |
GetSmartOrderBookWithFilter(req *GetSmartOrderBookFilter) (string, error) |
Smart order book with optional filters. Pass nil for no filters. |
| Method | Description |
|---|---|
GetHistory(req HistoryRequest) (string, error) |
OHLCV history (symbol, resolution, range). |
GetStockQuotes(symbols []string) (string, error) |
Quotes via GET; symbols go in the query string, so up to 50 symbols. |
GetStockQuotesV2(symbols []string) (string, error) |
Quotes via POST; symbols go in the request body, which allows many more symbols per request. |
GetMarketDepth(req MarketDepthRequest) (string, error) |
Market depth (symbol, ohlcv_flag). |
GetOptionChain(req OptionChainRequest) (string, error) |
Options chain. |
| Method | Description |
|---|---|
GetFuturesChain(req FuturesChainRequest) (string, error) |
Futures chain for an underlying symbol (e.g. NSE:NIFTY50-INDEX). |
GetExpiryDates(req ExpiryDatesRequest) (string, error) |
Expiry dates for an underlying symbol (expired FNO). |
GetHistoryUnderlyingSymbols(req HistoryUnderlyingSymbolsRequest) (string, error) |
Expired contract symbols for a given underlying and expiry date. |
GetFNOHistoricalData(req FNOHistoricalDataRequest) (string, error) |
OHLCV history for expired FNO contracts. Optional include_greeks / include_oi. |
| Method | Description |
|---|---|
ScreenersConfig() (string, error) |
Screener configuration (available universes, fields, candlestick patterns, technical indicators). |
ScreenersStandard(req *ScreenersStandard) (string, error) |
Standard screener. ScreenerId is required; Universe, Fields, OrderBy, Order, Timeframe, Expiry and OptionType are optional and only the ones listed in that screener's supported_params are accepted. Empty fields are not sent, so the server applies the screener's own defaults. |
ScreenersCandlestick(req *ScreenersCandlestick) (string, error) |
Candlestick pattern screener (ScreenerId only). |
ScreenersTechnical(req *ScreenersTechnical) (string, error) |
Technical indicator screener (ScreenerId only). |
| Method | Description |
|---|---|
GetMarketStatus() (string, error) |
Market status. |
| Method | Description |
|---|---|
GetAlerts() (string, error) |
List price alerts. |
CreateAlert(req AlertRequest) (string, error) |
Create alert. |
UpdateAlert(alertId string, req AlertRequest) (string, error) |
Update alert. |
DeleteAlert(alertId string) (string, error) |
Delete alert. |
ToggleAlert(alertId string) (string, error) |
Toggle alert. |
| Method | Description |
|---|---|
ActivateKillswitch() (string, error) |
Activate the kill switch (POST /killswitch/activate, empty {} body). |
GetKillswitchStatus() (string, error) |
Kill switch status, open positions and pending orders (GET /killswitch/status). |
β οΈ Activating the kill switch blocks trading on the account. Only callActivateKillswitchwhen you mean to.
Error handling. As with every other method in this SDK, an API-level error is not a Go error. The HTTP 400 "already active" response body is returned unchanged as the string, with err == nil. Check "s" in the JSON. err is non-nil only for transport failures (network, timeout, unreadable body).
fyModel := fyersgosdk.NewFyersModel(appId, accessToken)
// Activate (blocks trading on the account)
response, err := fyModel.ActivateKillswitch()
if err != nil {
fmt.Printf("Error activating kill switch: %v\n", err)
return
}
var result struct {
Code int `json:"code"`
Message string `json:"message"`
S string `json:"s"`
}
if err := json.Unmarshal([]byte(response), &result); err != nil {
fmt.Printf("Unexpected response: %s\n", response)
return
}
if result.S != "ok" {
fmt.Printf("Kill switch not activated (code %d): %s\n", result.Code, result.Message)
return
}
fmt.Println("Kill switch activated:", result.Message)
// Status
status, err := fyModel.GetKillswitchStatus()
if err != nil {
fmt.Printf("Error getting kill switch status: %v\n", err)
return
}
fmt.Println("Kill switch status:", status)Activate, success (HTTP 200):
{"code": 200, "message": "Client placed on Break. ", "s": "ok"}Activate, already active (HTTP 400):
{"code": 1500, "message": "Already on break, Please enjoy the break", "s": "error"}Status, not active:
{"s": "ok", "code": 200, "killswitch": false, "openPositions": 0, "pendingOrders": 0, "message": "Kill Switch is not activated."}Status, active:
{"s": "ok", "code": 200, "killswitch": true, "openPositions": 0, "pendingOrders": 0, "message": "Kill Switch is activated."}| Function | Description |
|---|---|
DataSocket(fyModel *FyersModel, req DataSocketRequest) (map[string]interface{}, error) |
Real-time data stream (quotes, depth). |
OrderSocket(fyClient *Client, req OrderSocketRequest) (map[string]interface{}, error) |
Real-time orders, trades, positions. |
Use DataSocket for live market data (quotes, depth) and OrderSocket for orders, trades, and positions. Both run until interrupt (e.g. Ctrl+C).
// Data WebSocket (symbols, lite/full mode)
var dataSocket *fyersws.FyersDataSocket
onConnect := func() {
dataSocket.Subscribe(symbols, datatype)
}
dataSocket = fyersws.NewFyersDataSocket(
accessToken, // Access token in the format "appid:accesstoken"
"", // Log path - leave empty to auto-create logs in the current directory
true, // Lite mode disabled. Set to true if you want a lite response
false, // Save response in a log file instead of printing it
true, // Enable auto-reconnection to WebSocket on disconnection
50, // reconnectRetry: max reconnect attempts (cap 50)
onConnect, // Callback: subscribe on every connect (first + after reconnect)
onClose, // Callback function to handle WebSocket connection close events
onError, // Callback function to handle WebSocket errors
onMessage, // Callback function to handle incoming messages from the WebSocket
)
err := dataSocket.Connect()
if err != nil {
fmt.Printf("failed to connect to Data Socket: %v", err)
return
}
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, syscall.SIGINT, syscall.SIGTERM)
<-sigChan
fmt.Println("\nReceived interrupt signal, closing connection...")
dataSocket.CloseConnection()
// Order WebSocket (trades, positions, orders)
orderSocket := fyersws.NewFyersOrderSocket(
accessToken, // Access token in the format "appid:accesstoken"
false, // Write to file - set to true if you want to save responses to a log file
"", // Log path - leave empty to auto-create logs in the current directory
onOrderTrades, // Callback function to handle trade events
onOrderPositions, // Callback function to handle position events
onOrderUpdates, // Callback function to handle order events
onOrderGeneral, // Callback function to handle general events
onOrderError, // Callback function to handle WebSocket errors
nil, // Callback function called when WebSocket connection is established
onOrderClose, // Callback function to handle WebSocket connection close events
true, // Enable auto-reconnection to WebSocket on disconnection
5, // Maximum number of reconnection attempts
)
// Establish a connection to the Fyers Order WebSocket
err := orderSocket.Connect()
if err != nil {
fmt.Printf("failed to connect to Order Socket: %v", err)
return
}
if len(tradeOperations) > 0 {
orderSocket.SubscribeMultiple(tradeOperations)
}
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, syscall.SIGINT, syscall.SIGTERM)
<-sigChan
fmt.Println("\nReceived interrupt signal, closing connection...")
orderSocket.CloseConnection()All runnable examples live in examples/fyers/fyers.go. Uncomment the main() you need and run from that directory. The file includes:
- Get Auth Code URL β
SetClientData,GetLoginURL - Generate Access Token β
GenerateAccessToken - Generate Access Token From Refresh Token β
GenerateAccessTokenFromRefreshToken
- Get Profile β
GetProfile - Get Funds β
GetFunds - Get Holdings β
GetHoldings - Logout β
Logout
- All Trades β
GetTradeBook - Trade Book by Tag β
GetTradeBookByTag - Get Order Book β
GetOrderBook - Get Order Book by Tag β
GetOrderBookByTag - Get Positions β
GetPositions
- Order History β
OrderHistory - Trade History β
TradeHistory - Charges History β
ChargesHistory - Realised Profit β
RealisedProfit - Tax P&L History β
TaxPnLHistory - Ledger History β
LedgerHistory
- Single Order Placement β
SingleOrderAction(supportstakeProfit/stopLoss/legTypeoffsets) - Multi Order Placement β
MultiOrderAction - MultiLeg Order β
MultiLegOrderAction - Modify Orders β
ModifyOrder(update TP/SL via float fields; clear withClearTakeProfit/ClearStopLoss) - Modify Multi Orders β
ModifyMutliOrder - Cancel Order β
CancelOrder - Multi Cancel Order β
CancelMutliOrder
- GTT Single β
GTTSingleOrderAction - GTT OCO β
GTTMultiOrderAction - GTT Modify β
ModifyGTTOrder - GTT Cancel / CancelGTT β
CancelGTTOrder - GTT Get Order Book β
GetGTTOrderBook
- Smart Limit β
CreateSmartOrderLimit - Smart Step β
CreateSmartOrderStep - Smart SIP β
CreateSmartOrderSIP - Smart Trail β
CreateSmartOrderTrail - Modify Smart Order β
ModifySmartOrder - Cancel Smart Order β
CancelSmartOrder - Pause Smart Order β
PauseSmartOrder - Resume Smart Order β
ResumeSmartOrder - Smart Order Book β
GetSmartOrderBookWithFilter
- Exit Order β
ExitPosition - Exit Position By Id β
ExitPositionById - Exit Position by Tag β
ExitPositionByProductType - Pending Order Cancel β
CancelPendingOrders - Convert Position β
ConvertPosition - Attach Position TP/SL Legs β
AttachPositionLegs
- Create Price Alert β
CreateAlert - Get Price Alerts β
GetAlerts - Modify Price Alert β
UpdateAlert - Delete Price Alert β
DeleteAlert - Enable/Disable Price Alert β
ToggleAlert
- Activate Kill Switch β
ActivateKillswitch - Kill Switch Status β
GetKillswitchStatus
- Market Status β
GetMarketStatus - Quotes β
GetStockQuotes(GET),GetStockQuotesV2(POST) - Market depth β
GetMarketDepth - Option Chain β
GetOptionChain - Get History β
GetHistory
- Futures Chain β
GetFuturesChain - Expiry Dates (Expired FNO) β
GetExpiryDates - Underlying Symbols (Expired FNO) β
GetHistoryUnderlyingSymbols - FNO Historical Data (Expired) β
GetFNOHistoricalData
- Screeners Config β
ScreenersConfig - Screeners Standard β
ScreenersStandard - Screeners Candlestick β
ScreenersCandlestick - Screeners Technical β
ScreenersTechnical