Skip to content

Commit

Permalink
Add version improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
giuse88 committed Jun 4, 2016
1 parent 0ae039e commit 1e2b47a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions duka/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
from duka.core import valid_date, set_up_signals
from duka.core.utils import valid_timeframe, TimeFrame

NAME = "duka"
VERSION = '0.2.0'


def main():
parser = argparse.ArgumentParser(prog='duka', usage='%(prog)s [options]')
parser.add_argument('-v', '--version', action='version',
version='Version: {name}-{version}'.format(name=NAME, version=VERSION))
version='Version: %(prog)s-{version}'.format(version=VERSION))
parser.add_argument('symbols', metavar='SYMBOLS', type=str, nargs='+',
help='symbol list using format EURUSD EURGBP')
parser.add_argument('-d', '--day', type=valid_date, help='specific day format YYYY-MM-DD (default today)',
Expand Down

0 comments on commit 1e2b47a

Please sign in to comment.