For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

Unrealised Return and Days Held in Next?



  • Hi,

    Is it possible to get Days Held and Unrealised return in Next for stocks which have non-zero positions?

    Thanks!


  • administrators

    You can get the unrealized profit and loss by using the commission scheme which corresponds to the given asset.

    As for the length, you can record the length at which it was executed and compare it against the actual length of the data (that will give you natural days, for trading days, you will need to apply a trading calendar)


Log in to reply
 

});