<?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 Ilia Krotov on Medium]]></title>
        <description><![CDATA[Stories by Ilia Krotov on Medium]]></description>
        <link>https://medium.com/@ilia.krotov?source=rss-5af6241d71b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*0IXGcHF0mvRr4GWlW6FS6g.jpeg</url>
            <title>Stories by Ilia Krotov on Medium</title>
            <link>https://medium.com/@ilia.krotov?source=rss-5af6241d71b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 01:06:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ilia.krotov/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[Best apps for 3D head scanning and body scanning]]></title>
            <link>https://medium.com/@ilia.krotov/best-apps-for-3d-head-and-body-scanning-32b2d47b3dff?source=rss-5af6241d71b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/32b2d47b3dff</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[3d]]></category>
            <category><![CDATA[fashion]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[digital]]></category>
            <dc:creator><![CDATA[Ilia Krotov]]></dc:creator>
            <pubDate>Tue, 17 Aug 2021 16:48:01 GMT</pubDate>
            <atom:updated>2021-08-31T12:11:23.356Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><a href="https://en.wikipedia.org/wiki/3D_scanning"><strong><em>3D scanning</em></strong></a><em> is the process of analyzing a real-world object or environment to collect data on its shape and possibly its appearance (e.g. color). The collected data can then be used to construct digital </em><a href="https://en.wikipedia.org/wiki/3D_modelling"><em>3D models</em></a><em>.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*NUXh9tRHGKlm5zoeRkm_vA.png" /></figure><p>Previously, in order to make a 3D scan, it was necessary to have complex devices with special sensors. But technology is moving forward and now many phones already have the necessary mechanisms.</p><p>Today we will consider a very interesting problem that many people would like to solve — how to get a high-quality model of your <strong>head</strong> or <strong>body</strong> using your own <strong>phone</strong>.</p><p>I did a lot of research and decided to describe it for everyone so that everyone can know where to start. I will show several applications (<strong>in my case I’m using iPhone XS</strong>), how I launched them and what I got in the end — you can draw conclusions yourself (but still I found my personal favorites, you can find them at the end of the article :). I <strong>will not</strong> consider applications where you have to pay for the result right away (after all, I want to do a test first, then pay) and applications where unrealistic/cartoonish avatars are created.</p><p>Let’s rock!</p><h3><strong>1. Capture</strong></h3><p><a href="https://apps.apple.com/us/app/capture-app-photo-storage/id633980795">https://apps.apple.com/us/app/capture-app-photo-storage/id633980795</a></p><blockquote><strong>Result quality</strong>: 3/5 (bad shoulders and overall quality)</blockquote><blockquote><strong>App UI</strong>: 4/5</blockquote><blockquote><strong>Scanning experience</strong>: 3/5 (impossible to scan body)</blockquote><p>A beautiful app, you know how to get started right away. You need to be careful while scanning and sit still, otherwise, the scan will be noisy. The result is quite good for the head, but it’s a point cloud so you need to post-process it if you want to work with a triangle mesh. I tried to scan my body, but the tracking algorithm is very fragile and cannot track human motions.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FX5pAjQWNq4s%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DX5pAjQWNq4s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FX5pAjQWNq4s%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/88ccaedf3fcf3d04583724465e016002/href">https://medium.com/media/88ccaedf3fcf3d04583724465e016002/href</a></iframe><h3>2. Polycam</h3><p><a href="https://apps.apple.com/us/app/polycam-lidar-3d-scanner/id1532482376">‎Polycam - LiDAR &amp; 3D Scanner</a></p><blockquote><strong>Result quality</strong>: 2/5 (I didn’t manage to scan myself, but managed to scan my girlfriend — she said to never ever show it to anyone)</blockquote><blockquote><strong>App UI</strong>: 5/5 (everything is clear)</blockquote><blockquote><strong>Scanning experience</strong>: 2/5 (you have to make at least 20 photos and you have to stand still)</blockquote><p>I asked my assistant to take 20 photos of my head from different angles, this process took about 3 minutes. The app sends photos to the cloud and returns a mesh. Maybe we were doing something wrong but I did not manage to get a nice result on the first try. We were also unable to scan the body because our room was too small.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FquLNqH5dBYM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DquLNqH5dBYM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FquLNqH5dBYM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2acc91f8ffff090d56567745d36a1a2b/href">https://medium.com/media/2acc91f8ffff090d56567745d36a1a2b/href</a></iframe><h3>3. Didimo</h3><p><a href="https://www.didimo.co/">High-quality Digital Humans - Scalable Avatars</a></p><p><a href="https://apps.apple.com/ru/app/didimo-showcase/id1539655571">https://apps.apple.com/ru/app/didimo-showcase/id1539655571</a></p><blockquote><strong>Result quality</strong>: 3/5 (It is good, really good, but it is not actually me)</blockquote><blockquote><strong>App UI</strong>: 5/5 (everything is clear and looks good)</blockquote><blockquote><strong>Scanning experience</strong>: 5/5 (you have to have only one photo)</blockquote><p>This is a great app, the easiest to use — it creates your 3D model from a single photo. But the model is a little unrealistic and here is mine. The application seems to be under active development because there are lots of features that haven’t been released yet, so it will definitely get better someday.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSWnZj-vAd4c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSWnZj-vAd4c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSWnZj-vAd4c%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dae5231920961fa9555e0467ec961ee2/href">https://medium.com/media/dae5231920961fa9555e0467ec961ee2/href</a></iframe><h3>4. Bellus3D</h3><p><strong><em>Note: Export is paid, but I want to show you because it is a great result for the head. A body scan is not possible.</em></strong></p><p><a href="https://www.bellus3d.com/">Bellus3D: Fast, Easy, Lifelike 3D Face Scanning</a></p><p><a href="https://apps.apple.com/ru/app/bellus3d-faceapp/id1352268131">https://apps.apple.com/ru/app/bellus3d-faceapp/id1352268131</a></p><blockquote><strong>Result quality</strong>: 5/5 (I love this head)</blockquote><blockquote><strong>App UI</strong>: 5/5 (everything is clear and looks good)</blockquote><blockquote><strong>Scanning experience</strong>: 5/5</blockquote><p>The scanning process is straightforward, you just have to follow their guide. The result is excellent, I like it — good scan quality, fast results, and a good level of detail. While there are not many features in the application, you can change light and put a mask on your face.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaSu688lY26c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaSu688lY26c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaSu688lY26c%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/445345d5c5ed74e7b6ca3b1fa84132f4/href">https://medium.com/media/445345d5c5ed74e7b6ca3b1fa84132f4/href</a></iframe><p>And now let’s take a look at my favorite app — the only one with a full-body scanning possible!</p><h3>5. In3D</h3><p><strong><em>Note: It has a free 3-day trial, then a subscription model. But it is awesome.</em></strong></p><p><a href="https://in3d.io/">in3D | 3D Body Scanning with Smartphone for Games, AR/VR and Fashion</a></p><p><a href="https://apps.apple.com/us/app/in3d-3d-body-scanning/id1467153183">https://apps.apple.com/us/app/in3d-3d-body-scanning/id1467153183</a></p><blockquote><strong>Result quality</strong>: 5/5 (<strong>FULL BODY</strong>!!!)</blockquote><blockquote><strong>App UI</strong>: 5/5 (everything is clear and looks good)</blockquote><blockquote><strong>Scanning experience</strong>: 5/5 (AI Assistant tells you what you have to do)</blockquote><figure><img alt="My full body avatar from In3D App" src="https://cdn-images-1.medium.com/max/1024/1*ieDAMskfmGSeckVRctoEsA.png" /></figure><p>The scanning process is 2-step. You first scan the head and then scan the body. AI assistant helps you throughout the process so you won’t be lost. One thing you need to keep in mind — is the lighting, you need to face the light source while scanning to ensure the best quality.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnzhvDweH9Xc&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnzhvDweH9Xc&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FnzhvDweH9Xc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c02160aa4b2476d939631987e74a2763/href">https://medium.com/media/c02160aa4b2476d939631987e74a2763/href</a></iframe><p>You can export the 3D model as a file or you can play around with it in the app. There are animations, export to several games, and virtual try-on. I can dress myself in different clothes, it is my favorite feature.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsHjeHykdYkw&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsHjeHykdYkw&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FsHjeHykdYkw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d57690b19cb85a8ced918c444fb3ca0/href">https://medium.com/media/2d57690b19cb85a8ced918c444fb3ca0/href</a></iframe><p>I hope you enjoyed this article and it will become easier for you to solve such problems. <strong>Each of the ratings is my subjective opinion and I will be glad to hear any comments!</strong></p><p>Check out my new video review of the best scanning apps:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYfGMEbY10Hw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYfGMEbY10Hw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYfGMEbY10Hw%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7cf3aede7e3bc1db3569cec62324a045/href">https://medium.com/media/7cf3aede7e3bc1db3569cec62324a045/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32b2d47b3dff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BitMEX trading: new open source algorithms and infrastructure]]></title>
            <link>https://medium.com/@ilia.krotov/bitmex-trading-new-open-source-algorithms-and-infrastructure-d864340c4f6e?source=rss-5af6241d71b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d864340c4f6e</guid>
            <category><![CDATA[cryptocurrency-investment]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[Ilia Krotov]]></dc:creator>
            <pubDate>Thu, 20 Jun 2019 15:07:11 GMT</pubDate>
            <atom:updated>2019-06-21T07:28:36.683Z</atom:updated>
            <content:encoded><![CDATA[<h3>BitMEX trading: new trading algorithms and infrastructure</h3><p>Hi fellas!</p><p>My name is Ilia and today I want to tell you (again) about my hobby — crypto-algo-trading. Soon there will be a 2 years when I thought of writing a trading robot that would minimize the human factor of trade (people who trade for sure know what it is every five minutes to update the balance and often make some hasty, and therefore incorrect, trade decisions). Therefore, it was decided to shift everything to a robot, remove applications from viewing the exchange trade rates from the phone and start sleeping peacefully. Having spent a lot of time writing something more or less working, I want to give the reader a little insight into where to begin on this funny (and nervous) area, like algorithmic trading. <strong>This guide is not an invitation to start trading, does not contain investment advice, only educational goals are pursued.</strong></p><p>A year ago I published article about simple trading platform I was writing for several hours (<a href="https://medium.com/@ilia.krotov/margin-trading-robot-on-the-bitmex-exchange-d94dd46f82c5">https://medium.com/@ilia.krotov/margin-trading-robot-on-the-bitmex-exchange-d94dd46f82c5</a>). Since then, I’ve spent really huge amount of time in order to make this small platform more customisable and useful for people.</p><p>For some basic understanding of what is going on I suggest you to read my previous article.</p><p><strong>The very important information is that I’ve published all the code I wrote during last year and now everyone can use it to improve their strategies or to create new. I want people to help me to improve this code base and make it even cooler.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cmNIFbKafJcuOoS0qSBQMQ.jpeg" /></figure><p>Code I posted to my repository, if someone is interested in viewing — you are welcome! <a href="https://github.com/IlyaKrotov/BitMEX-trading-algorithm">https://github.com/IlyaKrotov/BitMEX-trading-algorithm</a></p><p>If you want some explanations about the code, write in comments and I will publish one more article about this. Let’s make trading in crypto-markets transparent for everyone!</p><p>Because I share my strategies, you can say thanks donating BTC right here:</p><p>BTC: 3BMEX2wvGPi85PStKLTZMC6E3nhdbyHEgA</p><p>Here my affiliate link for your registration on BitMEX.</p><p><a href="https://www.bitmex.com/register/dduBF7">Get Started | BitMEX</a></p><p>Users who have signed up with a valid affiliate link will receive a 10% fee discount for 6 months.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d864340c4f6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Margin trading robot on the BitMEX exchange]]></title>
            <link>https://medium.com/@ilia.krotov/margin-trading-robot-on-the-bitmex-exchange-d94dd46f82c5?source=rss-5af6241d71b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d94dd46f82c5</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[money]]></category>
            <dc:creator><![CDATA[Ilia Krotov]]></dc:creator>
            <pubDate>Tue, 22 May 2018 14:07:59 GMT</pubDate>
            <atom:updated>2018-05-22T18:31:50.417Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone!</p><p>My name is Ilia and today I want to tell you a little about my hobby — crypto-algo-trading. Soon there will be a year when I thought of writing a trading robot that would minimize the human factor of trade (people who trade for sure know what it is every five minutes to update the balance and often make some hasty, and therefore incorrect, trade decisions). Therefore, it was decided to shift everything to a robot, remove applications from viewing the exchange trade rates from the phone and start sleeping peacefully. Having spent a lot of time writing something more or less working, I want to give the reader a little insight into where to begin on this funny (and nervous) area, like algotrade. <strong>This guide is not an invitation to start trading, does not contain investment advice, only educational goals are pursued.</strong></p><p>As you can see from the header, the robot that we will write will work on the BitMEX exchange. The choice is very simple — there are leverages up to 100. And our robot will work with margin leverage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*x7NVUwRpC9x-CQed7YumyA.gif" /><figcaption>Example of potential ROI with margin. Image is taken from <a href="https://www.tdameritrade.com/account-types/margin-trading.page">https://www.tdameritrade.com/account-types/margin-trading.page</a>.</figcaption></figure><p>So, I hope that the reader has a basic knowledge of trading on the exchange, for example, what is OHLCV candles, that there are different time intervals for their representation, etc.</p><p>Well, let’s start our little adventure in the country of algorithmic margin trading?</p><p>I’m a fan of top-down communication and so I’ll start by telling you what I’m going to do, and then we’ll start to implement. Globally, there are two important things that you need to do to start a robot: develop a decision strategy (under what conditions to buy) and develop logic over the decision (how much and how to buy).</p><p>The decision-making strategy (the brain) in our case will consist of the indicator MACD (Moving Average Convergence / Divergence — convergence / divergence of moving averages). The indicator is used to check the strength and direction of the trend, as well as determine the turning points. It is built on the basis of moving averages (<a href="https://en.wikipedia.org/wiki/MACD">https://en.wikipedia.org/wiki/MACD</a>). There are two modifications of the MACD indicator: linear MACD and MACD-histogram. We will use the realization of the MACD-histogram from the TA-lib library and on the basis of this indicator we will decide whether to buy or sell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*Jyy5EAkHwNw4RJak2pxvIA.gif" /><figcaption>MACD example from Wikipedia (<a href="https://en.wikipedia.org/wiki/MACD">https://en.wikipedia.org/wiki/MACD</a>).</figcaption></figure><p>The logic over the decision of our indicator will be simple: if the indicator said to buy, then we will buy, if said to sell, then we will sell. We will trade with a fixed amount of money with a fixed leverage.</p><p>The first thing we’ll start with is setting up the right libraries. To begin with, we need a stock exchange client, we take it here (<a href="https://github.com/BitMEX/api-connectors/tree/master/official-http/python-swaggerpy">https://github.com/BitMEX/api-connectors/tree/master/official-http/python-swaggerpy</a>). The brain of our robot will be based on technical analysis, so we need to put the library TA-lib as well. And, of course, the standard set like numpy, pandas.</p><p>After installing all the necessary libraries, I suggest that the reader register at <a href="https://testnet.bitmex.com/">https://testnet.bitmex.com</a> — this is a copy of the BitMEX exchange, but there you do not trade real money, but virtual money. It is very convenient to use for debugging robots before running on a real exchange. After registration, we create our own keys and create a stock exchange client:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/17622148525a903f407a068afc2bc441/href">https://medium.com/media/17622148525a903f407a068afc2bc441/href</a></iframe><p>Note the test parameter. It is set to true, which means that we will trade on the test exchange. This post will not be about using the API of the exchange, you can redirect all the arising questions to the API explorer.</p><p>The next step is to get the data to use on the MACD indicator. We will get 100 candles with a resolution of 1 hour.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9608e1156551534f98d10860a8a7375b/href">https://medium.com/media/9608e1156551534f98d10860a8a7375b/href</a></iframe><p>Now we have a dateframe with candles, let’s apply the indicator.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/de62b87283b1161ac23cd2c851ce36c3/href">https://medium.com/media/de62b87283b1161ac23cd2c851ce36c3/href</a></iframe><p>I chose such parameters a little playing around with the strategy and its backtest on the Trading View. I recommend you to do the same. But here you can find some of my results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sOYrz9FU9LML2fy1TEOqPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m1cr8tDnt712L8QHDPvHgg.png" /></figure><p>So, having received the indicator, let’s understand how to make a decision on its basis. Well, everything is simple. When the histogram crosses the zero value from the bottom up, this is a signal to buy, and vice versa.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e76d2dc8054a6f66db0a13184d5c8c3e/href">https://medium.com/media/e76d2dc8054a6f66db0a13184d5c8c3e/href</a></iframe><p>Everything is very simple and understandable. Let’s put it in one class, which will be a strategy.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/74fd22389d3d432115692ba16518343c/href">https://medium.com/media/74fd22389d3d432115692ba16518343c/href</a></iframe><p>Now let’s write the executor of our solutions. The logic is simple — the strategy told us to buy, so we buy. I’ll quote the trader’s code at once, there’s nothing complicated in it:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/97a1067db2d70527d8c56880b673e234/href">https://medium.com/media/97a1067db2d70527d8c56880b673e234/href</a></iframe><p>A small nuance — to simplify your life, orders are executed here not at a pre-set price, but at a market price.</p><p>Now we have the logic for making a decision, we have the logic for executing decisions, let’s arrange the whole thing together. We need to start the trading process once in the chosen time period, in this case it was 1 hour. I’ll do it in a inefficient way for speed of writing, but it’s better to do it, for example, through cron.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e67fbb5b875050732c48f71d722e059d/href">https://medium.com/media/e67fbb5b875050732c48f71d722e059d/href</a></iframe><p>Well, now this can be formalized in one script and run, but only on the test exchange(!), not on the real exchange, because you can lose money. This script aims to show that it’s easy to start, and made a smarter brain in this model, you can easily earn some btc.</p><p>Code I posted to my repository, if someone is interested in viewing — you are welcome! <a href="https://github.com/IlyaKrotov/BitMEX-simple-trading-robot">https://github.com/IlyaKrotov/BitMEX-simple-trading-robot</a></p><p>Also I recommend you to use my affiliate link for your registration on BitMEX.</p><p><a href="https://www.bitmex.com/register/dduBF7">https://www.bitmex.com/register/dduBF7</a></p><p>Users who have signed up with a valid affiliate link will receive a <strong>10% fee discount for 6 months </strong>and my thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d94dd46f82c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>