Algo Trading. How to display position and exit orders , Fyers, python?

Display trade position in python 

def positions():

    pos=fyers.positions()

    strikeName.delete(0,"end")

    strikeName.insert(0,pos["netPositions"][0]["symbol"])

    filledQty.delete(0,"end")

    filledQty.insert(0,pos["netPositions"][0]["qty"])

    avgPrice.delete(0,"end")

    avgPrice.insert(0,pos["netPositions"][0]["avgPrice"])




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