Algo Trading. How to place Orders? Fyers

How to place order ? Fyers, Python 

def buyOrder(event):

    data = {

      "symbol":"NSE:"+event.widget["text"],

      "qty":int(qty.get()),

      "type":2,

      "side":1,

      "productType":"INTRADAY",

      "limitPrice":0,

      "stopPrice":0,

      "validity":"DAY",

      "disclosedQty":0,

      "offlineOrder":"False",

      "stopLoss":0,

      "takeProfit":0

    }

    fyers.place_order(data)

Please watch the video below for more information!



Comments

Popular posts from this blog

Create Option Chain using PYTHON.

How to Place Order in Zerodha using Python

How to place order in zerodha when RSI crosses below 30? Algo Trading Python