Comments (26)
I don't think I will have time, the next few month, to take a look at this issue ...
Happy that everything is' working for you now !
from crypto-signal.
You can use my fork, it's fully working with new changes of the main branch.
from crypto-signal.
It's better if you use this config file (the one in the documentation).
The one you've found was just for dev/debug purpose an so, it's not working with the current release.
settings:
log_level: INFO
update_interval: 120
start_worker_interval: 2
market_data_chunk_size: 1
timezone: Europe/Paris
exchanges:
kraken:
required:
enabled: true
all_pairs:
- USD
indicators:
rsi:
- enabled: true
alert_enabled: true
alert_frequency: always
signal:
- rsi
hot: 30
cold: 70
candle_period: 1h
period_count: 14
- enabled: true
alert_enabled: true
alert_frequency: always
signal:
- rsi
hot: 40
cold: 60
candle_period: 1d
period_count: 14
bollinger:
- enabled: true
candle_period: 1h
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:
- low_band
- close
- up_band
mute_cold: false
- enabled: true
candle_period: 1d
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:
- low_band
- close
- up_band
mute_cold: false
aroon_oscillator:
- enabled: true
alert_enabled: true
alert_frequency: always
sma_vol_period: 50
period_count: 14
signal:
- aroon
candle_period: 1h
conditionals:
- label: "Signal to buy"
hot:
- rsi: 0
- rsi: 1
cold:
- bollinger: 0
- label: "Signal to buy"
hot:
- rsi: 1
- label: "Signal to sell"
cold:
- rsi: 1
- rsi: 0
hot:
- aroon_oscillator: 0
notifiers:
telegram:
required:
token: X
chat_id: Y
optional:
parse_mode: html
template: "[{{market}}] {{indicator}} {{status}} {{values}} {{ '\n' -}}"
Just replace the X and Y with your token and chat id.
You can also modify the timezone if you don't live in Paris.
from crypto-signal.
from crypto-signal.
It's because you have to modify app/defaults.yml
and set alert_enabled: true
to alert_enabled: false
or in your app/config.yml
define all indicators in app/defaults.yml
and set them to enabled: false
if you don't need infos on them or alert_enabled: false
if you don't want to receive notifications.
from crypto-signal.
To simplify ;) If I set alert_enabled: false in my config for each individual indicator (rsi and mfi for example) I will ONLY get the conditional notifs ?
from crypto-signal.
No you have to set alert_enabled
to false only for indicators you don't want to receive notifications.
If you want, when I come back home, I can give you an example of the app/defaults.yml
to use with the config file given above.
from crypto-signal.
ok thanks. I've tested again, and still not getting the conditional labeled notif ;)
In my config as you can see I've set everything else to false, so notif are fast ! This si great.
But still not succeeding to make it work for conditionals !
Does it mean I have to setup things in defaults ? rather than my personal config ???
ok See you later then, thanks
from crypto-signal.
Try this config.yml
:
settings:
log_level: INFO
update_interval: 900
start_worker_interval: 2
market_data_chunk_size: 1
timezone: Europe/Paris
exchanges:
kraken:
required:
enabled: true
all_pairs:
- EUR
exclude:
- XBTEUR.d
- ETHEUR.d
- USDC
- USDT
- MLN
indicators:
rsi:
- enabled: true
alert_enabled: true
alert_frequency: multi
signal:
- rsi
hot: 30
cold: 70
candle_period: 1h
period_count: 14
- enabled: true
alert_enabled: true
alert_frequency: multi
signal:
- rsi
hot: 40
cold: 60
candle_period: 1d
period_count: 14
- enabled: true
alert_enabled: true
alert_frequency: multi
signal:
- rsi
hot: 30
cold: 70
candle_period: 1d
period_count: 14
momentum:
- enabled: false
alert_enabled: false
mfi:
- enabled: false
alert_enabled: false
obv:
- enabled: false
alert_enabled: false
stoch_rsi:
- enabled: false
alert_enabled: false
macd_cross:
- enabled: true
candle_period: 1d
alert_enabled: true
alert_frequency: always
signal:
- macd
- signal
mute_cold: false
ichimoku:
- enabled: false
alert_enabled: false
iiv:
- enabled: false
alert_enabled: false
ma_crossover:
- enabled: true
candle_period: 1d
alert_enabled: true
alert_frequency: once
exponential: true
ma_fast: 50
ma_slow: 120
signal:
- open
- close
bollinger:
- enabled: true
candle_period: 1h
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:
- low_band
- close
- up_band
mute_cold: false
- enabled: true
candle_period: 1d
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:
- low_band
- close
- up_band
mute_cold: false
aroon_oscillator:
- enabled: true
alert_enabled: true
alert_frequency: always
sma_vol_period: 50
period_count: 14
signal:
- aroon
candle_period: 1h
informants:
lrsi:
- enabled: false
vwap:
- enabled: false
sma:
- enabled: false
ema:
- enabled: false
alert_enabled: false
bollinger_bands:
- enabled: false
ohlcv:
- enabled: false
conditionals:
- label: "Buy short"
hot:
- rsi: 0
- rsi: 1
- bollinger: 0
cold:
- aroon_oscillator: 0
notifiers:
telegram:
required:
token: X
chat_id: Y
optional:
parse_mode: html
template: "[{{market}}] {{indicator}} {{status}} {{values}} {{ '\n' -}}"
from crypto-signal.
Just tried. I'm getting all the notifications !
from crypto-signal.
Only conditional notifications ?
from crypto-signal.
from crypto-signal.
The only things that can cause this is that you are not using my fork
from crypto-signal.
I've followed your installation steps.
Then I did : docker build -t dev/crypto-signals:latest .
docker run --rm -ti -v $PWD/app:/app dev/crypto-signals:latest
I will redo the : git checkout develop
to test it
from crypto-signal.
git checkout develop
M Dockerfile
M LICENSE
M Makefile
M README.md
M default-config.yml
M docker-compose.dev.yml
M docker-compose.yml
Already on 'develop'
Your branch is up-to-date with 'origin/develop'.
from crypto-signal.
Here is the steps I'm doing to reproduce your issue:
git clone https://github.com/w1ld3r/crypto-signal.git
cd crypto-signal/
touch app/config.yml && echo "settings:
log_level: INFO
update_interval: 900
start_worker_interval: 2
market_data_chunk_size: 1
timezone: Europe/Paris
exchanges:
kraken:
required:
enabled: true
all_pairs:
- EUR
exclude:
- XBTEUR.d
- ETHEUR.d
- USDC
- USDT
- MLN
indicators:
rsi:
- enabled: true
alert_enabled: true
alert_frequency: multi
signal:
- rsi
hot: 100
cold: 1
candle_period: 1h
period_count: 14
momentum:
- enabled: false
alert_enabled: false
mfi:
- enabled: false
alert_enabled: false
obv:
- enabled: false
alert_enabled: false
stoch_rsi:
- enabled: false
alert_enabled: false
macd_cross:
- enabled: false
alert_enabled: false
ichimoku:
- enabled: false
alert_enabled: false
iiv:
- enabled: false
alert_enabled: false
ma_crossover:
- enabled: false
alert_enabled: false
bollinger:
- enabled: false
alert_enabled: false
aroon_oscillator:
- enabled: false
alert_enabled: false
informants:
lrsi:
- enabled: false
vwap:
- enabled: false
sma:
- enabled: false
ema:
- enabled: false
alert_enabled: false
bollinger_bands:
- enabled: false
ohlcv:
- enabled: false
conditionals:
- label: test 1
hot:
- rsi: 0
- label: test 2
cold:
- rsi: 0
notifiers:
telegram:
required:
token: X
chat_id: Y
optional:
parse_mode: html
template: \"[{{market}}] {{indicator}} {{status}} {{values}} {{ '\n' -}}\"" > app/config.yml
docker build -t dev/crypto-signals:latest .
docker run --rm -ti -v $PWD/app:/app dev/crypto-signals:latest
And every things is working fine ...
from crypto-signal.
from crypto-signal.
Yes but it's the README of the main project and I haven't touch it
from crypto-signal.
LOL .... Ok so this is the problem LOL
I'm sorry but I followed the steps in YOUR repo ;)
I did not think about this... very sorry !!
So I do not need to git the main one, I just git yours right ?
from crypto-signal.
Yes. I've modify the README to not mislead.
from crypto-signal.
Great ! It will help beginners like me ;)
By the way you speak french ? are you french ? ;)
PS: I still need to find how to get accurat results with stochrsi if you don't mind ....
from crypto-signal.
Hello, i supose 1 condition (label) is the max right? i tried 2 labels but only one works, the last one always.
from crypto-signal.
Hello @zooz124, ou can have as many condition you want. The label will just replace the {{status}}
value for a notification.
I you only get alert for your second condition it's because the first one is never triggered. Don't hesitate to share your config.yml
file for adjustement ;)
from crypto-signal.
Hi thanks for responding quickly, fist of all i changed some files with the help of this:
CryptoSignal@069cc31
That was necessary or your current git is fully prepared for conditionals? thank you very much.
from crypto-signal.
@w1ld3r Thank you very much! It worked finally, awesome job man.
Do you have in mind to implement divergences (macd,rsi,price) in the future, I think it would be very helpful.
from crypto-signal.
Glad to know you like it. It can be great yes. If you like create a Feature request
issue.
from crypto-signal.
Related Issues (20)
- [HELP] ABOUT CONDITIONAL HOT 1
- [BUG]docker: Error response from demon HOT 1
- [BUG] CANDLE PERIODE SENT WRONG DATA HOT 7
- Label not printed HOT 1
- Conditionals notifiers HOT 17
- first_run is not working ![BUG] HOT 1
- [BUG] can't open file 'app.py': [Errno 2] No such file or directory HOT 1
- [BUG] Failed to run HOT 5
- error when add indicators HOT 1
- [FEATURE] Implementation of Squeeze Momentum indicator HOT 3
- [FEATURE] Support & Resistance indicators HOT 2
- setup help HOT 9
- Problem with ichimoku HOT 1
- [FEATURE] Get bollinger low/up band values in telegram notifier HOT 1
- [FEATURE] ... I want to make it help me T T HOT 1
- [FEATURE] Added new indicator in the main branch (SQZMOM) HOT 2
- Conditionals notifiers no charts attached HOT 3
- [BUG] defaults.yml in documentation HOT 1
- Doesn't seem to run for me ERROR - no configuration file provided: not found HOT 1
- [BUG] ModuleNotFoundError: No module named 'telegram.utils' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypto-signal.