Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Conversation

@Adamantios
Copy link
Collaborator

No description provided.

@Adamantios Adamantios added the documentation Improvements or additions to documentation label Oct 30, 2023
@Adamantios Adamantios requested a review from 0xArdi October 30, 2023 13:32
cp ".trader_runner/available_tools_store.json" ".trader_runner/available_tools_store_$(date +"%d-%m-%Y")".json
```

##### Tool selection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step 1 should be to tell the user about the env variable that adjusts the policy punishment

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not have an environment variable for the punishment, this is fixed to the mech's price.

Copy link
Collaborator

@dagacha dagacha Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened an issue valory-xyz/trader#120

I suggest we close this comment.

Comment on lines +164 to +167
It can easily be done, by removing this method call,
[here](https://github.com/valory-xyz/trader-quickstart/blob/0f093ebbf0857b8484a017912c3992f00fbe1a29/run_service.sh#L698),
in order to set your own custom warm start.
Setting your own custom weights can be done by editing the corresponding files in `.trader_runner`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can we not simply say: if you want a different warm start adjust such and such file?

Copy link
Collaborator Author

@Adamantios Adamantios Oct 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the function call needs to be removed as well, to avoid overwriting the files' contents.

Copy link
Collaborator

@dagacha dagacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a few suggestions. O/w LGTM

Co-authored-by: David Galindo <35235550+dagacha@users.noreply.github.com>
Base automatically changed from fix/warm-start to main October 31, 2023 09:11
Moreover, you may store your current policy as a backup before editing those files, using the following command:

```shell
cp ".trader_runner/available_tools_store.json" ".trader_runner/available_tools_store_$(date +"%d-%m-%Y")".json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cp ".trader_runner/available_tools_store.json" ".trader_runner/available_tools_store_$(date +"%d-%m-%Y")".json
cp ".trader_runner/available_tools_store.json" ".trader_runner/available_tools_store_$(date +"%d-%m-%Y")".json
cat ".trader_runner/policy_store.json" >> ".trader_runner/available_tools_store_$(date +"%d-%m-%Y")".json

@DavidMinarsch DavidMinarsch merged commit bc0add6 into main Nov 1, 2023
@DavidMinarsch DavidMinarsch deleted the docs/advanced-usage branch November 1, 2023 11:10
@Adamantios Adamantios mentioned this pull request Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants