We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting the below error message when trying to place order. Do anyone faced similar issue earlier and how to fix this issue.
{'status': 'error', 'message': ' is not supported in NFO segment.', 'data': {}}
Below is the script I used to place the order.
sas.place_order(transaction_type = 'BUY', instrument = sas.get_instrument_for_fno(symbol='NIFTY', expiry_date=datetime.date(int(2022),int(2),int(24)), is_fut=False,strike=17400,is_call=False), quantity = 50, order_type = 'LIMIT', product_type = 'D', price = 420.0, trigger_price = None, stop_loss = None, square_off = None, trailing_sl = None, is_amo = False)
@algo2t
The text was updated successfully, but these errors were encountered:
Are you trying to buy PE (put) ? Have you tried to change the product_type to different options like M for Margin
Sorry, something went wrong.
Got below exception while placing sell order : sas.place_order( transaction_type = 'Sell', instrument = n_call, quantity = quantity, order_type = 'StopLossLimit', product_type = 'D', price = entry_price, trigger_price = limit_price, stop_loss = None, square_off = None, trailing_sl = None, is_amo = False)
'str' object has no attribute 'value' Any idea how to resolve this ??
No branches or pull requests
I am getting the below error message when trying to place order. Do anyone faced similar issue earlier and how to fix this issue.
{'status': 'error', 'message': ' is not supported in NFO segment.', 'data': {}}
Below is the script I used to place the order.
sas.place_order(transaction_type = 'BUY',
instrument = sas.get_instrument_for_fno(symbol='NIFTY',
expiry_date=datetime.date(int(2022),int(2),int(24)),
is_fut=False,strike=17400,is_call=False),
quantity = 50,
order_type = 'LIMIT',
product_type = 'D',
price = 420.0,
trigger_price = None,
stop_loss = None,
square_off = None,
trailing_sl = None,
is_amo = False)
@algo2t
The text was updated successfully, but these errors were encountered: