Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log to a file #12

Closed
JDJoe opened this issue Jan 21, 2020 · 3 comments
Closed

Add log to a file #12

JDJoe opened this issue Jan 21, 2020 · 3 comments

Comments

@JDJoe
Copy link

JDJoe commented Jan 21, 2020

When running it via apache, there is no way to see how exchange replies or if something happens. So, some kind log file is needed.

@robswc
Copy link
Owner

robswc commented Jan 29, 2020

Added in 2020.1 branch. Will eventually merge into main branch, 2020.1 should be considered a beta for the time being.

https://github.com/Robswc/tradingview-webhooks-bot/tree/2020.1

Logging is turned on by default, goes to a csv file.

@robswc robswc closed this as completed Jan 29, 2020
@JDJoe
Copy link
Author

JDJoe commented Jan 31, 2020

BTW, how do I use it?
I have the file you added but what's next? :)

@robswc
Copy link
Owner

robswc commented Jan 31, 2020

It should log any incoming POST requests and orders to the logs/log.csv file.

It can also display them via the GUI, which is the app.py file. Will think of a better name eventually lol

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

No branches or pull requests

2 participants