From 05fc177b2986556df92aa0f506b1a48ef964fe19 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 22 Nov 2016 19:33:30 +0100 Subject: some refactoring before moving it to github --- wikifolio-plot-trades | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 wikifolio-plot-trades (limited to 'wikifolio-plot-trades') diff --git a/wikifolio-plot-trades b/wikifolio-plot-trades deleted file mode 100755 index 3bd53dc..0000000 --- a/wikifolio-plot-trades +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python3 -import os -import sys -import logging - -import wikifolio - -logging.basicConfig(level=logging.INFO) - -if len(sys.argv) == 2 and os.path.exists(sys.argv[1]): - filename = sys.argv[1] - name, _ = os.path.splitext(filename) - cert = wikifolio.get_id_from_name(name) - trades = wikifolio.get_trades(cert) - for trade in trades: - print(repr(trade)) -- cgit v1.2.1