<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Generator slow]]></title>
		<link>https://forexsb.com/forum/topic/9466/generator-slow/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9466/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Generator slow.]]></description>
		<lastBuildDate>Fri, 16 Jun 2023 19:13:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Generator slow]]></title>
			<link>https://forexsb.com/forum/post/75309/#p75309</link>
			<description><![CDATA[<p>+1 for the Python!</p><p>You can write a complete workflow script.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 16 Jun 2023 19:13:20 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75309/#p75309</guid>
		</item>
		<item>
			<title><![CDATA[Re: Generator slow]]></title>
			<link>https://forexsb.com/forum/post/75265/#p75265</link>
			<description><![CDATA[<p>@Popov<br />Thanks a lot, I didn&#039;t knew you could start it like this.<br />It seems to work, but I will do some further testing and try to compare with FSB pro.</p><p>@geektrader<br />Thank you. I also figured that it would be better to put it in a loop.<br />But instead of batch I did it with python since I&#039;m more familiar with this language.</p><div class="codebox"><pre><code>import os
for i in range(0,10):
  os.system(&quot;start node .\bin\gen.js --symbol EURUSD --period M30&quot;)</code></pre></div><br /><p>Is node the fastest runtime for this?<br />As suggested in an older post I tried out the enterprise version of GraalVM and also Bun via Ubuntu by using the Windows subsystem for Linux. <br />But with both of these I&#039;ve gotten worse results than with node after 30min when using a single instance.</p>]]></description>
			<author><![CDATA[null@example.com (johannesq354)]]></author>
			<pubDate>Thu, 15 Jun 2023 07:48:00 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75265/#p75265</guid>
		</item>
		<item>
			<title><![CDATA[Re: Generator slow]]></title>
			<link>https://forexsb.com/forum/post/75259/#p75259</link>
			<description><![CDATA[<p>You can also make it a little more comfortable by simply doing:</p><div class="codebox"><pre><code>FOR /L %%i IN (1,1,8) DO (
start node .\bin\gen.js --symbol EURUSD --period M30
)</code></pre></div><p>Simply change the 1,1,8 to how many instances you want it to spawn by just changing the last number. So 1,1,10 if you want 10 instances, 1,1,20 if you want 20 instances, etc...</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Wed, 14 Jun 2023 20:26:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75259/#p75259</guid>
		</item>
		<item>
			<title><![CDATA[Re: Generator slow]]></title>
			<link>https://forexsb.com/forum/post/75230/#p75230</link>
			<description><![CDATA[<p>Express Generator is excellent for running multiple copies with the same or different settings.</p><p>The easiest way to do it is to write your commands in a &quot;cmd&quot; file and run it.</p><p>Here is an example of how to run ten copies of the generator on EURUSD M30</p><br /><p><strong>gen-eurusd-10x.cmd</strong><br /></p><div class="codebox"><pre><code>start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period M30</code></pre></div><p><a href="https://image-holder.forexsb.com/store/run-gen-eurusd-x10.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/run-gen-eurusd-x10-thumb.png" alt="https://image-holder.forexsb.com/store/run-gen-eurusd-x10-thumb.png" /></span></a></p><p>If you want, you can have different settings in each instance like that:<br /></p><div class="codebox"><pre><code>start node .\bin\gen.js --symbol EURUSD --period M15
start node .\bin\gen.js --symbol EURUSD --period M30
start node .\bin\gen.js --symbol EURUSD --period H1
start node .\bin\gen.js --symbol GBPUSD --period M15
start node .\bin\gen.js --symbol GBPUSD --period M30
start node .\bin\gen.js --symbol GBPUSD --period H1
start node .\bin\gen.js --symbol USDJPY --period M15
start node .\bin\gen.js --symbol USDJPY --period M30
start node .\bin\gen.js --symbol USDJPY --period H1</code></pre></div><p>Put the cmd script in the Express Generator folder and run it with a double click.<br />(You can run it from the terminal if want to debug it)</p><p>Please find the file attached.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 14 Jun 2023 04:46:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75230/#p75230</guid>
		</item>
		<item>
			<title><![CDATA[Generator slow]]></title>
			<link>https://forexsb.com/forum/post/75221/#p75221</link>
			<description><![CDATA[<p>Hello,</p><p>I recently bought the generator.<br />Unfortunately I&#039;m struggling with the performance of the generator.<br />It seems that the generator is only using one CPU core which would make it twice as fast as FSB pro with one core.<br />But when I use FSB pro with all my cores the generator is 10 times slower.</p><p>I&#039;m unable to understand how you can enable multi threading in the generator or start it multiple times so that different strategies get created when you don&#039;t modify the settings file.</p><p>Is there a way to accomplish multi threading with the generator?</p>]]></description>
			<author><![CDATA[null@example.com (johannesq354)]]></author>
			<pubDate>Tue, 13 Jun 2023 21:57:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/75221/#p75221</guid>
		</item>
	</channel>
</rss>
