<?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 Ruben García  on Medium]]></title>
        <description><![CDATA[Stories by Ruben García  on Medium]]></description>
        <link>https://medium.com/@rubengarciaolivas?source=rss-84ff65e6d183------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k8ecPK9_Ftij1MuFnfyvLQ.jpeg</url>
            <title>Stories by Ruben García  on Medium</title>
            <link>https://medium.com/@rubengarciaolivas?source=rss-84ff65e6d183------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:40:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rubengarciaolivas/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[Top 7 Best Practices to Improve Performance in Power BI and DAX]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/top-7-best-practices-to-improve-performance-in-power-bi-and-dax-2d36667e88c2?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/2600/1*Ead6dTVlu3y4-feInxewtA.jpeg" width="5870"></a></p><p class="medium-feed-snippet">Power BI has revolutionized the way organizations visualize and analyze data. But with large datasets and complex reports, performance&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/top-7-best-practices-to-improve-performance-in-power-bi-and-dax-2d36667e88c2?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/top-7-best-practices-to-improve-performance-in-power-bi-and-dax-2d36667e88c2?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d36667e88c2</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[dax]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Tue, 15 Jul 2025 08:51:03 GMT</pubDate>
            <atom:updated>2025-07-15T08:51:03.855Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Top 10 Synthetic Data Generators to Supercharge Your ML Models in 2025]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/top-10-synthetic-data-generators-to-supercharge-your-ml-models-in-2025-e2a7caedf335?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/2600/1*6mciMqOakIbkXRRXbi8SFg.jpeg" width="7680"></a></p><p class="medium-feed-snippet">Discover the most powerful synthetic data generators for training machine learning models in 2025.</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/top-10-synthetic-data-generators-to-supercharge-your-ml-models-in-2025-e2a7caedf335?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/top-10-synthetic-data-generators-to-supercharge-your-ml-models-in-2025-e2a7caedf335?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2a7caedf335</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-scientist]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-analyst]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 09:14:52 GMT</pubDate>
            <atom:updated>2025-07-02T09:14:52.057Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Data Lake vs Data Warehouse vs Data Mart: A Practical Guide to Modern Data Architectures]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/data-lake-vs-data-warehouse-vs-data-mart-a-practical-guide-to-modern-data-architectures-cf22b7935eb3?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/2600/1*qBX6BOWJq4MjSH3l6CwQfA.jpeg" width="3840"></a></p><p class="medium-feed-snippet">Discover the key differences between data lake, data warehouse, and data mart in this practical guide. Learn when and why to use each&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/data-lake-vs-data-warehouse-vs-data-mart-a-practical-guide-to-modern-data-architectures-cf22b7935eb3?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/data-lake-vs-data-warehouse-vs-data-mart-a-practical-guide-to-modern-data-architectures-cf22b7935eb3?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf22b7935eb3</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[storage]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Tue, 01 Jul 2025 12:18:53 GMT</pubDate>
            <atom:updated>2025-07-01T12:18:53.581Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Comprehensive Guide to End-to-End Data Pipeline with PostgreSQL and Power BI]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/comprehensive-guide-to-end-to-end-data-pipeline-with-postgresql-and-power-bi-7a9d77c04291?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/1914/1*sQlmlnfMcCAKbwCQI8fyuQ.png" width="1914"></a></p><p class="medium-feed-snippet">Today, we&#x2019;ll walk you through installing PostgreSQL on your local device, creating a database, and populating it using an API connection&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/comprehensive-guide-to-end-to-end-data-pipeline-with-postgresql-and-power-bi-7a9d77c04291?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/comprehensive-guide-to-end-to-end-data-pipeline-with-postgresql-and-power-bi-7a9d77c04291?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a9d77c04291</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 13:01:28 GMT</pubDate>
            <atom:updated>2025-01-08T13:01:28.470Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Time Series Forecasting: Analyzing Trends and Predictions with Skforecast (II)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-and-predictions-with-skforecast-ii-7a59e4f6999c?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/2600/1*Y5oxxZC9Tq2KTsEsnLmFOA.jpeg" width="3992"></a></p><p class="medium-feed-snippet">Mastering Time Series Forecasting with Skforecast: Model Training, Hyperparameter Tuning, and Accurate Predictions</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-and-predictions-with-skforecast-ii-7a59e4f6999c?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-and-predictions-with-skforecast-ii-7a59e4f6999c?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a59e4f6999c</guid>
            <category><![CDATA[model-training]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[time-series-forecasting]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[forecast]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Tue, 24 Dec 2024 11:23:28 GMT</pubDate>
            <atom:updated>2024-12-24T12:49:48.801Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Time Series Forecasting: Analyzing Trends (I)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-i-ee4eda632309?source=rss-84ff65e6d183------2"><img src="https://cdn-images-1.medium.com/max/2600/1*ARhXhnyNkbEFTivvwgFPMw.jpeg" width="5120"></a></p><p class="medium-feed-snippet">Explore time series analysis, addressing statistical assumptions for robust insights and forecasting.</p><p class="medium-feed-link"><a href="https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-i-ee4eda632309?source=rss-84ff65e6d183------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@rubengarciaolivas/time-series-forecasting-analyzing-trends-i-ee4eda632309?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee4eda632309</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[time-series-forecasting]]></category>
            <category><![CDATA[time-series-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Fri, 10 May 2024 11:18:33 GMT</pubDate>
            <atom:updated>2024-09-17T21:03:52.946Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Crypto Trading Bot in Python: Automating your trading strategy]]></title>
            <link>https://medium.com/@rubengarciaolivas/crypto-trading-bot-in-python-automating-your-trading-strategy-3ebc7ff792dc?source=rss-84ff65e6d183------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ebc7ff792dc</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[investment]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Ruben García ]]></dc:creator>
            <pubDate>Thu, 28 Dec 2023 14:35:20 GMT</pubDate>
            <atom:updated>2023-12-28T14:35:20.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63PyIgtOCRiK9Qr42soXSg.jpeg" /></figure><p>A few years ago, crypto market experienced a substantial increase in its portfolio values and reached daily transactions levels we had never seen before. Nowadays, FOMO has decreased but the amount of daily BTC volume (USD) still remains high, with over $16.33B traded daily in Binance for all pairs.</p><p>In this context, trading bots can be excellent choices for individuals seeking to automate their trades, allowing them to focus solely on defining their strategy. The primary question now is: ‘How will we do it?’</p><h4>Methodology</h4><p>Today I’m going to show you how to establish an API connection with your exchange account, enabling us to make both POST and GET requests to the service and defining signals based on a strategy. These signals trigger specific POST requests, automating interactions with the server and optimizing API functionality in Python. For this example, we have chosen Binance as our exchange due to its user-friendly API and well-documented features.</p><p>Before we start, is important to ensure your Binance account is fully set up and configured for Spot orders. If you haven’t done so already, sign up for an account and generate a personal API Key, which we’ll use shortly.</p><p>Once everything is in place, we will define our main Python class responsible for managing and constructing the final URL for our requests.</p><p><a href="https://binance-docs.github.io/apidocs/spot/en">Binance API Documentation</a></p><h4>Steps</h4><p>At first, is important to store your API Key and your Secret Key that you have generated into a JSON file.</p><p><strong><em>Step 1:</em></strong></p><p>Now, let’s define our class and its constructor. The aim in this step is to securely store our credentials in variables and establish our ‘Base URL’.</p><pre>class Client:<br><br>    &#39;&#39;&#39;<br>    Define all the necessary functions to be able to generate the requests<br>    &#39;&#39;&#39;<br><br>    def __init__(self):<br><br><br>        self.__path = &quot;../../api_binance.json&quot; #path to your credentials file<br>        self.URL = &quot;https://api.binance.com&quot;<br><br>        if self.__path is not None:<br>            with open(self.__path, &#39;r&#39;) as file:<br>                data = json.load(file)<br>                self.__apiKey = data.get(&#39;apiKey&#39;, None)<br>                self.__secretKey = data.get(&#39;secretKey&#39;, None)<br>        else:<br>            self.__apiKey = None<br>            self.__secretKey = None</pre><p><strong><em>Step 2:</em></strong></p><p>Now comes one of the most important parts where we’ll focus on generating our URL that will be used to make the request. For this, we’ll need a structure like this: <em>“Base Url + Endpoint + Params + Signature”.</em></p><p>We’ll use 2 auxiliars functions to help define each part:</p><pre>def signature(self,query_string):<br><br>    return hmac.new(<br>        self.__secretKey.encode(&quot;utf-8&quot;), query_string.encode(&quot;utf-8&quot;), hashlib.sha256<br>    ).hexdigest()<br><br><br>def get_timestamp(self):<br><br>    return int(time.time() * 1000)</pre><p>Now, taking into consideration what has been discussed above, the function would look like this:</p><pre>def base_request(self, http_method, signed: bool, endpoint:str, params=None):<br><br>    if params is None:<br>        load_params = {}<br>    else:<br>        load_params = params<br><br>    if signed:<br>        query_string = urlencode(load_params,True)<br>        if query_string:<br>            query_string = f&quot;{query_string}&amp;timestamp={self.get_timestamp()}&quot;<br>        else:<br>            query_string = &quot;timestamp={}&quot;.format(self.get_timestamp())<br>        <br>        url = (<br>            self.URL + endpoint + &quot;?&quot; + query_string + &quot;&amp;signature=&quot; + Client().signature(query_string)<br>        )<br>        print(f&quot;{http_method} {url}&quot;)<br>        params = {<br>            &quot;url&quot;: url,<br>        }<br><br>        session = requests.Session()<br>        session.headers.update(<br>            {&quot;Content-Type&quot; : &quot;application/json;charset=utf-8&quot;, &quot;X-MBX-APIKEY&quot;: self.__apiKey}<br>        )<br><br>        return {<br>            &quot;GET&quot; : session.get,<br>            &quot;DELETE&quot; : session.delete,<br>            &quot;PUT&quot; : session.put,<br>            &quot;POST&quot; : session.post,<br>        }.get(http_method, &quot;GET&quot;)(**params).json()<br><br>    else:<br>        url = (<br>            self.URL + endpoint<br>        )<br>        params = {<br>            &quot;url&quot; : url,<br>            &quot;params&quot; : params<br>        }<br><br>        session = requests.Session()<br>        return {<br>            &quot;GET&quot; : session.get,<br>            &quot;DELETE&quot; : session.delete,<br>            &quot;PUT&quot; : session.put,<br>            &quot;POST&quot; : session.post,<br>        }.get(http_method, &quot;GET&quot;)(**params).json()</pre><p>As seen, we define different logic depending on whether the request needs to include a signature or not, and the output of the function will be the result of our request.</p><p><strong><em>Step 3:</em></strong></p><p>To clarify, we are going to execute two differents examples — one involving an endpoint that requires a personal signature, and the other where it’s not needed. The first one is to get the current symbol information and the other we’ll use an especial endpoint to test spot sorders requests.</p><pre>def exchange_information (self,<br>                          symbol:str)-&gt;json:<br>    <br>    response = Client().base_request(http_method=&quot;GET&quot;,signed=False,endpoint=&quot;/api/v3/exchangeInfo&quot;,params={&quot;symbol&quot;:symbol})<br><br>    with open(&quot;../results/info_&quot;+symbol+&quot;.json&quot;, &#39;w&#39;) as file:<br>        file.write(json.dumps(response, indent=4))<br><br>    print(response)<br><br><br><br>if __name__==&quot;__main__&quot;:<br><br>    symbol = &quot;BTCUSDT&quot;<br>    exchange_information(symbol=symbol)</pre><pre>def spot_order(self,<br>               params:dict) -&gt; json: <br>    <br>    <br>    response = Client().base_request(http_method=&quot;POST&quot;,signed=True,endpoint=&quot;/api/v3/order/test&quot;,params=params)<br><br>    return response<br><br>    &#39;&#39;&#39;<br>    #Use it if you want to save the results<br>    with open(&quot;../results/firstsell.json&quot;, &#39;w&#39;) as file:<br>        file.write(json.dumps(response, indent=4))<br>    &#39;&#39;&#39;<br><br><br><br>if __name__==&quot;__main__&quot;:<br><br>    params = {<br>        &quot;symbol&quot;:&quot;BTCUSDT&quot;,<br>        &quot;side&quot;:&quot;SELL&quot;,<br>        &quot;type&quot;:&quot;MARKET&quot;,<br>        &quot;quantity&quot;:5<br>    }<br>    <br>    response = spot_order(params=params)<br>    print(response)</pre><p>Now, you’re ready to use it and craft your strategy. Utilize signals to kick off a mix of requests that suit your style.</p><h4>Ongoing Investigation:</h4><p>What we’ve just seen is a simple example of how to place orders on the exchange using its API without the need for third-party libraries. However, this is only the first step to make a real bot capable of operating based on a strategy.</p><p>Once you’ve defined a strategy and implemented it into your program, you’ll need to continuously work on improving performance. In this kind of projects, efficiency is crucial because many strategies are evaluated second-by-second.</p><p>I hope this has been helpful, and if you have any suggestions or want to actively participate in this project, feel free to reach out!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ebc7ff792dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>