Skip to content

dicos/smirik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smirik

test task for https://gist.github.com/smirik/09a2469ff2d443a0d9c2

Installing

run this commands:

  • virtualenv -p python3 smirik
  • source smirik/bin/activate
  • cd smirik
  • git clone https://github.com/dicos/smirik.git
  • cd smirik
  • pip install -r requirements.pip
  • cd smirik
  • python manage.py syncdb
  • python manage.py runserver
  • go to http://localhost:8000/admin/auth/negotiablepaper/ and add 'IBM', 'MSF'
  • press Ctrl+C
  • python manage.py get_data
  • python manage.py runserver

##How to create new user

##Testing run command python manage.py test

Time control:

  • 0.5 hour for find library, design and initialization project
  • 1 hour for create command "python manage.py get_data". It's command for load data from yahoo finance service intto local database;
  • 0.25 hour write test python manage.py test plot.tests.Cases.test_load_data
  • 0.25 hour for create structure project
  • 1 hours test plot image with JavaScript libraries. Decline becouse need more time if many data render
  • 3 hours learning libraries pandas, matplotlib, numpy
  • 2 hours plotting imager "portfolio vs time"
  • 1 hours create report "portfolio by months" total time: 9 hours