yg070520@sina.com
590a97559e
发送stock信息到自动评估系统
1 year ago
yg070520@sina.com
45fd0aba2e
使用反向代理访问yahoo,增加情绪指数
1 year ago
yg070520@sina.com
844b5f33ad
新增反向代理服务器配置,nginx反代替换代理访问yahoo API
1 year ago
root
1184e9f22c
update stock_codes
1 year ago
yg070520@sina.com
98fca54f2e
增加standby模式
1 year ago
yg070520@sina.com
0bcca68982
修改部分逻辑,使用带用户名密码代理
1 year ago
yg070520@sina.com
9427df400c
Add necessary files
1 year ago
yg070520@sina.com
56e6e0a711
优化显示,yahoo API接口修复
1 year ago
yg070520@sina.com
a9f4de28d0
mop本地适配提交
2 years ago
Brandon Lee Camilleri
192ef5303b
Update Dockerfile
2 years ago
Brandon Lee Camilleri
d5219c12f7
Merge pull request #105 from ThierryBegin/docker
...
Adding Docker support
2 years ago
thierry begin-paradis
36cfe835ee
add simple Dockerfile
2 years ago
Brandon Lee Camilleri
94ff210f68
Update README.md
2 years ago
Brandon Lee Camilleri
44e103ea9b
Merge pull request #103 from Mohit-Agarwa1/patch-2
...
Fetching market data from Yahoo rather than CNN.
2 years ago
Mohit
097d18fe7a
Fetching market data from Yahoo rather than CNN.
2 years ago
Brandon Lee Camilleri
c854a29057
Merge pull request #100 from Mohit-Agarwa1/patch-1
...
Adding scroll feature
@Mohit-Agarwa1 thank you for developing this very useful feature.
3 years ago
root
bcc5893957
Fix for not scrolling to all lines, changing screen.max calculation.
3 years ago
Devansh Agarwal
5ed19c5d61
Write screen.height + 1 lines
3 years ago
root
69865574e8
Redraw market without fetch on resize.
3 years ago
root
cb4d384c5f
Make fetching quotes concurrent.
3 years ago
root
5070eb61f4
Scrolling improvements and loading change.
...
Load market before quotes so something appears on screen quickly.
Using screen.max to prevent scrolling off the screen.
3 years ago
root
83b716e9a4
Scrolling fixes
...
Ensure scrolling is not interrupted by quotes ticker.
Redraw on Home/End.
Prevent scrolling too far down beyond the quotes.
3 years ago
root
4512f39638
Improving draw()
...
Improving efficiency for drawing quotes with offset.
3 years ago
root
7090a2c0d5
Scrolling performance - redraw old quotes.
...
Rather than fetching quotes each time we need to redraw them becuase the
user has scrolled the screen, just redraw the old quotes.
3 years ago
root
09551a6e71
Scrolling performance improvement.
...
Every time the user scrolls, DrawLine is called many times. Each time
this happens, termbox.Flush is called, leading to unnecessary cpu usage.
This is eliminated by only calling termbox.Flush at the end of all the
DrawLine calls.
3 years ago
root
6f57bd3697
Fixing residual characters.
...
Fixing residual characters issue at end of list, with screen size.
Increasing keyboard buffer size
Increasing steps in a scroll, similar to htop
3 years ago
Brandon Lee Camilleri
5dde61ce14
Updating README.md re wiki
...
Adding reference to wiki.
@joce thank you once again.
3 years ago
root
4a080bfc3f
Scroll top/bottom with Home and End keys
...
* Allows the use of the Home/End keys in order to scroll to the top or
bottom of the list of stocks.
3 years ago
root
e1f62d6afc
Improved scrolling.
...
* Added scrolling with scroll wheel on mouse.
* Added scrolling with vim style j/k keys.
* Changed scrolling so that it is more smooth and the whole screen is
not redrawn each time
* Changed channel keyboardQueue to a buffered queue, so there are not
too many scroll requests, and the draw commands can be done once the
queue is empty.
* Added UpDownJump in profile, so user can set how much PgUp/PgDown jumps
* Have not tested with a _huge_ number of stocks in ticker, probably
worth doing
3 years ago
root
6f78b90964
Adding scroll feature
...
Adding an 'offset' to the quotes draw function in screen.go in order to
allow moving down the list of tickers, using PgUp/PgDown or the Up/Down
arrow keys.
3 years ago
Brandon Lee Camilleri
e65c1bc08e
Update README.md
3 years ago
Brandon Lee Camilleri
6f794d5a91
Merge pull request #99 from joce/fix/97-invalid-config-wipe-all
...
Fix for #97 : Loading invalid config wipes file
3 years ago
joce
62ed00ed4e
Fix for #97 : loading invalid config wipes file
...
Attempting to load an invalid config file will wipe the existing config, leaving the user with an empty config.
This change adds a check when an invalid file is loaded, and asks the user if the invalid config file should be overwritten.
If the user chooses `yes`, then the default config is loaded instead, and the existing config will be overwritten with it.
If the user chooses `no`, then the program exits.
Note this is intended only for the "interactive" mode (the only one existing right now). If and when we go forward with the suggestion in from issue #88 , there should be no prompt, just an error message on stderr.
3 years ago
Brandon Lee Camilleri
60cf8cc1bf
Merge pull request #96 from joce/add-red-on-down
...
Values displayed in red if retreating
3 years ago
joce
3df70dc52c
Add sementic colors for time, header and "default"
3 years ago
joce
b45fbfe908
Factorize code to init sementic colors
3 years ago
joce
9560670e98
Add light colors as well for markup
3 years ago
joce
d6b0039c90
`Profile.TickerColors` => `Profile.Colors`
3 years ago
joce
dbd989c894
Add semantic markup
3 years ago
joce
16b9c689f4
Save the `.moprc` file in a cleaner way.
3 years ago
joce
f20930d634
Read and save colors for gains, losses and tags
3 years ago
joce
e3464aca1f
Fix typos
3 years ago
joce
dcedf2ad9f
Yen value was not properly highlighted
3 years ago
joce
c8a69e9146
Show % in the header in red if < 0
3 years ago
joce
5fbeb457d5
Show stock lines in red when the change is < 0
3 years ago
Brandon Lee Camilleri
6d416e9e36
Update layout.go
3 years ago
Brandon Lee Camilleri
81febd7d51
Adding Swedish currency & fixing GBP as per Yahoo
3 years ago
Brandon Lee Camilleri
ec2ac916fb
Update README.md
3 years ago
Brandon Lee Camilleri
c5e6a3c2e2
Correct GBP (not GDB) for pounds currency
...
https://github.com/mop-tracker/mop/issues/93
3 years ago
Brandon Lee Camilleri
3973a4c11e
Merge pull request #94 from joce/fix-version-1.0
...
Fix version number to `1.0.0` where needed
3 years ago