diff --git a/.gitignore b/.gitignore
index 0cf1981..86f65a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,12 @@ keys\.json
tradehist\.txt
glogin\.py
+
+*.pyc
+
+*.xml
+
+__pycache__/
+.idea/workspace.xml
+.idea/emailtrade.iml
+.vscode/settings.json
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b5375df..907c8e8 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,37 +5,58 @@
-
-
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
+
-
+
-
+
@@ -44,11 +65,11 @@
-
+
-
-
+
+
@@ -56,11 +77,11 @@
-
+
-
-
+
+
@@ -91,19 +112,19 @@
-
-
+
+
-
-
-
+
+
+
@@ -120,10 +141,6 @@
-
-
-
-
@@ -136,6 +153,13 @@
+
+
+
@@ -166,6 +190,9 @@
+
+
+
@@ -184,6 +211,9 @@
+
+
+
@@ -202,6 +232,9 @@
+
+
+
@@ -220,6 +253,9 @@
+
+
+
@@ -262,47 +298,46 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -351,214 +386,12 @@
file://$PROJECT_DIR$/getsignal.py
- 12
-
-
-
- file://$PROJECT_DIR$/getsignal.py
- 119
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -582,13 +415,7 @@
-
-
-
-
-
-
-
+
@@ -596,16 +423,7 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -617,9 +435,6 @@
-
-
-
@@ -642,7 +457,7 @@
-
+
@@ -650,32 +465,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/__pycache__/glogin.cpython-37.pyc b/__pycache__/glogin.cpython-37.pyc
deleted file mode 100644
index ce67d8a..0000000
Binary files a/__pycache__/glogin.cpython-37.pyc and /dev/null differ
diff --git a/__pycache__/history.cpython-37.pyc b/__pycache__/history.cpython-37.pyc
deleted file mode 100644
index 66834e3..0000000
Binary files a/__pycache__/history.cpython-37.pyc and /dev/null differ
diff --git a/__pycache__/trade.cpython-37.pyc b/__pycache__/trade.cpython-37.pyc
deleted file mode 100644
index 987e011..0000000
Binary files a/__pycache__/trade.cpython-37.pyc and /dev/null differ
diff --git a/trade.py b/trade.py
index 355b79b..7c65e95 100644
--- a/trade.py
+++ b/trade.py
@@ -5,7 +5,7 @@ from bittrex import Bittrex
import history as hist
-amount = 0
+
price = 0
with open('D:/code/emailtrade/keys.json') as k: