☰
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.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
December 2020
pavni
December 2020
rakeshr
Can't place market order.
pavni
December 2020
in
Python client
I am trying to place market order ot MCX SILVERM21FEBFUT but it's placing LIMIT order.
Code is as below:
kite.place_order(tradingsymbol="SILVERM21FEBFUT",
exchange=kite.EXCHANGE_MCX,
transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=2,
order_type=kite.ORDER_TYPE_MARKET,
product=kite.PRODUCT_NRML,
variety=kite.VARIETY_REGULAR)
response to this code is as below:
{'placed_by': hashed,
'order_id': hashed,
'exchange_order_id': hashed,
'parent_order_id': None,
'status': 'COMPLETE',
'status_message': None,
'status_message_raw': None,
'order_timestamp': datetime.datetime(2020, 12, 28, 13, 30, 4),
'exchange_update_timestamp': '2020-12-28 13:30:04',
'exchange_timestamp': datetime.datetime(2020, 12, 28, 13, 30, 4),
'variety': 'regular',
'exchange': 'MCX',
'tradingsymbol': 'SILVERM21FEBFUT',
'instrument_token': 56064519,
'order_type': 'LIMIT',
'transaction_type': 'SELL',
'validity': 'DAY',
'product': 'NRML',
'quantity': 2,
'disclosed_quantity': 0,
'price': 68857,
'trigger_price': 0,
'average_price': 68857,
'filled_quantity': 2,
'pending_quantity': 0,
'cancelled_quantity': 0,
'market_protection': 0,
'meta': {},
'tag': None,
'guid': '26261X5z3dWuIQTRwy'}
I need to place market order. Kindly help
Tagged:
python
kiteconnect
placeorder
market order
rakeshr
December 2020
@pavni
Has the contract hit the circuit limit? You can go through
this thread
.
pavni
December 2020
edited December 2020
@rakeshr
No, I was trading in silver. It hasn't hit upper or lower circuit.
The instrument token is 56064519.
Sign In
or
Register
to comment.
Has the contract hit the circuit limit? You can go through this thread.
No, I was trading in silver. It hasn't hit upper or lower circuit.
The instrument token is 56064519.