question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Usage examples are not clear: how do we run the bot?

See original GitHub issue

There are actually no examples of how to run this program. The wiki usage specifies the cli options but without giving a working example.

Please update either the Readme or the Wiki with a working example that can be copied and pasted.

I updated my configStrategy.py with the parameters needed and named it the same as my strategy name in the gekko file. I updated _Global.toml with the path and config file names (which by the way is not clearly explained in the Wiki. That info should be on the Readme or the Usage page. I had to dig through Issues here to figure out the basic info.)

I entered python3 japonicus-run -b --strat mycustomstrat

And the response

    	 EVOLUTIONARY GENETIC ALGORITHMS				v0.92
The profits reported here depends on backtest interpreter function; 
	interpreter v3: 
if <backtest profit> > 0: <shown profit> = <backtest profit> - <market profit> 
else <shown profit> = <backtest profit> 

found gekko @ http://localhost:3000
Run took 1 seconds.

What does that mean… did it work? Where are the results? I can’t find the .csv file anywhere Thanks for any help, I’m looking forward to using this program

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Gab0commented, Jul 9, 2019

Hey, yeah configStrategies is deprecated. I guess your config problem is on parameter nesting at the .toml file… It should be:

[first]
param = [1, 200]

[second]
param = [1, 200]

[params]
param1 = [1, 20]

....

And we surely need better documentation lol. But I just broke the benchmark system a few releases ago, so it’s not possible to quickly evaluate different GA settings. 90% of those strange parameters are experimental, so it may not be worthy to learn everything about them in this current state of development…

0reactions
IAMtheIAMcommented, Jul 9, 2019

ohh Lol that’s good to know. I was sitting here wondering what’s going on. It took my ranges when I put them in the .toml file as you said!

Also, good to know a lot of the parameters are experimental, so I’ll leave them.

The main ones I’m curious about are

  • How many EPOCHS should be run to get a statistically significant result?
  • What is the purpose of having 3 datasets specified in _dataset.toml (should they all be the same pair and exchange, or can I make them different, and how does this affect the test?
  • ParallelBacktests = 6 - if I have more than 6 threads (such as 4 core 8 thread), could I safely change this to 8?

I’m reading through your changelog to see what else I can learn now.

As I learn more about this, I’ll be happy to improve the documentation to make it better to understand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run a bot while not present? - Help - UiPath Community Forum
Hello there,. I have been following a bit of the lessons and am working on a project. I am fairly new so i...
Read more >
Run a bot - Automation Anywhere Documentation
Select the bot to run. Hover over the actions menu (vertical ellipses) located to the right of the bot name and click Run...
Read more >
How to Build a Bot and Automate your Everyday Work
In this article, we'll explore the basics of workflow automation using Python – a powerful and easy to learn programming language. We will...
Read more >
How to use Bots - Tables Help Center
Bot conditions define special criteria for which rows the bot should run on. You can use conditions to create specialized rules. For example,...
Read more >
Best practices for designing a bot with Bot Framework Composer
Reuse logic or other elements of conversation flow. Have interruptions that are local to that flow (for example, contextual help inside a date ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found