Skip to content

Commit

Permalink
3.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu-Yi-Hsun committed Sep 11, 2019
1 parent 0efafae commit 72428a0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.me/iqoptionapi)

last Version:3.9
last Version:3.9.1

last update:2019/9/10
last update:2019/9/11
Version:3.9.1

please update to 3.9.1

in Version:3.9 the buy() api may buy realmode money because the code not add the "user_balance_id"

[fix buy()](#buy)

Version:3.9

Expand Down
2 changes: 1 addition & 1 deletion iqoptionapi/stable_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def nested_dict(n, type):


class IQ_Option:
__version__ = "3.9"
__version__ = "3.9.1"

def __init__(self, email, password):
self.size = [1, 5, 10, 15, 30, 60, 120, 300, 600, 900, 1800,
Expand Down
1 change: 1 addition & 0 deletions iqoptionapi/ws/chanels/buyv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __call__(self, price, active, direction,duration):
"exp":int(exp),
"type": option,
"direction": direction.lower(),
"user_balance_id":int(self.api.profile.balance_id),
"time": self.api.timesync.server_timestamp
}

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.9",
version="3.9.1",
packages=find_packages(),
install_requires=["pylint","requests","websocket-client==0.47","interruptingcow"],
include_package_data = True,
Expand Down

0 comments on commit 72428a0

Please sign in to comment.