wrong realized value


  • @admin
    @administrators
    @angelbroking

    Today My algo has taken position around 12:36:03 noon

    i am using smartapi python

    but the function
    apos = obj.position()

    was showing some irrelevant realised': and 'unrealised': values

    what went wrong ?

    why it was showing some - 536 or so as realised value instead of +422 in my first trade ?

    I did a trade before 12:36 in nifty future
    my todays first trade was :
    buy at 15763.1
    sell at 15771.55
    15771.55 - 15763.1 = 8.45

    8.45 x 50 = 422.5

    so 'realised': would have 422.5 instead of -536

    it was showing wrong ?

    what went wrong from your server side ???