Giter VIP home page Giter VIP logo

aiomql's Introduction

  • 👋 Hi, I’m Ichinga Samuel
  • 👀 I’m interested in building awesome software💪
  • 📫 How to reach me [email protected]

aiomql's People

Contributors

ichinga-samuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aiomql's Issues

TradeResult

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

import error

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

error

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

backtest

do you have backtest in your framwork?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.