<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="185932" data-post-id="185932">
  <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>Really enjoying your channel. Hope you never stop doing it <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>
<p>Wondering, how you would implement a feature where traders could create and launch strategies through UI. You know how tradingview has a DSL for custom strategies?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="185932" 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/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-185932" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="185932"
                     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 #21"></div>
  </section>
</div>
    <div class="postbit" id="185945" data-post-id="185945">
  <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">
								<blockquote>
<p>Really enjoying your channel. Hope you never stop doing it <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>
</blockquote>
<p>Comments like are really giving me power to work through those episodes - thank you. I don’t know how long I will be able to continue with them - I can’t be unemployed forever and it’s almost full-time job to get them out every week or two(or I simply still suck at creating them so it takes longer for me <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>
<blockquote>
<p>Wondering, how you would implement a feature where traders could create and launch strategies through UI. You know how tradingview has a DSL for custom strategies?</p>
</blockquote>
<p>That is a REALLY cool idea. Sounds like this could a follow-up course to this one - and it would surely be a huge learning experience for me as well - that’s definitely going right now on my “to do” list <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>
<p>Frontend would be a big part of this as well so probably worth to extend to some GUI first and only then when it’s more visual I could afford to push it to visual DSL <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>
<p>I need to brainstorm on this <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"> thank you for the idea <img src="https://forum.elixirforum.com/images/emoji/apple/+1.png?v=15" title=":+1:" class="emoji" alt=":+1:" 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="185945" data-batch-url="/posts/batch_likers">
                        3
                      </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/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-185945" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="185945"
                     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 #22"></div>
  </section>
</div>
    <div class="postbit" id="187295" data-post-id="187295">
  <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>Just managed to push 6th video out  <img src="https://forum.elixirforum.com/images/emoji/apple/champagne.png?v=15" title=":champagne:" class="emoji" alt=":champagne:" loading="lazy" width="20" height="20"></p>
<p>This one focuses on storing trade events inside PostgreSQL DB. It will lay a foundation for storing different stuff inside the database for purposes of analytics, charting, backtesting etc.</p>
<p>I hope you will enjoy this one as it took 4 tries to record whole code as I had bugs upon bugs… <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 class="youtube-onebox lazy-video-container" data-video-id="Q4higdhJ1zM" data-video-title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 6 - Store trade events into PostgreSQL DB" data-video-start-time="" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=Q4higdhJ1zM" target="_blank" class="video-thumbnail" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/Q4higdhJ1zM/maxresdefault.jpg" title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 6 - Store trade events into PostgreSQL DB" 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="187295" data-batch-url="/posts/batch_likers">
                        5
                      </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/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-187295" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="187295"
                     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 #23"></div>
  </section>
</div>
    <div class="postbit" id="188561" data-post-id="188561">
  <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>7th video is now out!</p>
<p>We will create a new application called BinanceMock. It will have the same functionality as the Binance module so we will be able to use them interchangeably. In the future episode(s) the BinanceMock will become a foundation to allow us to perform backtesting. Besides creating the the application itself, we will also modify the leader and the trader to reference the config to figure out which client to use instead of the previously hardcoded Binance module.</p>
<div class="youtube-onebox lazy-video-container" data-video-id="R5Z9k3ILu78" data-video-title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 7 - Mock the Binance exchange" data-video-start-time="" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=R5Z9k3ILu78" target="_blank" class="video-thumbnail" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/R5Z9k3ILu78/maxresdefault.jpg" title="Hands-on Elixir &amp; OTP: Cryptocurrency trading bot - Ep 7 - Mock the Binance exchange" 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="188561" 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/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-188561" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="188561"
                     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 #24"></div>
  </section>
</div>
    <div class="postbit" id="190246" data-post-id="190246">
  <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>Hello <img src="https://forum.elixirforum.com/images/emoji/apple/wave.png?v=15" title=":wave:" class="emoji" alt=":wave:" loading="lazy" width="20" height="20"></p>
<p>It took me way too long but I finally managed to finish the next episode <img src="https://forum.elixirforum.com/images/emoji/apple/champagne.png?v=15" title=":champagne:" class="emoji" alt=":champagne:" loading="lazy" width="20" height="20"></p>
<p>In the 8th episode, we will modify the naive traders to broadcast the Binance orders<br>
structs to a new PubSub topic. We will add a handler function to<br>
the DataWarehouse.Subscribers.Worker module to be able to<br>
store the Binance Orders into the database. To be able to store<br>
them inside DB we will also add a migration script and Ecto schema.</p>
<p>            <img class="youtube-thumbnail onebox" style="display: none;" src="https://img.youtube.com/vi/-HunMxOo7Y4/maxresdefault.jpg" width="690" height="388">
            <iframe src="https://www.youtube.com/embed/-HunMxOo7Y4?feature=oembed&amp;wmode=opaque&amp;list=PLxsE19GnjC5Nv1CbeKOiS5YqGqw35aZFJ" width="480" height="360" frameborder="0" allowfullscreen="" class="youtube-onebox" seamless="seamless" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>
</p>
<p>Enjoy <img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji" alt=":heart:" 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="190246" data-batch-url="/posts/batch_likers">
                        5
                      </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/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-190246" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190246"
                     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 #25"></div>
  </section>
</div>
    <div class="postbit" id="190250" data-post-id="190250">
  <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>Wohoo! This course is gold!</p>
<p>You should think about publishing an eBook or something <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="190250" data-batch-url="/posts/batch_likers">
                        3
                      </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/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-190250" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190250"
                     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 #26"></div>
  </section>
</div>
    <div class="postbit" id="190252" data-post-id="190252">
  <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><img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji" alt=":heart:" loading="lazy" width="20" height="20">  Wow, those words mean the world to me <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"> honestly! It’s so hard to find time and energy to record those videos, especially recently many unexpected things happened, but I really love to make those exactly because of comments like yours - thank you!</p>
<blockquote>
<p>You should think about publishing an eBook or something</p>
</blockquote>
<p>Don’t temp me <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"> I’m still learning what and how to do stuff but I was considering a “follow up” course or even putting those videos in written form for people that prefer to read books <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"> I’m not sure would that work out but either way don’t have time for that now - need to do those videos going! <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="190252" 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/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-190252" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190252"
                     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 #27"></div>
  </section>
</div>
    <div class="postbit" id="190253" data-post-id="190253">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Maxtonx" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Maxtonx
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>It’s really good. I’m following every video of yours and I’m learning a lot. Thanks for doing this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="190253" 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/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-190253" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190253"
                     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 #28"></div>
  </section>
</div>
    <div class="postbit" id="190641" data-post-id="190641">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thank you very much for making this series. I’ve been following along with great interest. It’s clear a lot of work went into making these. It’s really helped me get a better grasp of OTP as a whole and how it’s used to set up supervision trees. Most examples don’t cover the design and implementation in detail so you can get a fully working solution. This is great.</p>
<p>One question though: How hard would it be to decouple the traders from Binance? So that you could create a new streamer for something like Kraken, but use the same trader code to do the work?</p>
<p>Or would it be best to just add a new trader for each trading platform?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="190641" 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/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-190641" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190641"
                     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 #29"></div>
  </section>
</div>
    <div class="postbit" id="190648" data-post-id="190648">
  <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">
								<aside class="quote no-group" data-username="unlogic" data-post="30" data-topic="32313">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/unlogic/48/18653_2.png" class="avatar"> unlogic:</div>
<blockquote>
<p>Thank you very much for making this series</p>
</blockquote>
</aside>
<p>Thank you very much, indeed, it takes a lot of time but it’s worth it <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"> makes me happy and leaves this world a little bit better as it spreads the Elixir <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>
<blockquote>
<p>How hard would it be to decouple the traders from Binance? So that you could create a new streamer for something like Kraken, but use the same trader code to do the work?<br>
Or would it be best to just add a new trader for each trading platform?</p>
</blockquote>
<p>The idea behind dividing the communication using PubSub was intended to show that parts of apps between PubSub are like blocks that you can freely swap to suit your needs - as far as I understand you are talking about 2 different topics and I’m not sure each one so I will respond to both:</p>
<ul>
<li>different source of data like Kraken to be the only source - that’s fine just convert the data coming from Kraken to standardized struct that rest of the system accepts (in case of hedgehog it’s the <code>Streamer.Binance.TradeEvent</code>)</li>
<li>you want to stream data from multiple exchanges in parallel and here depends on the purpose you can take 2 approaches:
<ul>
<li>stream each exchange data to a different topic and subscribe to both(or more) if you want to do arbitrage for example</li>
<li>stream data to the same topic with an additional field called <code>source</code> or something similar - this could be useful for example to produce “average” prices, not that good for the current naive strategy as it would have plenty of meaningless messages broadcasted to it (it would pattern match on the “binance” source and ignore the rest)</li>
</ul>
</li>
</ul>
<p>I hope that helps - <em>this is not a financial advise</em> <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="190648" 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/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-190648" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="190648"
                     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 #30"></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=4">Load more posts (32 remaining)</a>
</div></template></turbo-stream>