Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

PositionsOverview

Usable in an seer event object

This function returns an overview of all positions within the system. Nine values are returned as a list:

1) The total number of positions.
2) The total number of long positions
3) The total number of short positions
4) The total value of all positions
5) The total value of all long positions
6) The total value of all short positions
7) The total profit/loss of all positions
8) The total profit/loss of all long positions
9) The total profit/loss of all short positions

Example:

my ($totalPositions,$longPositions,$shortPositions
   ,$totalValue,$longValue,$shortValue
   ,$totalProfitLoss,$longProfitLoss,$shortProfitLoss) = PositionsOverview;

Related functions:

Position , NoPosition , LongPosition , ShortPosition , NumOfPositions , PositionType , PositionValue , PositionQuantity , MaxPriceSinceEntry , MinPriceSinceEntry , MaxClosePriceSinceEntry , MinClosePriceSinceEntry , BarsSinceEntry , OpenProfit , EnterPrice , EnterDate , AccPosition , AccNoPosition , AccLongPosition , AccShortPosition , AccNumOfPositions , AccPositionType , Positions , AccPositions , Contracts , Units , Shares , SystemOpenProfit , AccountOpenProfit , PositionOrderOverview , PositionsOrdersOverview , AccPositionsOverview , AccPositionsOrdersOverview

© 2011 seer trading systems ltd
feedback FAQ legal privacy