FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Tradingview-Techinal-Indicator-Using-Python/main.py at main · turtlecode/Tradingview-Techinal-Indicator-Using-Python · GitHub
turtlecode
/
Tradingview-Techinal-Indicator-Using-Python
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Tradingview-Techinal-Indicator-Using-Python
/
main.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (48 loc) · 1.85 KB
Breadcrumbs
Tradingview-Techinal-Indicator-Using-Python
/
main.py
Copy path
File metadata and controls
60 lines (48 loc) · 1.85 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
54
55
56
57
58
59
60
from
tradingview_ta
import
TA_Handler
,
Interval
,
Exchange
import
customtkinter
import
tkinter
app
=
customtkinter
.
CTk
()
customtkinter
.
set_appearance_mode
(
"light"
)
customtkinter
.
set_default_color_theme
(
"blue"
)
app
.
title
(
"Turtle Code"
)
app
.
geometry
(
"960x960"
)
bottomframe
=
tkinter
.
Frame
(
app
)
bottomframe
.
pack
(
expand
=
True
)
def
button_event
():
text
=
search
.
get
()
output
=
TA_Handler
(
symbol
=
text
,
screener
=
"Crypto"
,
exchange
=
"Coinbase"
,
interval
=
Interval
.
INTERVAL_5_MINUTES
)
label
.
set_text
(
str
(
output
.
get_analysis
().
summary
[
'RECOMMENDATION'
]))
print
(
'Symbol : '
+
text
)
search
=
customtkinter
.
CTkEntry
(
master
=
bottomframe
,
placeholder_text
=
'Enter a text'
,
text_font
=
(
'Helvetica'
,
28
),
width
=
800
,
height
=
100
,
border_width
=
2
,
corner_radius
=
10
)
search
.
pack
()
button
=
customtkinter
.
CTkButton
(
master
=
bottomframe
,
width
=
500
,
height
=
100
,
border_width
=
0
,
corner_radius
=
8
,
text
=
"Search"
,
text_font
=
(
'Helvetica'
,
28
),
fg_color
=
"yellow"
,
command
=
button_event
)
button
.
pack
()
label
=
customtkinter
.
CTkLabel
(
master
=
bottomframe
,
text
=
""
,
text_color
=
"black"
,
width
=
400
,
height
=
100
,
text_font
=
(
'Helvetica'
,
14
),
fg_color
=
(
"white"
),
corner_radius
=
8
)
label
.
pack
()
app
.
mainloop
()
Back
|
FazBrowse Home
|
New Git URL