mirror of
https://github.com/Ichinga-Samuel/aiomql.git
synced 2026-08-15 12:58:06 +00:00
v4.1.2
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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())
|
||||
Reference in New Issue
Block a user