Closed ThatFack closed 1 year ago
please do not mix multiple issues that are not connected.
if your virtual environment says bybit does not support futures, then you're using an old version (or have some other missconfiguration). The version you specify does not correspond to the version the logs show - which is a first sign of a missconnect - which also proofs why different issues should not be mixed.
I'd also ask you to not use uppercase letters in issue titles. we'll close issues once we seem them as solved / once we get no answer. A screaming title will probably speed this process up (simply because it immediately reads unfriendly), causing the opposite effect than what you'd like
Now for your Module error - i think you're simply not using it correctly.
i've quickly tried to install it locally - and it doesn't seem to provide an import named market_profile
. Best ask the module author how to install / use the module (unlikely to get a response, last commit was 5 years ago) - or ask the strategy author (you clearly didn't write that yourself, otherwise this wouldn't be a problem) what the CORRECT module is (this is not the one used in the strategy).
Hello Matias, I edited my title to uppercase because I solved the problem myslef and wanted to delete the issue but it seems we cannot so I decided to added a tag "DO NOT CONSIDER", I am sorry if you felt uncomfortable with it.
Thank you for taking the time to read and answer. I indeed write my strategy myself, I was just importing market_profile instead on MarketProfile because I ran several test on my environment and when I ran pip freeze | Select-String market
I've seen that I had multiple market profile library and was importing the wrong one. Issue was solved sorry to reach out early I though I was missing something on Docker as I am quite new to it.
Thanks again!
it actually red "PLEASE DO NOT CONSIDER ISSUE SOLVED" - which does not hint at the fact that you solved the issue, but sounds like a command "dare you close this issue, it's not solved" ... 😆
While you can't delete issues - you can always do is close the issue yourself (close button at the bottom).
Ohhh indeed I apologize my english is not that good ahaha! Wish you a lovely day from France ahah and thanks again for your time! ;)
PLEASE DO NOT CONSIDER I FOUND MY MISTAKE SORRY TO REACH OUT FOR NOTHING
Describe your environment
Hello ! I am completely new to docker and I am running into this issue :
Please see below my configs files and the commands I run :
Docker-compose.yml
Docker-compose.local.yml
Dockerfile.env
When i run this :
docker-compose -f docker-compose.yml -f docker-compose.local.yml run --rm freqtrade backtesting --config user_data/config.json --strategy ${STRATEGY} --timerange 20220901-20230401 -i 1m
I can see that the market_profile module is indeed downloaded and exported to the image, please see below the output :
Then I got this error about a missing python module :
I know that my strategy has no Python code error as I can backtest it on my virutalenv but I got a weird error saying that futures trading is not supported on bybit even thought I am currently running another strategy in live on bybit. This is why I am trying to run it on docker so I have the latest version for sure of freqtrade.
Thank you very much to anyone taking the time to read my issue, really apprieciate your help @xmatthias , seen you on every issue raised and helped me a lot getting into freqtrade.
PS : Here is my config file if needed
Config.json