diff --git a/sysinit/futures/repocsv_spotfx_prices.py b/sysinit/futures/repocsv_spotfx_prices.py index fa205508f8..786dc6145a 100755 --- a/sysinit/futures/repocsv_spotfx_prices.py +++ b/sysinit/futures/repocsv_spotfx_prices.py @@ -4,14 +4,15 @@ WARNING WILL OVERWRITE EXISTING! """ from sysdata.csv.csv_spot_fx import csvFxPricesData -from sysproduction.data.currency_data import fxPricesData +from sysproduction.data.currency_data import dataCurrency -db_fx_price_data = fxPricesData() if __name__ == "__main__": input("Will overwrite existing prices are you sure?! CTL-C to abort") + dataCurrency = dataCurrency() csv_fx_prices = csvFxPricesData() + db_fx_price_data = dataCurrency.db_fx_prices_data currency_code = input("Currency code? ") if currency_code == "":