Skip to content

Commit 72428a0

Browse files
committed
3.9.1
1 parent 0efafae commit 72428a0

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22

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

5-
last Version:3.9
5+
last Version:3.9.1
66

7-
last update:2019/9/10
7+
last update:2019/9/11
8+
Version:3.9.1
9+
10+
please update to 3.9.1
11+
12+
in Version:3.9 the buy() api may buy realmode money because the code not add the "user_balance_id"
13+
14+
[fix buy()](#buy)
815

916
Version:3.9
1017

iqoptionapi/stable_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def nested_dict(n, type):
2121

2222

2323
class IQ_Option:
24-
__version__ = "3.9"
24+
__version__ = "3.9.1"
2525

2626
def __init__(self, email, password):
2727
self.size = [1, 5, 10, 15, 30, 60, 120, 300, 600, 900, 1800,

iqoptionapi/ws/chanels/buyv2.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def __call__(self, price, active, direction,duration):
3636
"exp":int(exp),
3737
"type": option,
3838
"direction": direction.lower(),
39+
"user_balance_id":int(self.api.profile.balance_id),
3940
"time": self.api.timesync.server_timestamp
4041
}
4142

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="iqoptionapi",
6-
version="3.9",
6+
version="3.9.1",
77
packages=find_packages(),
88
install_requires=["pylint","requests","websocket-client==0.47","interruptingcow"],
99
include_package_data = True,

0 commit comments

Comments
 (0)