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

Zerodha Algo Trading Python, How to connect to kiteconnect?

How to Place Order in Zerodha using Python

Create Option Chain using PYTHON.