ericm / stonks

Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal. See how fast your stonks will crash.
https://stonks.icu
GNU General Public License v3.0
544 stars 35 forks source link

The command "Stonks" doesnt work correctly but "Stonks -d 1 spy" works fine. #21

Closed WudUpA closed 3 years ago

WudUpA commented 3 years ago

When I type "Stonks" I get

stonks SPY:

and nothing else.

When i type "Stonks -d -1 spy" I get ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ SPY | 434.57 USD (0.81% | 3.51) on Wed 21/07/2021 14:45 | Prev: 431.06 | PCX ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃434.70│ ┃ ┃434.49│ ╱ ┃ ┃434.27│ ╱ ┃ ┃434.06│ ╱ ────────── ╱ ┃ ┃433.85│ ╱ʌ ╱ ──── ╱ ╱ ╲ ╱ ┃ ┃433.63│ ʌ ╱ ╲ ▁ ╱ ʌ ╱ ╱ ╲ ╱ ┃ ┃433.42│ ╱ ╲ ▔ ╱ ʌ ╱ ╱ ╲ ╱ ╲ ──── ┃ ┃433.21│ ╱ ╲ ╱ ╱ ╲ ──── ┃ ┃432.99│─ ╲╱ ┃ ┃432.78│ ┃ ┃432.57│ ┃ ┃432.35│ ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ ┃ 8.30am 9.15am 10.00am 10.45am 11.30am 12.15pm 1.00pm 1.45pm 2.30pm ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Do you have any idea why it will work with the flags but not without flags?

WudUpA commented 3 years ago

I guess i wasnt waiting long enough. This time i tried it 1 more time. Then i got up and went to get coffee...came back and it was done.