restoring from backup
This commit is contained in:
39
config.py
Normal file
39
config.py
Normal file
@@ -0,0 +1,39 @@
|
||||
### --------- PROGRAMM CONFIGUARTION
|
||||
programm_cooldown_time = 15 # Programm cooldown timer in minutes
|
||||
api_cooldowm_time = 0.1 # API cooldown timer in minutes
|
||||
trmnl_granularity = 70 # Days in between two data points in the TRMNL chart
|
||||
|
||||
### Logging
|
||||
selected_logging_level = "warning" # must be one from the list below
|
||||
logging_levels = ("none", "error", "success", "warning", "info", "debug") # ordered by amount of logs
|
||||
|
||||
class log_colors:
|
||||
# Code for start of coloring (MUST match logging-levels above)
|
||||
error = '\033[91m'
|
||||
warning = '\033[93m'
|
||||
success = '\033[92m'
|
||||
info = '\033[90m'
|
||||
debug = '\033[4m'
|
||||
# Code for end of coloring
|
||||
endcode = '\033[0m'
|
||||
|
||||
# Fuctionality
|
||||
update_notion = True
|
||||
update_TRMNL = True
|
||||
|
||||
### --------- API CONFIGURATION
|
||||
# NOTION
|
||||
notion_token = "secret_b7PiPL2FqC9QEikqkAEWOht7LmzPMIJMWTzUPWwbw4H"
|
||||
notion_headers = {
|
||||
"Authorization": "Bearer " + notion_token,
|
||||
"Content-Type": "application/json",
|
||||
"Notion-Version": "2022-02-22"
|
||||
}
|
||||
notion_db_id_trades = "95f7a2b697a249d4892d60d855d31bda"
|
||||
notion_db_id_investments = "2ba10a5f51bd8160ab9ee982bbef8cc3"
|
||||
notion_db_id_performance = "1c010a5f51bd806f90d8e76a1286cfd4"
|
||||
|
||||
# TRMNL
|
||||
trmnl_headers = {"Content-Type": "application/json"}
|
||||
trmnl_url_chart_1 = "https://usetrmnl.com/api/custom_plugins/334ea2ed-1f20-459a-bea5-dca2c8cf7714"
|
||||
trmnl_url_chart_2 = "https://usetrmnl.com/api/custom_plugins/72950759-38df-49eb-99fb-b3e2e67c385e"
|
||||
Reference in New Issue
Block a user