☰
Login
Signup
Home
›
Python 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)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
March 2018
sujith
March 2018
abhivin123
Last_Price = 0 In Fetch Positions
abhivin123
March 2018
in
Python client
Hey Guys,
I am sure you are busy with the new roll out. But when you get a breather ... can you please check on ...
positions = kite.positions();
{
"net": [
{
"last_price": 0,
"tradingsymbol": "SBIN18MAR220PE",
"sell_quantity": 12000,
"buy_value": 0.0,
"unrealised": 9600.0,
"buy_price": 0,
"sell_price": 0.8,
"m2m": 8400.0,
"instrument_token": 26347010,
"net_sell_amount_m2m": 0,
"buy_quantity": 0,
"product": "MIS",
"overnight_quantity": -12000,
"exchange": "NFO",
"sell_value": 9600.0,
"buy_m2m": 0.0,
"net_buy_amount_m2m": 0,
"pnl": 9600.0,
"multiplier": 1,
"average_price": 0.8,
"value": 9600.0,
"sell_m2m": 8400.0,
"close_price": 0.7,
"quantity": -12000,
"realised": 0
},
last_price is not flowing in ...
Tagged:
Python Client
LAST price
abhivin123
March 2018
BTW ... I am using python client ...
abhivin123
March 2018
@sujith
any insight mate ...
sujith
March 2018
Can you let us know what is the version of Kite Connect API you are using?
abhivin123
March 2018
Ok. Yeah ... My bad. I thought I have upgraded successfully ... but there was some egg library stuff ... Anyhow ... have resolved and getting last price now. Thnx.
This discussion has been closed.