kraken-bot/app.py
Eric Meehan e2034cfa65 Post log messages to Matrix (#6)
Reverted to MyStrategy instead of Cerebro experiments and implemented base functionality for a Matrix logging mechanism.

Reviewed-on: #6
2025-02-09 15:48:04 +00:00

20 lines
432 B
Python

import asyncio
from dotenv import load_dotenv
from kraken_bot.KrakenBot import KrakenBot
from kraken_bot.LinearRegression import LinearRegression
from kraken_bot.MyStrategy import MyStrategy
load_dotenv()
bot = KrakenBot(
tier = 'Pro',
model = LinearRegression(),
trading_strategy = MyStrategy()
)
if __name__ == '__main__':
asyncio.run(bot.update(full=True))
asyncio.run(bot.execute())