moved things to a new place !
This commit is contained in:
@@ -4,7 +4,7 @@ import pandas as pd
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
df_candle = pd.read_csv(market_trade.src.constants.TEST_CANDLESTICKS_PATH)
|
||||
df_candle = pd.read_csv(market_trade.constants.TEST_CANDLESTICKS_PATH)
|
||||
df_candle.rename(columns={'timestamp': 'date'}, inplace=True)
|
||||
ind_params = {'MeanType': 'SMA', 'window': 15, 'valueType': 'close', 'kDev': 2.5}
|
||||
signalParams = {'source': 'close', 'target': 'close'}
|
||||
|
||||
@@ -3,11 +3,11 @@ import market_trade.constants
|
||||
|
||||
|
||||
def test_dataloader(data_path):
|
||||
duka_interface = (market_trade.src.dataloader.DukaMTInterface(data_path))
|
||||
duka_interface = (market_trade.data.dataloader.DukaMTInterface(data_path))
|
||||
print(duka_interface.ask_candlesticks)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
candlesticks_filepaths = [filepath for filepath in market_trade.src.constants.CANDLESTICK_DATASETS_PATH.iterdir()]
|
||||
candlesticks_filepaths = [filepath for filepath in market_trade.constants.CANDLESTICK_DATASETS_PATH.iterdir()]
|
||||
candlesticks_filepath = candlesticks_filepaths[0]
|
||||
test_dataloader(candlesticks_filepath)
|
||||
1
market_trade/tests/test_decision.py
Normal file
1
market_trade/tests/test_decision.py
Normal file
@@ -0,0 +1 @@
|
||||
im
|
||||
Reference in New Issue
Block a user