added transaction and portfolio commands

This commit is contained in:
Linus E
2022-04-17 11:57:28 +02:00
parent 5078660ce1
commit 543c51397e
2 changed files with 66 additions and 2 deletions

View File

@@ -33,6 +33,10 @@ class API_Handler:
get_user_transactions(user_id): gets the transactions of the user
set_transaction(user_id, transaction): sets the transaction of the user
delete_transaction(user_id, transaction): deletes the transaction of the user
get_user_portfolio(user_id): gets the portfolio of the user
set_portfolio(user_id, portfolio): sets the portfolio of the user
delete_portfolio(user_id, portfolio): deletes the portfolio of the user
set_cron_interval(user_id, interval): sets the cron interval of the user
"""