/** * Retrieves your Closed orders which have had some or all of their outstanding volume filled. * @param string $primaryCurrencyCode The primary currency of orders. * @param string $secondaryCurrencyCode The secondary currency of orders. * @return ClosedOrder[] */ public function getClosedFilledOrders($primaryCurrencyCode, $secondaryCurrencyCode) { return new PagedIterator($this, 'GetClosedFilledOrders', ['primaryCurrencyCode' => $primaryCurrencyCode, 'secondaryCurrencyCode' => $secondaryCurrencyCode, 'pageSize' => 25], function (stdClass $object) { return ClosedOrder::createFromObject($object); }); }
public function testFactorySetsVolume() { $this->assert($this->order->getVolume(), equals, 0.025); }