mirror of
https://github.com/Ichinga-Samuel/aiomql.git
synced 2026-07-27 20:27:43 +00:00
17 lines
417 B
Python
17 lines
417 B
Python
import asyncio
|
|
|
|
from aiomql import Bot, ForexSymbol
|
|
|
|
from .strategies.ribbon_scalper import RibbonScalper
|
|
|
|
async def rs_bot():
|
|
bot = Bot()
|
|
syms = ["ETHUSD", "BTCUSD", "ADAUSD", "SOLUSD", "LTCUSD", "XRPUSD"]
|
|
strategies = [RibbonScalper(symbol=ForexSymbol(name=sym)) for sym in syms]
|
|
bot.add_strategies(strategies=strategies)
|
|
await bot.start()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(rs_bot())
|