Token
-
@admin i am not able to take position try to resolve my query market is running out of time
-
Hi @rishi6310 send us your req and response.
-
Hi @rishi6310 You can go through below piece of code
https://smartapi.angelbroking.com/topic/1194/basic-smartapi-integration-using-pythonThere are self explanatory codes available here.
-
@admin C:\Users\rishi\PycharmProjects\pythonProjectnew\venv\Scripts\python.exe C:/Users/rishi/PycharmProjects/pythonProjectnew/trading.py
Process finished with exit code 0
Unresolved reference 'obj' line 25 in this line (orderId=obj.placeOrder(orderparams)
this is my piece of code
from smartapi import SmartConnect
from smartapi import SmartWebSocket
import login as lfeedToken=l.feed_token
def place_order():
try:
orderparams = {
"variety": "NORMAL",
"tradingsymbol": "ITC",
"symboltoken": "1660",
"transactiontype": "buy",
"exchange": "NSE-EQ",
"ordertype": "MARKET",
"producttype": "CARRYFORWARD",
"duration": "DAY",
"price": "0",
"squareoff": "0",
"stoploss": "0",
"quantity": 1
}
orderId=obj.placeOrder(orderparams)
print("The order id is: {}".format(orderId))
except Exception as e:
print("Order placement failed: {}".format(e.message)) -
@admin i am trying to create gui in tkinter for buying and selling of stocks but not able to link with orderparam with def function but it generate new session everytime when code run and not able to place order with that
-
@rishi6310 said in Token:
admin i am trying to create gui in tkinter for buying and selling of stocks but not able to link with orderparam with def function but it generate new session everytime when code run and not able to place order with that
As this is a user specific requirement you need to connect with your own software team.
-
@admin take remote access and try to solve my problem and please tell me how to contact with your software team
-
@admin market is running out kindly try to solve my query or provide a way to solve it
-
-
@admin i don't any software team i am an individual trader that's why i ask for help
-
@admin plz respond to query