private function getDateBalanceClose($typeId)
    {
        $req = new ARequestLastDate();
        $req->setAssetTypeId($typeId);
        /** @var AResponseLastDate $resp */
        $resp = $this->servLastDate->exec($req);
        $result = $resp->getLastDate();
        return $result;
    }
private function getDateBalanceClose($typeId)
    {
        $req = new ARequestLastDate();
        $req->setAssetTypeId($typeId);
        /** @var AResponseLastDate $resp */
        $resp = $this->servLastDate->exec($req);
        $result = $resp->getLastDate();
        return $result;
    }
private function getDateBalanceClose ( $ typeId ) { $ req = new ARequestLastDate ( ) ; $ req -> setAssetTypeId ( $ typeId ) ; /** @var AResponseLastDate $resp */ $ resp = $ this -> servLastDate -> exec ( $ req ) ; $ result = $ resp -> getLastDate ( ) ; return $ result ; }
Get datestamp for the last day of available balances.

@param int $typeId asset type
@return string YYYYMMDD
@throws \Exception
Get datestamp for the last day of available balances .