Beispiel #1
0
 public IBookParty GetPositionParty(IBookIndex element)
 {
     if (__positionNode == true)
     {
         return(element.GetNewPositionParty(element.Code(), element.CodeOrder()));
     }
     return(null);
 }
Beispiel #2
0
 public IBookParty GetNextTargetParty(IBookIndex lastIndex)
 {
     if (__positionNode == false && __contractNode == true)
     {
         return(lastIndex.GetNewContractParty(lastIndex.Code(), lastIndex.CodeOrder()));
     }
     else if (__positionNode == true)
     {
         return(lastIndex.GetNewPositionParty(lastIndex.Code(), lastIndex.CodeOrder()));
     }
     return(lastIndex.GetParty());
 }