<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael Ogunbiyi on Medium]]></title>
        <description><![CDATA[Stories by Michael Ogunbiyi on Medium]]></description>
        <link>https://medium.com/@michaelogunbiyi?source=rss-7195aef6b5e8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BR6lAD7cGpyv_1EZ.</url>
            <title>Stories by Michael Ogunbiyi on Medium</title>
            <link>https://medium.com/@michaelogunbiyi?source=rss-7195aef6b5e8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 10:05:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelogunbiyi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[i appear to be having issues with retrieving data from Poloniex.com]]></title>
            <link>https://medium.com/@michaelogunbiyi/i-appear-to-be-having-issues-with-retrieving-data-from-poloniex-com-492ed88f553c?source=rss-7195aef6b5e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/492ed88f553c</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Michael Ogunbiyi]]></dc:creator>
            <pubDate>Thu, 02 Nov 2017 15:55:59 GMT</pubDate>
            <atom:updated>2017-11-02T15:55:59.690Z</atom:updated>
            <content:encoded><![CDATA[<p>i appear to be having issues with retrieving data from Poloniex.com using Anaconda and jupyter notes.</p><p>i have copied the code into Jupyter note as follows:</p><p>In [1]:</p><pre><strong>def</strong> CryptoDataCSV(symbol, frequency):</pre><pre>​</pre><pre><em>#Params: String symbol, int frequency = 300,900,1800,7200,14400,86400</em></pre><pre>​</pre><pre><em>#Returns: df from first available date</em></pre><pre>​</pre><pre>url =&#39;https://poloniex.com/public?command=returnChartData&amp;currencyPair=&#39;<strong>+</strong>symbol<strong>+</strong>&#39;&amp;end=9999999999&amp;period=&#39;<strong>+</strong>str(frequency)<strong>+</strong>&#39;&amp;start=0&#39;</pre><pre>​</pre><pre>df = pd.read_json(url)</pre><pre>​</pre><pre>df.set_index(&#39;date&#39;,inplace=<strong>True</strong>)</pre><pre>​</pre><pre>df.to_csv(symbol <strong>+</strong> &#39;.csv&#39;)</pre><pre>​</pre><pre>print(&#39;Processed: &#39; <strong>+</strong> symbol)</pre><p>In [2]:</p><pre><strong>import</strong> pandas <strong>as</strong> pd</pre><pre><strong>import</strong> matplotlib.pyplot <strong>as</strong> plt</pre><pre><strong>%</strong>matplotlib inline</pre><p>In [3]:</p><pre>tickers = [&#39;USDT_BTC&#39;,&#39;USDT_ETC&#39;,&#39;USDT_XMR&#39;,&#39;USDT_ETH&#39;,&#39;USDT_DASH&#39;,</pre><pre>&#39;USDT_XRP&#39;,&#39;USDT_LTC&#39;,&#39;USDT_NXT&#39;,&#39;USDT_STR&#39;,&#39;USDT_REP&#39;,&#39;USDT_ZEC&#39;]</pre><p>In [4]:</p><pre>crypto_df = pd.DataFrame()</pre><pre><strong>for</strong> ticker <strong>in</strong> tickers:</pre><pre>crypto_df[ticker] = pd.read_csv(ticker<strong>+</strong>&#39;.csv&#39;, index_col = &#39;date&#39;)[&#39;close&#39;]</pre><pre>crypto_df.dropna(inplace=<strong>True</strong>)</pre><pre><strong>---------------------------------------------------------------------------</strong><br><strong>FileNotFoundError</strong>                         Traceback (most recent call last)<br><strong>&lt;ipython-input-4-b59f4116fa1a&gt;</strong> in &lt;module&gt;<strong>()</strong><br>      1 crypto_df <strong>=</strong> pd<strong>.</strong>DataFrame<strong>()</strong><br>      2 <strong>for</strong> ticker <strong>in</strong> tickers<strong>:</strong><br><strong>----&gt; 3     </strong>crypto_df<strong>[</strong>ticker<strong>]</strong> <strong>=</strong> pd<strong>.</strong>read_csv<strong>(</strong>ticker<strong>+&#39;.csv&#39;,</strong> index_col <strong>=</strong> <strong>&#39;date&#39;)[&#39;close&#39;]</strong><br>      4 crypto_df<strong>.</strong>dropna<strong>(</strong>inplace<strong>=True)</strong></pre><pre><strong>~\Anaconda3\lib\site-packages\pandas\io\parsers.py</strong> in parser_f<strong>(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)</strong><br>    653                     skip_blank_lines=skip_blank_lines)<br>    654 <br><strong>--&gt; 655         return</strong> _read<strong>(</strong>filepath_or_buffer<strong>,</strong> kwds<strong>)</strong><br>    656 <br>    657     parser_f<strong>.</strong>__name__ <strong>=</strong> name</pre><pre><strong>~\Anaconda3\lib\site-packages\pandas\io\parsers.py</strong> in _read<strong>(filepath_or_buffer, kwds)</strong><br>    403 <br>    404     <strong># Create the parser.</strong><br><strong>--&gt; 405     </strong>parser <strong>=</strong> TextFileReader<strong>(</strong>filepath_or_buffer<strong>,</strong> <strong>**</strong>kwds<strong>)</strong><br>    406 <br>    407     <strong>if</strong> chunksize <strong>or</strong> iterator<strong>:</strong></pre><pre><strong>~\Anaconda3\lib\site-packages\pandas\io\parsers.py</strong> in __init__<strong>(self, f, engine, **kwds)</strong><br>    762             self<strong>.</strong>options<strong>[&#39;has_index_names&#39;]</strong> <strong>=</strong> kwds<strong>[&#39;has_index_names&#39;]</strong><br>    763 <br><strong>--&gt; 764         </strong>self<strong>.</strong>_make_engine<strong>(</strong>self<strong>.</strong>engine<strong>)</strong><br>    765 <br>    766     <strong>def</strong> close<strong>(</strong>self<strong>):</strong></pre><pre><strong>~\Anaconda3\lib\site-packages\pandas\io\parsers.py</strong> in _make_engine<strong>(self, engine)</strong><br>    983     <strong>def</strong> _make_engine<strong>(</strong>self<strong>,</strong> engine<strong>=&#39;c&#39;):</strong><br>    984         <strong>if</strong> engine <strong>==</strong> <strong>&#39;c&#39;:</strong><br><strong>--&gt; 985             </strong>self<strong>.</strong>_engine <strong>=</strong> CParserWrapper<strong>(</strong>self<strong>.</strong>f<strong>,</strong> <strong>**</strong>self<strong>.</strong>options<strong>)</strong><br>    986         <strong>else:</strong><br>    987             <strong>if</strong> engine <strong>==</strong> <strong>&#39;python&#39;:</strong></pre><pre><strong>~\Anaconda3\lib\site-packages\pandas\io\parsers.py</strong> in __init__<strong>(self, src, **kwds)</strong><br>   1603         kwds<strong>[&#39;allow_leading_cols&#39;]</strong> <strong>=</strong> self<strong>.</strong>index_col <strong>is</strong> <strong>not</strong> <strong>False</strong><br>   1604 <br><strong>-&gt; 1605         </strong>self<strong>.</strong>_reader <strong>=</strong> parsers<strong>.</strong>TextReader<strong>(</strong>src<strong>,</strong> <strong>**</strong>kwds<strong>)</strong><br>   1606 <br>   1607         <strong># XXX</strong></pre><pre><strong>pandas/_libs/parsers.pyx</strong> in pandas._libs.parsers.TextReader.__cinit__ (pandas\_libs\parsers.c:4209)<strong>()</strong></pre><pre><strong>pandas/_libs/parsers.pyx</strong> in pandas._libs.parsers.TextReader._setup_parser_source (pandas\_libs\parsers.c:8873)<strong>()</strong></pre><pre><strong>FileNotFoundError</strong>: File b&#39;USDT_BTC.csv&#39; does not exist</pre><p>I GET THE ABOVE ERROR. BASICALLY NOTHING HAPPENS!</p><p>i would appreciate help. My aim is to use this to download data for top 50 currencies to run in a forecasting and risk analysis model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=492ed88f553c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>