-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.py
53 lines (39 loc) · 1.19 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
COINS_SYMBOL = "BTCUSDT"
COIN_MAXIMUM_PRICE = 100000
START_DEPOSIT = 1000
LEVERAGE = 1
OPEN_POSITION_FEE_PERCENT = 0.01 * LEVERAGE
CLOSE_POSITION_FEE_PERCENT = 0.01 * LEVERAGE
USE_LONG_POSITIONS = True
USE_SHORT_POSITIONS = True
TAKE_PROFIT_PERCENTS_LIST = [1]
STOP_LOSS_PERCENTS_LIST = [-1] * len(TAKE_PROFIT_PERCENTS_LIST)
MOVING_AVERAGE_SIZE = 50
START_YEAR = 2022
START_MONTH = 7
START_DAY = 1
START_HOUR = 0
START_MINUTE = 0
START_SECOND = 0
END_YEAR = 2022
END_MONTH = 8
END_DAY = 1
END_HOUR = 0
END_MINUTE = 0
END_SECOND = 0
TIMEFRAME = "m1"
INDICATORS_TIMEFRAME = "m15"
IMPORTANT_RECENT_CANDLES_TIMEFRAME = "m15"
IMPORTANT_RECENT_CANDLES_COUNT = 256
OPEN_POSITION_TIMEFRAME = "m15"
ALL_TIMEFRAMES_LIST = ["m1", "m5", "m15", "m30", "h1", "h2", "h4", "d1", "w1"]
REPORT_PERCENTILES_COUNT = 20
TRAIN_CSV_FILE_PATH = "train_set.csv"
TEST_CSV_FILE_PATH = "test_set.csv"
CSV_FILE_DELIMITER = ","
PLOT_FILE_PATH = "plot.png"
CANDLES_PLOT_FILE_PATH = "candles_plot.png"
POSITIONS_CSV_REPORT_FILE_PATH = "positions.csv"
DEPOSIT_CHANGES_CSV_REPORT_FILE_PATH = "deposit_changes.csv"
TEST_SET_SIZE_RATIO = 0.1
MINIMUM_NUMBER_OF_CANDLES_TO_START_TRADING = 256