@sujith
i have tested a fix locally and created a pull request.
https://github.com/zerodhatech/dotnetkiteconnect/pull/19
your team review and merge it.
my guess is, conversion of m2m/unrealized fields in Position.ctor
https://github.com/zerodhatech/dotnetkiteconnect/blob/a06a0cba2dd8700baaa07c52ba2d26da41565399/KiteConnect/Structures.cs#L280
is failing and throwing exception.
i might be wrong th…
Hey @sujith this is blokcing my strategy from going live.
can you quickly take a look ?
this is the library version i am using.
Tech.Zerodha.KiteConnect.3.0.3.1
the base error message is
"Cannot implicitly convert type 'double' to 'decimal'. An e…
sorry, it happens with other stocks too. (ex: IOC).
looks like a typecast exception in my case.
full stack is
Feb-05 12:45:00 Zerodha : GetAllPositions => KiteConnect.DataException: Unable to parse data. {"tradingsymbol":"IOC","exchange":"NSE","…
Dear zerodha team,
I appreciate your lightning fast turn around time,
I really really appreciate zerodha's long term goal of making the trading platform a little more tech savvy by opening up APIs. But I am appalled with the execution model
It is …
Here you go.
//buy order
Map params = new HashMap() {
{
put("quantity", String.valueOf(tradeInput.per_order_quantity));
put("order_type", "LIMIT");
put("tradingsymbol", tradeInput.symbol);
put("product", tradeIn…
@sujith @Kailash I have tried the above said instructions,
But getting an error while placing a SELL order after my BUY/MIS is successful.
"Invalid order_type"
the params i used are
LMT/BUY/DAY for buy
LMT/SELL/DAY for sell
Can you let me know …
@Kailash can you elaborate on what you mean by "check it against holdings/positions before you fire the order."
Does this mean,
If I have BUY-MIS order in COMPLETE state, the
next SELL-MIS order is treated as opposite SELL order automatically, othe…