- 👋 Hi, I’m Ichinga Samuel
- 👀 I’m interested in building awesome software💪
- 📫 How to reach me [email protected]
ichinga-samuel / aiomql Goto Github PK
View Code? Open in Web Editor NEWAsynchronous Python Library For MetaTrader 5
License: MIT License
Asynchronous Python Library For MetaTrader 5
License: MIT License
how to login multi user in your platform
hey my friend, I ran this code and that had error
def build_bot():
bot = Bot()
st = FingerTrap(symbol=ForexSymbol(name='EURUSD'))
st1 = FingerTrap(symbol=ForexSymbol(name='GBPUSD'))
st3 = FingerTrap(symbol=ForexSymbol(name='EURGBP'))
st4 = FingerTrap(symbol=ForexSymbol(name='EURAUD'))
bot.add_strategies([st1, st, st3, st4])
bot.execute()
build_bot()
error :
No Config File Found
No Config File Found
No Config File Found
No Config File Found
EURGBP not a available for this market
EURAUD not a available for this market
EURUSD not a available for this market
GBPUSD not a available for this market
Trading EURUSD
Trading EURAUD
'NoneType' object has no attribute 'data'. Error in FingerTrap.check_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.check_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.confirm_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.confirm_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.check_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.check_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.confirm_trend
'NoneType' object has no attribute 'data'. Error in FingerTrap.confirm_trend
hey friend
I think that you remove TradeResult
but in file /src/aiomql/lib/traders/simple_deal_trader.py
you use it
from .trade_result import TradeResult
result.profit = await self.order.calc_profit()
await TradeResult(result=result, parameters=params).save() #line 60
do you have backtest in your framwork?
I have an error
No Config File Found
Traceback (most recent call last):
File "C:\bot\example.py", line 1, in
from lib.strategies.finger_trap import FingerTrap
File "C:\bot\lib_init_.py", line 1, in
from .strategies.finger_trap import FingerTrap
File "C:\bot\lib\strategies\finger_trap.py", line 5, in
from ..traders.simple_deal_trader import DealTrader
File "C:\bot\lib\traders\simple_deal_trader.py", line 4, in
from aiomql.utils import dict_to_string
File "C:\Users\AS\miniconda3\lib\site-packages\aiomql_init_.py", line 3, in
from .strategy import Strategy
File "C:\Users\AS\miniconda3\lib\site-packages\aiomql\strategy.py", line 10, in
from .candle import Candles, Candle
File "C:\Users\AS\miniconda3\lib\site-packages\aiomql\candle.py", line 2, in
from typing import Type, TypeVar, Generic, Self
ImportError: cannot import name 'Self' from 'typing' (C:\Users\AS\miniconda3\lib\typing.py)
and I fix it to remove Self from candle.py line 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.