private function getNonceOld()
    {
        try {
            $dir = storage_path('exchange/yobit/');
            if(!file_exists($dir)) {
                mkdir($dir, '0777', true);
            }

            $file = $dir . 'nonce.txt';

            $nonce = (int) file_get_contents($file);
            if(empty($nonce)) {
                $nonce = floor(microtime(true));
            }

            $newNonce = $nonce+1;
            file_put_contents($file, $newNonce);

            return $nonce;
        } catch(\Exception $e) {
            Log::critical($e);

            if(config('app.debug')) {
                throw $e;
            }
        }
    }