Skip to content

Commit

Permalink
fix multi buy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu-Yi-Hsun committed Apr 2, 2019
1 parent 4e78fce commit 948529a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# IQ Option API

last Version:3.6.2
last Version:3.6.3

last update:2019/4/2

last update:2019/3/21
version 3.6.3

version 3.6.2

fix buy digit
fix https://github.com/Lu-Yi-Hsun/iqoptionapi/issues/14#issuecomment-478817517

---
## About API
Expand Down
3 changes: 2 additions & 1 deletion iqoptionapi/stable_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,8 @@ def get_optioninfo(self, limit):
# __________________FOR OPTION____________________________

def buy(self, price, ACTIVES, ACTION, expirations, force_buy=False):
self.api.buy_successful == None
self.api.buy_successful = None
self.api.buy_id = None
while True:
while True:
try:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="iqoptionapi",
version="3.6.2",
version="3.6.3",
packages=find_packages(),
install_requires=["pylint","requests","websocket-client==0.47"],
include_package_data = True,
Expand Down

0 comments on commit 948529a

Please sign in to comment.