better retries and new marketdata
This commit is contained in:
parent
2ea53eb566
commit
3d6e2ff514
@ -7,8 +7,8 @@ export LANGUAGE="en_US"
|
||||
### CONFIG ###
|
||||
|
||||
BASEPATH=/dabo/htdocs
|
||||
g_tries=3
|
||||
g_tries_delay=5
|
||||
g_tries=5
|
||||
g_tries_delay=10
|
||||
|
||||
### FUNCTIONS ###
|
||||
for bashfunc in $(find ${BASEPATH}/../functions -type f -name "*.sh")
|
||||
@ -41,7 +41,6 @@ done
|
||||
# run endless loop
|
||||
while true
|
||||
do
|
||||
|
||||
# wait until next full minute in the beginning to be able to work with continue in this loop
|
||||
if [ -f firstloop ]
|
||||
then
|
||||
@ -52,6 +51,7 @@ do
|
||||
fi
|
||||
|
||||
# reload config
|
||||
g_tries_delay=$(shuf -i 5-15 -n 1)
|
||||
. ../../dabo-bot.conf
|
||||
. ../../dabo-bot.override.conf
|
||||
|
||||
|
@ -95,12 +95,19 @@ function get_assets {
|
||||
export csv_headline
|
||||
. /tmp/parallel
|
||||
|
||||
get_marketdata https://www.boerse.de/realtime-kurse/MSCI-World/XC0009692739 MSCI-WORLD-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/Dow-Jones/US2605661048 DOW-JONES-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/SundP-500/US78378X1072 SP500-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/Nasdaq-100/US6311011026 NASDAQ-INDEX
|
||||
get_marketdata https://www.investing.com/indices/msci-eafe MSCI-EAFE-INDEX
|
||||
get_marketdata https://www.investing.com/indices/10-year-treasury-yield 10-YEAR-TREASURY-YIELD-INDEX
|
||||
get_marketdata https://www.boerse.de/rohstoffe/WTI-Rohoelpreis/XD0015948363 OIL-INVERTED-INDEX
|
||||
#get_marketdata https://www.boerse.de/aktien/Nvidia-Aktie/US67066G1040 NVIDIA-INDEX
|
||||
#get_marketdata https://www.boerse.de/aktien/Tesla-Aktie/US88160R1014 TESLA-INDEX
|
||||
#get_marketdata https://www.boerse.de/aktien/Apple-Aktie/US0378331005 APPLE-INDEX
|
||||
get_marketdata https://www.boerse.de/realtime-kurse/MSCI-World/XC0009692739 MSCI-WORLD-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/DJ-AMER-OIL-und-GAS/XC0006886516 OIL-GAS-INVERTED-INDEX
|
||||
get_marketdata https://www.boerse.de/fonds/SPDR-SundP-Regional-Banking-ETF/US78464A6982 KRE-BANKING-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/Dax/DE0008469008 DAX-INDEX
|
||||
get_marketdata https://www.boerse.de/indizes/Nasdaq-100/US6311011026 NASDAQ-INDEX
|
||||
get_marketdata https://www.investing.com/indices/usdollar DXY-INVERTED-INDEX
|
||||
get_marketdata https://www.investing.com/economic-calendar/unemployment-rate-300/ US-UNEMPLOYMENT-INDEX
|
||||
get_marketdata https://www.investing.com/economic-calendar/cpi-733 US-CONSUMER-PRICE-INDEX
|
||||
|
Loading…
Reference in New Issue
Block a user