sthewissen / Mynt

An Azure Functions-based crypto currency trading bot; featuring 10 exchanges, 25 indicators, custom strategy support, backtester and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration problem

raphaelpessanha opened this issue · comments

In azure cloud i can't edit configuration values like locally?
When the function is running in Azure, the configuration values are read from App Settings?
So i need to add an app setting, one by one, is it right?

Are you talking about the develop version? If so yes, you need to add an AppSetting in Azure Functions for each setting you want to alter. For settings that you don't set the default value as set in the appropriate Options class will be used. Does that help you?

Let me know if you still have questions about this. I'm looking at updating the documentation sometime soon.

I'm using the master version.
I put all configuration values manually, bot is running but i don't if is is working. I put TelegramBotToken and -221516272, but have no message. There is another way to check is is running well?
print

When running master you currently need to put your configuration values in the Constants class and the appropriate NotificationManagers.

https://github.com/sthewissen/Mynt/blob/master/functions/Mynt.Core/Constants.cs

https://github.com/sthewissen/Mynt/blob/master/functions/Mynt.Core/NotificationManagers/TelegramNotificationManager.cs

One of the reasons we're improving the experience in the develop branch is that it isn't the best thing in master right now.

Now that develop is merged into master and the Wiki is updated I'm closing this question. It is described in the wiki.