It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
I cannot place my order for crude oil . Is there a proble in my code or Is order placing for CRUDEOIL not provided ?
* Not a funds problem
the syntax is good , don't know why it posted that way
Whenever you post a query,you should post the error stacktrace, otherwise,how can anyone correctly identify the problem??
However,first of all,your function name is limit_order but you are calling CNC_limit_order.
Second,you are sending variety in upper-case,which should be small-case .
sorry , the cnc_limit function , i did not edit it correctly . I removed the order code from the function and executed it separately . It worked , Don't know why the same code does not work when used in a funtion.
Beacuse you have a pass statement in the except block.
KiteConnect was throwing exception because of invalid variety(upper-case),but the program just ignored it.