stock-profit-monitor

根据持仓数量和成本价格实时展示当前盈亏和百分比

APACHE-2.0 License

Stars
6

  • Python2.7
  • requests

JSON

code:   
name:   
share:   
cost:   

[
  {
    "code":"sz002432",
    "name":"",
    "share": 200,
    "cost": 7.575
  },
  {
    "code":"sh600846",
    "name":"",
    "share": 200,
    "cost": 8.465
  }

]

  • python main.py
  • 60
  |  sz002432  |  15.0  |  0.99 %
---------------------------------------------
  |  sh600846  |  49.0  |  2.89 %
Related Projects