<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="182028" data-post-id="182028">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="ityonemo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/ityonemo/120/11341_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  ityonemo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I think this is fantastic, because in Elixir and Erlang you are basically off to the races and thinking about process lifetimes and failure domains extremely quickly, and what better way to highlight it than with a system where the stakes are literally money.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="182028" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-182028" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="182028"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="182044" data-post-id="182044">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="egze" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/egze/120/13522_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  egze
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>No worries. My strategy was also very simple.</p>
<p><a href="https://www.quora.com/What-would-you-consider-your-overall-trading-strategy-to-be-in-the-crypto-market/answer/Shi-Ern-Lau" class="onebox" target="_blank" rel="noopener nofollow ugc">https://www.quora.com/What-would-you-consider-your-overall-trading-strategy-to-be-in-the-crypto-market/answer/Shi-Ern-Lau</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="182044" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-182044" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="182044"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="182051" data-post-id="182051">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kanonk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kanonk/120/11016_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kanonk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Very interesting, i’ve also built a tradingbot in Elixir, and are using the same simple strategy <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="182051" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-182051" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="182051"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="182077" data-post-id="182077">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="CinderellaMan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/CinderellaMan/120/24046_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  CinderellaMan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This is a very interesting strategy - thanks for sharing.<br>
I could write it as a second example in the course - will investigate as it could have different challenges from the current one.<br>
That would obviously be after this naive one will get a good run and build everything around it.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="182077" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-182077" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="182077"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="182088" data-post-id="182088">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="egze" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/egze/120/13522_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  egze
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Nice. Some more ideas for the future - bot should handle multiple accounts, each with own trading api key, and also each strategy can receive its own budget (imagine you run 2 strategies for 1 account, it will be difficult to trade if both of them can operate on whole available budget).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="182088" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-182088" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="182088"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="183211" data-post-id="183211">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="CinderellaMan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/CinderellaMan/120/24046_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  CinderellaMan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I managed to record another video <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> This time I focused on getting the supervision tree running so you can scale the number of traders in the future (as now they would just all start at the same time and that doesn’t have too much sense).</p>
<div class="youtube-onebox lazy-video-container" data-video-id="92khjtXNFxk" data-video-title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 3 - Add supervision tree to manage traders" data-video-start-time="" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=92khjtXNFxk" target="_blank" class="video-thumbnail" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/92khjtXNFxk/maxresdefault.jpg" title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 3 - Add supervision tree to manage traders" width="690" height="388">
  </a>
</div>

<p>As always enjoy, like, subscribe and leave a comment here and/or on the Youtube <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="183211" data-batch-url="/posts/batch_likers">
                        6
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-183211" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="183211"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="183526" data-post-id="183526">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="xlphs" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/xlphs/120/12168_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  xlphs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Interesting approach. I’m building a multi-timeframe strategy for forex and took a very different approach. Perhaps it’s because I’m not building a trading bot but rather a system that generates trade signals. I keep all the data in database (obviously) and use a timer to drive the GenServer to do work when a bar ends, the time frame is configurable and it has to skip weekends, other than that my GenServer doesn’t actually do much.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="183526" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-183526" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="183526"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="183534" data-post-id="183534">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="CinderellaMan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/CinderellaMan/120/24046_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  CinderellaMan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hmm, that’s also an interesting approach. As far as I understand that means that you were making trades yourself?<br>
In general, this system is designed to make trades on its own - partly because crypto world never sleeps. Also, the naive strategy doesn’t utilize any signals, it’s not even based on any averages, etc (that’s why it’s a naive strategy <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> ). That shouldn’t stop anybody from developing other (more sophisticated) strategy based on this project.</p>
<p>Once again this is only developed/recorded for learning purposes - I don’t think you can make money reliably with this dummy strategy but you can get a gist how a little bit more “complex” systems are built in Elixir - that’s the point of the whole series at the moment.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="183534" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-183534" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="183534"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="184413" data-post-id="184413">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="CinderellaMan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/CinderellaMan/120/24046_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  CinderellaMan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>4th video in the series about building cryptocurrency trading bot in Elixir</p>
<p>We will focus on getting PubSub up and running so we will be able to scale naive strategy to multiple traders as well as other processes in the future.</p>
<div class="youtube-onebox lazy-video-container" data-video-id="oANXm71AUG0" data-video-title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 4 - Stream trade events using PubSub" data-video-start-time="" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=oANXm71AUG0" target="_blank" class="video-thumbnail" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/oANXm71AUG0/maxresdefault.jpg" title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 4 - Stream trade events using PubSub" width="690" height="388">
  </a>
</div>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="184413" data-batch-url="/posts/batch_likers">
                        6
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-184413" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="184413"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="185931" data-post-id="185931">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="CinderellaMan" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/CinderellaMan/120/24046_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  CinderellaMan
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>5th video in the series about building cryptocurrency trading bot in Elixir - this time starting and running multiple traders at once</p>
<p>We will introduce a rebuy_interval which will allow us to start new traders as prices fluctuate. Before doing that we will work on a few things:</p>
<ul>
<li>buy price (by introducing buy_down interval)</li>
<li>quantity (as it was hardcoded up to this moment)</li>
<li>race condition related to multiple transactions per order</li>
<li>rebuy interval mentioned above</li>
<li>visibility (introducing unique ids for traders [for logging])</li>
</ul>
<div class="youtube-onebox lazy-video-container" data-video-id="97r9G4yOaPM" data-video-title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 5 - Run multiple traders in parallel" data-video-start-time="" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=97r9G4yOaPM" target="_blank" class="video-thumbnail" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/97r9G4yOaPM/maxresdefault.jpg" title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 5 - Run multiple traders in parallel" width="690" height="388">
  </a>
</div>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="185931" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/create-a-cryptocurrency-trading-bot-in-elixir/32313/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-185931" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="185931"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/32313/load_more?page=3">Load more posts (42 remaining)</a>
</div></template></turbo-stream>