☰
Login
Signup
Home
›
.Net API client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.2K
All Categories
0
Incidents
126
Node JS client
36
Go client
765
.Net API client
360
Kite Publisher
532
.Net / VBA / Excel (3rd party)
433
Algorithms and Strategies
964
Java client
1K
API clients
400
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.1K
General
In this Discussion
August 2018
arjunender
August 2018
sujith
Error while placing cover order
arjunender
August 2018
in
.Net API client
Hi,
Receiving Invalid `api_key` or `access_token if placing order with variety : CO or BO
Dictionary response = kite.PlaceOrder(
Exchange: "NSE",
TradingSymbol: "ACC",
TransactionType: "BUY",
Quantity: 1,
Price: 1520.0m,
Product: "MIS",
OrderType: "LIMIT",
TriggerPrice: 1580.5m,
Variety: "CO"
);
If i remove variety then order is placed successfully.
Thanks
sujith
August 2018
The variety is lowercase co for cover order and lowercase bo for bracket order.
Can you try and paste the complete stacktrace here?
sujith
August 2018
Make sure you enable debug logs.
arjunender
August 2018
thanks sujith, working
This discussion has been closed.
Can you try and paste the complete stacktrace here?