☰
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
14.4K
All Categories
0
Incidents
167
Node JS client
47
Go client
815
.Net API client
392
Kite Publisher
539
.Net / VBA / Excel (3rd party)
474
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
355
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.5K
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?