7
7
<div class =" content-wrapper" >
8
8
<!-- Content Header (Page header) -->
9
9
<section class =" content-header" >
10
- <div class =" container-fluid " >
10
+ <div class =" container" >
11
11
<div class =" row mb-2" >
12
12
<div class =" col-sm-6" >
13
13
<h1 >Backtesting</h1 >
25
25
26
26
<!-- Main content -->
27
27
<div class =" content" >
28
- <div class =" container-fluid " >
28
+ <div class =" container" >
29
29
<div class =" row" >
30
30
<div class =" col-md-12" >
31
31
<div class =" card" >
38
38
<div class =" col-sm" >
39
39
<div class =" form-group" >
40
40
<label for =" form-pair" >Pair</label >
41
- <select class =" form-control" id =" form-pair" name =" pair" required >
41
+ <select class =" form-control chosen-select " id =" form-pair" name =" pair" data-placeholder = " Select one or multiple symbols " required multiple >
42
42
{% for pair in pairs %}
43
43
<option data-options =" {% if pair .options %}{{ pair .options | format_json| escape (' html' ) }}{% endif %}" >{{ pair .name }}</option >
44
44
{% endfor %}
45
45
</select >
46
+ <small class =" form-text text-muted" >Select one for detail view or multiple for a profit overview</small >
46
47
</div >
47
48
48
49
<div class =" form-group" >
49
50
<label for =" form-strategies" >Strategy</label >
50
- <select class =" form-control" id =" form-strategies" name =" strategy" required >
51
+ <select class =" form-control chosen-select " id =" form-strategies" name =" strategy" required >
51
52
<option disabled selected value > -- select an option -- </option >
52
53
{% for strategy in strategies %}
53
54
<option data-options =" {% if strategy .options %}{{ strategy .options | format_json| escape (' html' ) }}{% endif %}" >{{ strategy .name }}</option >
64
65
{% endfor %}
65
66
{% endif %}
66
67
</select >
68
+
69
+ <small class =" form-text text-muted" >Candle frequency of the chart on result page</small >
67
70
</div >
68
71
69
72
<div class =" form-group" >
70
73
<label for =" form-hours" >Last Hours</label >
71
74
<input class =" form-control" id =" form-hours" name =" hours" value =" 168" required >
75
+ <small class =" form-text text-muted" >Starting window until now</small >
72
76
</div >
73
77
</div >
74
78
75
79
<div class =" col-sm" >
76
80
<div class =" form-group" >
77
81
<label for =" form-initial-capital" >Initial Capital </label >
78
82
<input class =" form-control" id =" form-initial-capital" name =" initial_capital" value =" 10000" required >
83
+ <small class =" form-text text-muted" >Starting capital for calculating trades and their profit and losses</small >
79
84
</div >
80
85
81
86
<div class =" form-group" >
82
87
<label for =" form-tick-interval" >Signal Tick Interval (in minutes)</label >
83
88
<input class =" form-control" id =" form-tick-interval" name =" ticker_interval" value =" 15" required >
89
+ <small class =" form-text text-muted" >Interval in which the strategy is mainly run</small >
84
90
</div >
85
91
86
92
<div class =" form-group" >
87
93
<label for =" form-options" >Strategy Options</label >
88
94
<textarea class =" form-control" id =" form-options" rows =" 6" name =" options" ></textarea >
95
+ <small class =" form-text text-muted" >Options provided by the strategy itself</small >
89
96
</div >
90
97
</div >
91
98
</div >
111
118
112
119
{% block javascript %}
113
120
<script src =" /js/backtest-form.js?v={{ asset_version() }}" ></script >
121
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.min.js" integrity =" sha512-rMGGF4wg1R73ehtnxXBt5mbUfN9JUJwbk21KMlnLZDJh7BkPmeovBuddZCENJddHYYMkCh9hPFnPmS9sspki8g==" crossorigin =" anonymous" ></script >
114
122
{% endblock %}
123
+
124
+ {% block stylesheet %}
125
+ <link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.min.css" integrity =" sha512-yVvxUQV0QESBt1SyZbNJMAwyKvFTLMyXSyBHDO4BG5t7k/Lw34tyqlSDlKIrIENIzCl+RVUNjmCPG+V/GMesRw==" crossorigin =" anonymous" />
126
+ {% endblock %}
0 commit comments