more pure bash to speed up things
This commit is contained in:
parent
a351a66fc6
commit
3aa6867a18
@ -25,7 +25,9 @@ function get_vars_from_csv {
|
|||||||
readarray -d "," -t f_3_last_line_array < <(echo "0,${f_last_lines_array[1]}")
|
readarray -d "," -t f_3_last_line_array < <(echo "0,${f_last_lines_array[1]}")
|
||||||
readarray -d "," -t f_4_last_line_array < <(echo "0,${f_last_lines_array[0]}")
|
readarray -d "," -t f_4_last_line_array < <(echo "0,${f_last_lines_array[0]}")
|
||||||
|
|
||||||
f_asset=$(basename ${f_ASSET_HIST_FILE} | cut -d\. -f1)
|
unset f_last_lines_array
|
||||||
|
|
||||||
|
#f_asset=$(basename ${f_ASSET_HIST_FILE} | cut -d\. -f1)
|
||||||
|
|
||||||
# basics
|
# basics
|
||||||
get_var_from_line date 1
|
get_var_from_line date 1
|
||||||
@ -123,9 +125,6 @@ f_macd_histogram_signal=${f_macd_histogram_signal}"
|
|||||||
|
|
||||||
# Coingecko price
|
# Coingecko price
|
||||||
get_var_from_line coingecko_price 40
|
get_var_from_line coingecko_price 40
|
||||||
|
|
||||||
unset f_last_lines_array
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_var_from_line {
|
function get_var_from_line {
|
||||||
|
Loading…
Reference in New Issue
Block a user