☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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?