/**
  * Retrieves your currently Open and Partially Filled orders.
  * @param string $primaryCurrencyCode The primary currency of orders.
  * @param string $secondaryCurrencyCode The secondary currency of orders.
  * @return OpenOrder[]
  */
 public function getOpenOrders($primaryCurrencyCode, $secondaryCurrencyCode)
 {
     return new PagedIterator($this, 'GetOpenOrders', ['primaryCurrencyCode' => $primaryCurrencyCode, 'secondaryCurrencyCode' => $secondaryCurrencyCode, 'pageSize' => 25], function (stdClass $object) {
         return OpenOrder::createFromObject($object);
     });
 }
 public function testFactorySetsVolume()
 {
     $this->assert($this->order->getVolume(), equals, 21.45621);
 }