Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Disable the need for secret when accessing trade bot / Change secret to known value #137

Closed
Krono5 opened this issue Apr 22, 2017 · 5 comments

Comments

@Krono5
Copy link

Krono5 commented Apr 22, 2017

Is there a way to permanantly disable the need for a secret when accessing the logs through the http://IP:3013? My bot is running as a screen instance on a separate machine, and it is becoming tedious to constantly search for the secret. Or if there is a way to set it to a fixed value seeing as my bot is on local network only.

@nedievas
Copy link
Contributor

It's one time search if you don't remove db.

@Krono5
Copy link
Author

Krono5 commented Apr 22, 2017

I realize, but with frequent system restarts, and the service running in the backround, it would be convenient to always know what the secret would be.

@tuxitor
Copy link
Contributor

tuxitor commented Apr 23, 2017

It would be nice to have a link on the graph screen pointing to the log. Which brings another question. How is it possible to expose data from the trader to the web screen?

It could be useful to see some of trading parameters on the graph screen. Notably RSI up, RSI down values along with the actual RSI value. Even better if it's possible to adjust the values on the fly, and possibly stop and start active trading trom the graph screen. It could be placed above the graph along with the pulldown menues.

@Krono5
Copy link
Author

Krono5 commented May 3, 2017

I have found the setting that you can change the secret to one that you wish. In directory file:
/zenbot/plugins/server/action.js

By changing the line:
var secret = get_id()

to something of your choice, an example being:
var secret = "this_is_your_secret"

will allow you to enter that secret every time when accessing the server such as:
http://localhost:3013/?secret=this_is_your_secret

I know carlos mentioned that they were looking to create a way to do this in future releases, this might provide an easy solution with a simple setter.

@Krono5 Krono5 changed the title Disable the need for secret when accessing trade bot Disable the need for secret when accessing trade bot / Change secret to known value May 3, 2017
@DeviaVir
Copy link
Owner

DeviaVir commented Jun 3, 2017

This is now no longer supported by zenbot 4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants