Skip to content

Commit

Permalink
nice
Browse files Browse the repository at this point in the history
  • Loading branch information
basedafdev committed Jul 20, 2018
1 parent 817991f commit 3483865
Show file tree
Hide file tree
Showing 3,905 changed files with 830,930 additions and 976,044 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
221 changes: 221 additions & 0 deletions PriceVolumeAnalysis.kv
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
<CustButton@Button>
font_size: 32
background_color: .55,.5,.4,.6
<SortButton@Button>

<MoreInfo@Button>
pos_hint: {'left': 1, 'top': 1}
text: 'More Info'
font_size: 15
size_hint: (.4,1)
<CalcGridLayout>:
id: calculator

rows: 5
cols: 3
padding: 30
spacing: 10


BoxLayout:
DatePicker:

id: date
CustButton:
text: "Set Date"
font_size: 15
on_press:
calculator.set_date(date)
one.text = calculator.top_ten("1")
two.text = calculator.top_ten("2")
three.text = calculator.top_ten("3")
four.text = calculator.top_ten("4")
five.text = calculator.top_ten("5")
six.text = calculator.top_ten("6")
seven.text = calculator.top_ten("7")
eight.text = calculator.top_ten("8")
nine.text = calculator.top_ten("9")
ten.text = calculator.top_ten("10")
BoxLayout:
orientation: 'vertical'
Label:
text: calculator.fake_init()
font_size: 25
color: 1,1,1,1
outline_width: 4
outline_color: .66,.66,.66,1
BoxLayout:
orientation: 'horizontal'
CustButton:
text: "low to high"
font_size: 20
on_press:
calculator.sort_by_price_low_to_high()
one.text = calculator.top_ten("1")
two.text = calculator.top_ten("2")
three.text = calculator.top_ten("3")
four.text = calculator.top_ten("4")
five.text = calculator.top_ten("5")
six.text = calculator.top_ten("6")
seven.text = calculator.top_ten("7")
eight.text = calculator.top_ten("8")
nine.text = calculator.top_ten("9")
ten.text = calculator.top_ten("10")
CustButton:
text: "high to low"
font_size: 20
on_press:
calculator.sort_by_price_high_to_low()
one.text = calculator.top_ten("1")
two.text = calculator.top_ten("2")
three.text = calculator.top_ten("3")
four.text = calculator.top_ten("4")
five.text = calculator.top_ten("5")
six.text = calculator.top_ten("6")
seven.text = calculator.top_ten("7")
eight.text = calculator.top_ten("8")
nine.text = calculator.top_ten("9")
ten.text = calculator.top_ten("10")

BoxLayout:
orientation: 'vertical'
Label:
text: "Sort by Volume"
font_size: 25
color: 1,1,1,1
outline_width: 4
outline_color: .66,.66,.66,1
BoxLayout:
orientation: 'horizontal'
CustButton:
text: "low to high"
font_size: 20
on_press:
calculator.sort_by_volume_low_to_high()
one.text = calculator.top_ten("1")
two.text = calculator.top_ten("2")
three.text = calculator.top_ten("3")
four.text = calculator.top_ten("4")
five.text = calculator.top_ten("5")
six.text = calculator.top_ten("6")
seven.text = calculator.top_ten("7")
eight.text = calculator.top_ten("8")
nine.text = calculator.top_ten("9")
ten.text = calculator.top_ten("10")
CustButton:
text: "high to low"
font_size: 20
on_press:
calculator.sort_by_volume_high_to_low()
one.text = calculator.top_ten("1")
two.text = calculator.top_ten("2")
three.text = calculator.top_ten("3")
four.text = calculator.top_ten("4")
five.text = calculator.top_ten("5")
six.text = calculator.top_ten("6")
seven.text = calculator.top_ten("7")
eight.text = calculator.top_ten("8")
nine.text = calculator.top_ten("9")
ten.text = calculator.top_ten("10")


Button:
text: 'Get full List'
on_press: calculator.full_list()
BoxLayout:
Image:
source: "images/gay.png"
BoxLayout:
CustButton:
id: one
text: calculator.top_ten("1")
on_press: calculator.get_info(one)
background_color: (0, 0.6, 0.2, 1.0)
font: 10
MoreInfo:
on_press: calculator.pull_up_ticker(one)
BoxLayout:
CustButton:
id: two
text: calculator.top_ten("2")
on_press: calculator.get_info(two)
background_color: (0, 0.6, 0, 1.0)
MoreInfo:
on_press: calculator.pull_up_ticker(two)
BoxLayout:
CustButton:
id: three
text: calculator.top_ten("3")
on_press: calculator.get_info(three)
background_color: (.4, 0.6, 0, 1.0)

MoreInfo:
on_press: calculator.pull_up_ticker(three)
BoxLayout:
CustButton:
id: four
text: calculator.top_ten("4")
on_press: calculator.get_info(four)
background_color: (.6, 0.8, 0, 1.0)
MoreInfo:

on_press: calculator.pull_up_ticker(four)
BoxLayout:
CustButton:
id: five
text: calculator.top_ten("5")
on_press: calculator.get_info(five)
background_color: (.8, 0.8, 0, 1.0)
MoreInfo:
on_press: calculator.pull_up_ticker(five)

BoxLayout:
CustButton:
id: six
text: calculator.top_ten("6")
on_press: calculator.get_info(six)
background_color: (.8, 0.6, 0, 1.0)

MoreInfo:

on_press: calculator.pull_up_ticker(six)
BoxLayout:
CustButton:
id: seven
text: calculator.top_ten("7")
on_press: calculator.get_info(seven)
background_color: (1, 0.8, 0, 1.0)
MoreInfo:


on_press: calculator.pull_up_ticker(seven)
BoxLayout:
CustButton:
id: eight
text: calculator.top_ten("8")
on_press: calculator.get_info(eight)
background_color: (1, 0.6, .2, 1.0)
MoreInfo:

on_press: calculator.pull_up_ticker(eight)
BoxLayout:
CustButton:
id: nine
text: calculator.top_ten("9")
on_press: calculator.get_info(nine)
background_color: (1, 0.4, 0, 1.0)
MoreInfo:

on_press: calculator.pull_up_ticker(nine)
BoxLayout:
CustButton:
id: ten
text: calculator.top_ten("10")

background_color: (1, 0.4, 0, 1.0)
on_press: calculator.get_info(ten)


MoreInfo:

on_press: calculator.pull_up_ticker(ten)
Binary file added __pycache__/browser.cpython-36.pyc
Binary file not shown.
Binary file modified __pycache__/calendar_ui.cpython-36.pyc
Binary file not shown.
Binary file modified __pycache__/company.cpython-36.pyc
Binary file not shown.
Binary file modified __pycache__/directory.cpython-36.pyc
Binary file not shown.
Binary file modified __pycache__/load_files.cpython-36.pyc
Binary file not shown.
Loading

0 comments on commit 3483865

Please sign in to comment.