added coingecko price
This commit is contained in:
parent
6b8ed5408e
commit
433dc36031
@ -203,7 +203,7 @@ do
|
||||
echo "Price, EMA, Levels" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 2,25,26,27,28,29,30,31,32,33,34,35,4,36,37,38,39 green,DarkSlateGrey,DarkSlateGrey,Gold,DarkOrange,DarkOrange,GoldenRod,GoldenRod,GoldenRod,GoldenRod,DarkOrange,DarkOrange,MidnightBlue,Indigo,DarkSlateBlue,DodgerBlue,DeepSkyBlue >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "Score" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 41,45,44,40 Green,Red,Orange >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
genchart analyze-${analyzedate}/chart-${tmpfile} 500 42,46,45,41 Green,Red,Orange >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
#echo "Sell Score" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
#genchart analyze-${analyzedate}/chart-${tmpfile} 500 42 green,blue >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
echo "MACD" >>analyze-${analyzedate}/chart-${tmpfile}.html
|
||||
|
@ -56,7 +56,7 @@ do
|
||||
. ../../dabo-bot.override.conf
|
||||
|
||||
# Headline
|
||||
export csv_headline="Date and Time,Price,Change,EMA12,EMA26,MACD,EMA9 (Sig.),Histogram,MACD Sig.,RSI5,RSI14,RSI21,RSI720,RSI60,RSI120,RSI240,RSI420,Change 24h,Change 7d,Change 14d,Change 30d,Change 1y,MarketCap Change 24h,RANGE PERIODS,LOWEST IN RANGE,HIGHEST IN RANGE,PIVOT POINT,SUPPORT1,RESIST1,GOLDEN POCKET SUPPORT,GOLDEN POCKET RESIST,GOLDEN POCKET 65 SUPPORT,GOLDEN POCKET 65 RESIST,SUPPORT3,RESIST3,EMA50,EMA100,EMA200,EMA800"
|
||||
export csv_headline="Date and Time,Price,Change,EMA12,EMA26,MACD,EMA9 (Sig.),Histogram,MACD Sig.,RSI5,RSI14,RSI21,RSI720,RSI60,RSI120,RSI240,RSI420,Coingecko Change 24h,Coingecko Change 7d,Coingecko Change 14d,Coingecko Change 30d,Coingecko Change 1y,Coingecko MarketCap Change 24h,RANGE DATE,LOWEST IN RANGE,HIGHEST IN RANGE,PIVOT POINT,SUPPORT1,RESIST1,GOLDEN POCKET SUPPORT,GOLDEN POCKET RESIST,GOLDEN POCKET 65 SUPPORT,GOLDEN POCKET 65 RESIST,SUPPORT3,RESIST3,EMA50,EMA100,EMA200,EMA800,Coingecko Price"
|
||||
|
||||
# Timestamp
|
||||
export f_timestamp=$(g_date_print)
|
||||
|
@ -122,6 +122,9 @@ function get_asset {
|
||||
fi
|
||||
done
|
||||
|
||||
# get coingecko price
|
||||
echo -n ,$(jq -r ".[] |select(.symbol==\"${f_asset}\")|\"\\(.current_price)\"" COINGECKO_GET_ASSETS_CMD_OUT) >>${f_ASSET_HIST_FILE}
|
||||
|
||||
# end with newline
|
||||
echo "" >>${f_ASSET_HIST_FILE}
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user