42 lines
1.6 KiB
Python
42 lines
1.6 KiB
Python
### --------- PROGRAMM CONFIGUARTION
|
|
|
|
# Program Functionality Switch
|
|
update_notion = True
|
|
update_TRMNL = True
|
|
calculate_benchmark = True
|
|
|
|
# Program Functionality Configuration
|
|
programm_cooldown_time = 15 # Programm cooldown timer in minutes
|
|
api_cooldowm_time = 0.1 # API cooldown timer in minutes
|
|
trmnl_granularity = 80 # Days in between two data points in the TRMNL chart
|
|
ticker_benchmark = "VGWL.DE" # Ticker to benchmark the trades against
|
|
|
|
# Programm Execution Configuration
|
|
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:
|
|
error = '\033[91m'
|
|
warning = '\033[93m'
|
|
success = '\033[92m'
|
|
info = '\033[90m'
|
|
debug = '\033[4m'
|
|
endcode = '\033[0m'
|
|
|
|
|
|
### --------- 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"
|
|
trmnl_url_chart_3 = "https://usetrmnl.com/api/custom_plugins/a975543a-51dc-4793-b7fa-d6a101dc4025" |