jeeva780 commited on
Commit
9703865
·
verified ·
1 Parent(s): fea47eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,12 +16,13 @@ your_instance = YourClass()
16
  con10, con20 = st.columns(2)
17
  st.success('*_Setup_*')
18
  with con10:
19
- time = st.selectbox('*_Time_*', ('1','5','15','30','60','120','240','D','1W','1M'),key=1)
 
20
  if time == 'D':
21
  time = 'close'
22
  with con20:
23
- price_from = st.number_input('*_Price_from_*', min_value=float(1), max_value=float(10000), value=float(100), step=float(5),key=23)
24
- price_to = st.number_input('*_Price_from_*', min_value=float(1), max_value=float(10000), value=float(200), step=float(5),key=2)
25
 
26
  def create_link(url:str) -> str:
27
  return f'<a href="https://in.tradingview.com/chart/?symbol={url}">{url}</a>'
 
16
  con10, con20 = st.columns(2)
17
  st.success('*_Setup_*')
18
  with con10:
19
+ st.write('')
20
+ time = st.selectbox('*_Time Frame_*', ('1','5','15','30','60','120','240','D','1W','1M'),key=1)
21
  if time == 'D':
22
  time = 'close'
23
  with con20:
24
+ price_from = st.number_input('*_Price_From_*', min_value=float(1), max_value=float(10000), value=float(100), step=float(5),key=23)
25
+ price_to = st.number_input('*_Price_To_*', min_value=float(1), max_value=float(10000), value=float(200), step=float(5),key=2)
26
 
27
  def create_link(url:str) -> str:
28
  return f'<a href="https://in.tradingview.com/chart/?symbol={url}">{url}</a>'