<?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 Kyra Cole on Medium]]></title>
        <description><![CDATA[Stories by Kyra Cole on Medium]]></description>
        <link>https://medium.com/@kyracole-93762?source=rss-9d6b130e489d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*x7CkN-V4z_g32Nxz.</url>
            <title>Stories by Kyra Cole on Medium</title>
            <link>https://medium.com/@kyracole-93762?source=rss-9d6b130e489d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:19:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kyracole-93762/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[Tips and Tricks for freqtrade]]></title>
            <link>https://kyracole-93762.medium.com/tips-and-tricks-for-freqtrade-db1c669e47e8?source=rss-9d6b130e489d------2</link>
            <guid isPermaLink="false">https://medium.com/p/db1c669e47e8</guid>
            <category><![CDATA[initial]]></category>
            <dc:creator><![CDATA[Kyra Cole]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 11:45:39 GMT</pubDate>
            <atom:updated>2021-02-24T11:45:39.097Z</atom:updated>
            <content:encoded><![CDATA[<p>the downside of hyperopting is that you are biasing the buying and dminishing the sell signal till you get some positive profit.</p><p>But usually it is better to use some data mining techniques to get the number correct.</p><p>As you are doing this it is very important to get an idea which buyrule is resposible for the end of an trade</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*SQLjyxR2glYFGMOl_l4mIA.png" /><figcaption>2 d histogram of buy rule vs profit_ratio</figcaption></figure><p>You can check the outcome of the trades by using the export functionality of the freqtrade backtesting tool and then merging it with the dataframe of the stratetgy (using .merge_asof())</p><pre>def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -&gt; DataFrame:</pre><pre>dataframe.loc[</pre><pre>(</pre><pre>(dataframe[&#39;behaviorrule&#39;]!=16)</pre><pre>&amp;(qtpylib.crossed_above(dataframe[&#39;midclose&#39;],dataframe[&#39;bb_lowerband&#39;] ))</pre><pre>&amp;(dataframe[&#39;volume&#39;] &gt; 1)</pre><pre>),</pre><pre>[&#39;buy&#39;,&#39;buyrule&#39;]] = [1,1]</pre><pre>dataframe.loc[</pre><pre>(</pre><pre>(dataframe[&#39;behaviorrule&#39;]==1)</pre><pre>&amp;(qtpylib.crossed_above(dataframe[&#39;open&#39;],dataframe[&#39;bb_lowerband&#39;] ))</pre><pre>&amp;(dataframe[&#39;volume&#39;] &gt; 1)</pre><pre>),</pre><pre>[&#39;buy&#39;,&#39;buyrule&#39;]] = [1,2]</pre><pre>dataframe.loc[</pre><pre>(</pre><pre>(dataframe[&#39;behaviorrule&#39;]==1)</pre><pre>&amp;(qtpylib.crossed_above(dataframe[&#39;tema&#39;],dataframe[&#39;bb_lowerband&#39;] ))</pre><pre>&amp;(dataframe[&#39;volume&#39;] &gt; 1)</pre><pre>),</pre><pre>dataframe.loc[</pre><pre>(</pre><pre>(dataframe[&#39;behaviorrule&#39;]!=2)<br>&amp;(qtpylib.crossed_above(dataframe[&#39;ema156&#39;],dataframe[&#39;bb_middleband&#39;] ))</pre><pre>&amp;(dataframe[&#39;volume&#39;] &gt; 1)</pre><pre>),</pre><pre>[&#39;buy&#39;,&#39;buyrule&#39;]] = [1,4]</pre><pre>return dataframe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*wIt88xZeuErmZ1PsUkn_Zw.png" /><figcaption>2d histogram for sell rule vs proft_ratio</figcaption></figure><p>in this picture 2 things some quite clear if knowing the code ( Ihave 8 sell rules coded) so the sell rules &gt; as 3 do not have any effect what so ever.</p><p>it is then possible to filter the dataframe for just the buy signals and a specific rule . Checking the indicator you are using vs the profit ratio to be able to determine if any cut would lead to lesser negative profit trades.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*bsBsEovCU7QJxaN1yU4CcQ.png" /><figcaption>Indicator vs profit_ratio</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*M5GHdAecxODUZX9Vg89D3g.png" /><figcaption>this might be a good filter indicator &gt; -4</figcaption></figure><p>to be continued</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db1c669e47e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test on different Crypto Trading frameworks]]></title>
            <link>https://kyracole-93762.medium.com/test-on-different-crypto-trading-frameworks-6894ec0ca124?source=rss-9d6b130e489d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6894ec0ca124</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Kyra Cole]]></dc:creator>
            <pubDate>Fri, 13 Nov 2020 09:39:47 GMT</pubDate>
            <atom:updated>2020-11-13T11:19:23.569Z</atom:updated>
            <content:encoded><![CDATA[<p>During lockdown ( Corona times) i found myself wanting to work on my machine learning skills. So i tried some ideas how to predict certain numbers and was ending with data from Crypto Currency Trading platforms.</p><p>I was all about trying to work on my predictive mathematics skills but what is the point of analyzing data finding some interessting models but not able to use them online.</p><p>That was the reason i ended up testing about 10 -15 Frameworks and at one point i was already put to an end that i would not find something when i stumbled over <a href="https://www.freqtrade.io/">freqtrade</a>. But during the process of the search ( took me like 2–3 months ( remember lockdown) ) I was able to determine the flaws of some of the frameworks out there.</p><p><a href="https://github.com/askmike/gekko">gekko </a>is written in JAVA and is not maintained frequently they have a nice Webbased gui and a downloading and backtesting feature. So this gives you an nice entry in automated trading. There is a large quanitity of strategies, which is very usefull if you start learning . There is an other tool for gekko <a href="https://github.com/Gab0/japonicus">japonicus </a>which does some sort of Genetic algorithm to optimize the parameters for the strategies. I found 2 downsides on gekko + japonicus, on some algorithms ( mostly advanced ) the found parameters did not lead to reproducible results in some cases i was working on. As needed to work with Maschine Learning there was the other downside, that gekko was written in Java, and the python library is just way more advanced in that perspective.</p><p>gbot-trader</p><p>OctoBot-Core</p><p>gocryptotrader</p><p>ccxt.pro/ccxt</p><p>tv2bt</p><p>python-binance</p><p>K</p><p>Lean</p><p>catalyst</p><p>blackbird</p><p>bt-ccxt-store</p><p>backtrader</p><p>Astibot</p><p>to be continued…..</p><p>What i like about freqrade is that it comes with a lot of usefull tooling. The rest_api is pretty usefull, but the telegram api is just putting the crypto trading framework to deploy it with real money. You just can go away and check that everything is working correctly from wherever. Also you have a backtesting and an optimizing feature ( I will come to this in an different blog later) . you can also dry-run or live run your Strategy. While there are different glitches ( will be covered in a different blog) between the transferabilty of the results of backtesting, dry-run or live run, you want to keep in mind, these are necessary and usefull tools — before deploying your Strategy “live”. I lost quite some money as I wanted to leave out the some of the testing process ( just don’t do it )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*FFwi3018bGLldL_zgZF68g.png" /><figcaption>Distribution duration vs profit of 51 trades ( after 8h run ) (freqtrade)</figcaption></figure><p>Disclaimer — Crypto Currency Trading Trading and investing in cryptocurrencies (also called digital or virtual currencies, crypto assets, altcoins and so on) involves <strong>substantial risk of loss</strong> and is not suitable for every investor. The valuation of cryptocurrencies and futures may fluctuate, and, as a result, clients may lose more than their original investment. he highly leveraged nature of crypto trading means that small market movements will have a great impact on your trading account and this can work against you, leading to large losses, or can work for you, leading to large gains.</p><p>I do not work for any project or company discussed in this article.</p><p>If you found that useful and want me to keep writing spend a coffee:</p><p>BTC 14v88QXSYtyuuugpK5Z7g6PEiN9gPMHqJg</p><p>ETH 0xe5a606e9c97a95daca90079432712e9c20c48654</p><p>USDT 0xe5a606e9c97a95daca90079432712e9c20c48654</p><figure><img alt="https://www.binance.com/en/register?ref=44606864" src="https://cdn-images-1.medium.com/max/472/1*DbkPKXmiDGtc9DmcSrgP3g.jpeg" /><figcaption>I use binance as trading platform</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6894ec0ca124" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>