Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iqoptionapi #116

Open
wants to merge 274 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
95a21c9
add readme
Lu-Yi-Hsun May 2, 2018
7b175fb
add readme
Lu-Yi-Hsun May 2, 2018
781d797
add readme
Lu-Yi-Hsun May 2, 2018
92d5627
fix get candle
Lu-Yi-Hsun May 3, 2018
b3d1b43
add readme
Lu-Yi-Hsun May 3, 2018
4a71bc3
update buy and fix checkwin
Lu-Yi-Hsun May 4, 2018
da0f270
update buy and fix checkwin
Lu-Yi-Hsun May 4, 2018
c2a63ed
readme
Lu-Yi-Hsun May 4, 2018
1bf867b
readme
Lu-Yi-Hsun May 5, 2018
01faa86
readme
Lu-Yi-Hsun May 5, 2018
13514a0
readme
Lu-Yi-Hsun May 5, 2018
7060ff3
add check all active
Lu-Yi-Hsun May 6, 2018
d42cb1d
add check all active
Lu-Yi-Hsun May 6, 2018
6ccc270
add check to api
Lu-Yi-Hsun May 7, 2018
4c03722
thank Darth-Carrotpie's code
Lu-Yi-Hsun May 11, 2018
cdf6485
readme
Lu-Yi-Hsun May 11, 2018
3894e06
readme
Lu-Yi-Hsun May 11, 2018
55a76a8
check win
Lu-Yi-Hsun May 18, 2018
6d23e01
add digit fixx buy
Lu-Yi-Hsun May 24, 2018
efc0f7b
time
Lu-Yi-Hsun May 24, 2018
fd65b46
fix get candle
Lu-Yi-Hsun Jun 1, 2018
3fd02cc
readme
Lu-Yi-Hsun Jun 1, 2018
75f12cf
s
Lu-Yi-Hsun Jun 8, 2018
4e24513
limit
Lu-Yi-Hsun Jun 19, 2018
b6faf09
fix reconnect
Lu-Yi-Hsun Jun 19, 2018
1c0dd64
readme fix
Lu-Yi-Hsun Jun 19, 2018
0ad53b0
readme fix
Lu-Yi-Hsun Jun 19, 2018
b83b98f
fix reconnect
Lu-Yi-Hsun Jun 20, 2018
482bea7
readme
Lu-Yi-Hsun Jun 20, 2018
8f41193
readme
Lu-Yi-Hsun Jun 20, 2018
347b615
readme
Lu-Yi-Hsun Jun 20, 2018
4daecba
readme
Lu-Yi-Hsun Jun 20, 2018
7100940
add new function
Lu-Yi-Hsun Jun 22, 2018
977ff64
add new function
Lu-Yi-Hsun Jun 22, 2018
d6a68ef
add new function
Lu-Yi-Hsun Jun 22, 2018
271c118
add new function
Lu-Yi-Hsun Jun 22, 2018
867b438
add new function
Lu-Yi-Hsun Jun 22, 2018
f07733d
fix
Lu-Yi-Hsun Jun 23, 2018
f4c3740
fix
Lu-Yi-Hsun Jun 23, 2018
84ebc66
fix
Lu-Yi-Hsun Jun 23, 2018
fc70fed
stream table
Lu-Yi-Hsun Jun 23, 2018
50309c0
fix readme
Lu-Yi-Hsun Jun 23, 2018
c73caed
fix betinfo nontype
Lu-Yi-Hsun Jun 24, 2018
4ce16dc
fix table
Lu-Yi-Hsun Jun 25, 2018
9ddf106
add version
Lu-Yi-Hsun Jun 25, 2018
59bbfd1
change readme
Lu-Yi-Hsun Jun 25, 2018
310eecf
v1.1 add mood
Lu-Yi-Hsun Jul 2, 2018
30f8951
time
Lu-Yi-Hsun Jul 2, 2018
413ef8d
version 2.0
Lu-Yi-Hsun Jul 7, 2018
8402454
README
Lu-Yi-Hsun Jul 7, 2018
56d1f4b
readme
Lu-Yi-Hsun Jul 7, 2018
d9d9d6b
2.1
Lu-Yi-Hsun Jul 11, 2018
62092c3
2.1 readme fix
Lu-Yi-Hsun Jul 11, 2018
ae7a90d
2.1 readme fix
Lu-Yi-Hsun Jul 11, 2018
0870b0e
2.1 readme fix
Lu-Yi-Hsun Jul 11, 2018
1f5b439
optimize check_win_v2
Lu-Yi-Hsun Jul 11, 2018
8b20b8a
fix..
Lu-Yi-Hsun Jul 21, 2018
e36d007
2.1.1
Lu-Yi-Hsun Jul 21, 2018
a9fd7b6
Bugfix: stop lose and take profit must be float
tejado Aug 9, 2018
3711d47
Merge pull request #30 from tejado/patch-1
Lu-Yi-Hsun Aug 10, 2018
29ae06e
Update setup.py
Lu-Yi-Hsun Aug 15, 2018
a85624c
fxi
Lu-Yi-Hsun Aug 15, 2018
85a10dc
f
Lu-Yi-Hsun Aug 16, 2018
071132c
f
Lu-Yi-Hsun Aug 16, 2018
4d9b165
f
Lu-Yi-Hsun Aug 18, 2018
9f3fa86
redme add
Lu-Yi-Hsun Oct 12, 2018
9d16c77
Update README.md
Lu-Yi-Hsun Nov 2, 2018
cce175b
2.1.4
Lu-Yi-Hsun Nov 2, 2018
304877c
2.1.4 new add
Lu-Yi-Hsun Nov 2, 2018
fc3dde0
Update README.md
Lu-Yi-Hsun Nov 2, 2018
8669fb2
rea
Lu-Yi-Hsun Nov 3, 2018
e7563a0
rea
Lu-Yi-Hsun Nov 3, 2018
8288412
rea
Lu-Yi-Hsun Nov 3, 2018
b613e25
2.1.5
Lu-Yi-Hsun Nov 4, 2018
55a71a7
2.1.6
Lu-Yi-Hsun Nov 5, 2018
a9cfef1
2.1.6
Lu-Yi-Hsun Nov 5, 2018
d5fb76e
2.1.6
Lu-Yi-Hsun Nov 5, 2018
8abd6b0
max
Lu-Yi-Hsun Nov 7, 2018
05fe05c
read me bug fix
Lu-Yi-Hsun Nov 9, 2018
9ec482d
v3.0
Lu-Yi-Hsun Nov 11, 2018
9b7671e
3.1
Lu-Yi-Hsun Nov 12, 2018
50c96ad
3.2
Lu-Yi-Hsun Nov 12, 2018
51f83c0
v3.3
Lu-Yi-Hsun Nov 13, 2018
fd55f31
3.4
Lu-Yi-Hsun Nov 18, 2018
27b8863
3.4-readme
Lu-Yi-Hsun Nov 18, 2018
a5b492d
readme new
Lu-Yi-Hsun Nov 22, 2018
4935554
readme new
Lu-Yi-Hsun Nov 22, 2018
0f26acd
3.5
Lu-Yi-Hsun Dec 10, 2018
8e42a6a
check version sample
Lu-Yi-Hsun Dec 20, 2018
85fa8ce
check version sample
Lu-Yi-Hsun Dec 20, 2018
86c1976
websocket auto install
Lu-Yi-Hsun Dec 25, 2018
6457dc6
fix bug on readme
Lu-Yi-Hsun Dec 25, 2018
2c96e06
3.6
Lu-Yi-Hsun Jan 25, 2019
3a6a8d0
3.6
Lu-Yi-Hsun Jan 25, 2019
ffebf5c
3.6 readme update
Lu-Yi-Hsun Jan 25, 2019
cbd61a5
readme
Lu-Yi-Hsun Jan 26, 2019
75b9684
3.6.1
Lu-Yi-Hsun Feb 10, 2019
4e78fce
fix digit
Lu-Yi-Hsun Mar 21, 2019
948529a
fix multi buy
Lu-Yi-Hsun Apr 2, 2019
023f0d8
3.6.4 multi buy
Lu-Yi-Hsun Apr 26, 2019
bdb12de
readme
Lu-Yi-Hsun Apr 26, 2019
78dcf6a
Create FUNDING.yml
Lu-Yi-Hsun Jun 23, 2019
e96a25f
donate button add
Lu-Yi-Hsun Jul 16, 2019
d5fcd68
Digital options buy with actual price
Lu-Yi-Hsun Jul 16, 2019
3f8de22
v3.7 strike list&current price
Lu-Yi-Hsun Aug 12, 2019
df9a5b4
v3.8 fix digital check open
Lu-Yi-Hsun Sep 9, 2019
31af01d
v3.8 readme
Lu-Yi-Hsun Sep 9, 2019
61f77b4
add get_position_history_v2
Lu-Yi-Hsun Sep 9, 2019
907e145
fix version
Lu-Yi-Hsun Sep 9, 2019
f53a555
v3.9
Lu-Yi-Hsun Sep 10, 2019
0efafae
v3.9 readme
Lu-Yi-Hsun Sep 10, 2019
72428a0
3.9.1
Lu-Yi-Hsun Sep 11, 2019
0e342c7
3.9.1 add readme
Lu-Yi-Hsun Sep 11, 2019
cf0c8d6
v3.9.2 support window
Lu-Yi-Hsun Sep 11, 2019
04bc6b2
3.9.3
Lu-Yi-Hsun Oct 2, 2019
b474793
v3.9.4
Lu-Yi-Hsun Oct 2, 2019
2955235
3.9.5
Lu-Yi-Hsun Oct 4, 2019
fee691c
fix import
Lu-Yi-Hsun Oct 4, 2019
b976602
Update README.md
warwertt123 Oct 5, 2019
f41b0d5
Merge pull request #127 from warwertt123/master
Lu-Yi-Hsun Oct 5, 2019
73923e7
3.9.6
Lu-Yi-Hsun Oct 9, 2019
ac1eb78
3.9.7
Lu-Yi-Hsun Oct 14, 2019
f77580a
test
Lu-Yi-Hsun Oct 15, 2019
2773d55
test1.0
Lu-Yi-Hsun Oct 15, 2019
10b5253
test1.1
Lu-Yi-Hsun Oct 15, 2019
3e28947
test1.1
Lu-Yi-Hsun Oct 15, 2019
dab5995
test1.2
Lu-Yi-Hsun Oct 15, 2019
2b9a3e6
test1.3
Lu-Yi-Hsun Oct 15, 2019
3eafd85
test2
Lu-Yi-Hsun Oct 15, 2019
a9b1116
test2
Lu-Yi-Hsun Oct 15, 2019
c41d721
test2.2
Lu-Yi-Hsun Oct 15, 2019
a73cfed
cov
Lu-Yi-Hsun Oct 15, 2019
d7cca60
req
Lu-Yi-Hsun Oct 15, 2019
de5b4af
reqq
Lu-Yi-Hsun Oct 15, 2019
fa7172a
reqq1
Lu-Yi-Hsun Oct 15, 2019
d85b61a
reqq2
Lu-Yi-Hsun Oct 15, 2019
d38eb29
reqq3
Lu-Yi-Hsun Oct 15, 2019
8aee678
check
Lu-Yi-Hsun Oct 15, 2019
5893519
test login
Lu-Yi-Hsun Oct 15, 2019
a1dd5a2
test login2
Lu-Yi-Hsun Oct 15, 2019
3ea65bf
test login3
Lu-Yi-Hsun Oct 15, 2019
7ac4a07
3.9.8
Lu-Yi-Hsun Oct 15, 2019
ac24f55
travis os
Lu-Yi-Hsun Oct 15, 2019
ce31f32
travis only linux
Lu-Yi-Hsun Oct 15, 2019
0fcdebe
4.0.0
Lu-Yi-Hsun Oct 15, 2019
680f9cf
test candle
Lu-Yi-Hsun Oct 15, 2019
4f966c1
test candle2
Lu-Yi-Hsun Oct 15, 2019
32df37f
4.0.1
Lu-Yi-Hsun Oct 23, 2019
1487a44
4.2
Lu-Yi-Hsun Oct 24, 2019
69b4834
v4.3
Lu-Yi-Hsun Oct 24, 2019
0c81f77
v4.3 image
Lu-Yi-Hsun Oct 24, 2019
fe8968a
.4
Lu-Yi-Hsun Oct 27, 2019
94b98a0
Update README.md
Lu-Yi-Hsun Oct 27, 2019
6f17d9f
4.5
Lu-Yi-Hsun Oct 31, 2019
230b298
raw
Lu-Yi-Hsun Nov 3, 2019
041a7c9
5.0
Lu-Yi-Hsun Nov 4, 2019
51bd466
mood
Lu-Yi-Hsun Nov 4, 2019
d0b4b52
Implemented try on check
Nov 21, 2019
cf5647d
Merge branch 'hotfix/error-on-check_win_v2'
Nov 21, 2019
6a3d373
share data
Lu-Yi-Hsun Nov 22, 2019
4c5ae14
5.1
Lu-Yi-Hsun Nov 22, 2019
6e3526a
Merge pull request #154 from evecimar/master
Lu-Yi-Hsun Nov 23, 2019
c101af1
5.2
Lu-Yi-Hsun Nov 26, 2019
7670b62
get_digital_spot_profit_after_sale back
Lu-Yi-Hsun Nov 27, 2019
e933689
fix readme
Lu-Yi-Hsun Nov 29, 2019
ba0dcb7
readme
Lu-Yi-Hsun Dec 3, 2019
3b0023c
Update README.md
Lu-Yi-Hsun Dec 3, 2019
0e7c316
Update README.md
Lu-Yi-Hsun Dec 3, 2019
90a8539
Update README.md
Lu-Yi-Hsun Dec 3, 2019
eb2a0b6
Update README.md
Lu-Yi-Hsun Dec 3, 2019
3e16885
Update README.md
Lu-Yi-Hsun Dec 4, 2019
0f2dd1b
Update README.md
Lu-Yi-Hsun Dec 5, 2019
f9ffd07
Update README.md
Lu-Yi-Hsun Dec 5, 2019
665e1e2
Update README.md
Lu-Yi-Hsun Dec 5, 2019
eea3492
Update README.md
Lu-Yi-Hsun Dec 5, 2019
374ea3c
Update README.md
Lu-Yi-Hsun Dec 5, 2019
a863e18
Update README.md
Lu-Yi-Hsun Dec 5, 2019
1cab403
Update README.md
Lu-Yi-Hsun Dec 6, 2019
6f1be7b
Update README.md
Lu-Yi-Hsun Dec 6, 2019
638c4a0
Update README.md
Lu-Yi-Hsun Dec 7, 2019
0896f5f
Update README.md
Lu-Yi-Hsun Dec 8, 2019
c748853
Update README.md
Lu-Yi-Hsun Dec 8, 2019
03fca1e
Update README.md
Lu-Yi-Hsun Dec 8, 2019
3bb743e
Update README.md
Lu-Yi-Hsun Dec 8, 2019
286fa72
Update README.md
Lu-Yi-Hsun Dec 10, 2019
d54ffda
Update README.md
Lu-Yi-Hsun Dec 14, 2019
3bc5d68
Update README.md
Lu-Yi-Hsun Dec 14, 2019
f212aab
fix buy and buy_multi
zidokobik Dec 24, 2019
8adfaec
fix buy
zidokobik Dec 23, 2019
12dd965
fix buy
zidokobik Dec 23, 2019
d83e54b
fix buy and multi buy
zidokobik Dec 24, 2019
b7b8dbb
Merge pull request #178 from dwighthalpert/master
Lu-Yi-Hsun Dec 24, 2019
626b82f
Update README.md
Lu-Yi-Hsun Dec 24, 2019
66b9d3c
Update constants.py
niltonmelox Jan 12, 2020
6cf6e0f
Update README.md
Lu-Yi-Hsun Jan 19, 2020
08656af
Update README.md
Lu-Yi-Hsun Jan 19, 2020
75a71a8
Update README.md
Lu-Yi-Hsun Jan 20, 2020
f215b7e
Update README.md
Lu-Yi-Hsun Jan 20, 2020
2595aa4
Update README.md
Lu-Yi-Hsun Jan 20, 2020
e25841c
Update README.md
Lu-Yi-Hsun Jan 20, 2020
d817d9a
Update README.md
Lu-Yi-Hsun Jan 20, 2020
15866d9
Update README.md
Lu-Yi-Hsun Jan 20, 2020
1a96f27
Merge pull request #181 from niltonmelox/patch-1
Lu-Yi-Hsun Jan 20, 2020
39b7420
Update README.md
Lu-Yi-Hsun Jan 20, 2020
adf3cd5
Update README.md
Lu-Yi-Hsun Jan 23, 2020
72a524c
Update README.md
Lu-Yi-Hsun Jan 23, 2020
fcafd2e
Update README.md
Lu-Yi-Hsun Jan 23, 2020
80973c2
Update README.md
Lu-Yi-Hsun Jan 28, 2020
ec86919
Update README.md
Lu-Yi-Hsun Jan 28, 2020
3bc2160
updated Format
JafferWilson Jan 28, 2020
1395a92
Merge pull request #188 from JafferWilson/patch-1
Lu-Yi-Hsun Jan 28, 2020
e3b5863
Update README.md
Lu-Yi-Hsun Jan 29, 2020
edf502e
Update README.md
Lu-Yi-Hsun Jan 30, 2020
92f8aff
For faster result obtaining from Binary or Turbo
JafferWilson Jan 30, 2020
6b36834
Merge pull request #191 from JafferWilson/patch-2
Lu-Yi-Hsun Jan 30, 2020
08f35eb
Buy only if the Binary or Turbo available.
JafferWilson Jan 30, 2020
6f008c7
Merge pull request #192 from JafferWilson/patch-3
Lu-Yi-Hsun Jan 30, 2020
cdab3be
Update README.md
Lu-Yi-Hsun Jan 30, 2020
2c3abf1
Add files via upload
Lu-Yi-Hsun Jan 30, 2020
46cf4bc
Update README.md
Lu-Yi-Hsun Jan 30, 2020
a24a922
Update README.md
Lu-Yi-Hsun Jan 30, 2020
f53d246
Update README.md
Lu-Yi-Hsun Jan 30, 2020
13c0d4d
Update README.md
Lu-Yi-Hsun Jan 30, 2020
5c5e134
Update README.md
Lu-Yi-Hsun Jan 30, 2020
e5e6201
Update README.md
Lu-Yi-Hsun Jan 30, 2020
f255216
Update README.md
Lu-Yi-Hsun Jan 31, 2020
be923bb
Update README.md
Lu-Yi-Hsun Jan 31, 2020
6815e2b
Update README.md
Lu-Yi-Hsun Jan 31, 2020
63804c6
Update README.md
Lu-Yi-Hsun Feb 11, 2020
3af97dc
Update README.md
Lu-Yi-Hsun Mar 15, 2020
6d9b4e9
Update README.md
Lu-Yi-Hsun Mar 17, 2020
7da91a1
6.8.9.1
Lu-Yi-Hsun Mar 22, 2020
13218da
Update README.md
Lu-Yi-Hsun Mar 22, 2020
411d788
Update README.md
Lu-Yi-Hsun Mar 27, 2020
889eb92
Update README.md
Lu-Yi-Hsun Mar 27, 2020
3892424
Update README.md
Lu-Yi-Hsun Mar 27, 2020
3b5972f
Update README.md
Lu-Yi-Hsun Apr 28, 2020
3cdfefd
Function get_digital_spot_profit_after_sale solved
KGTeixeira May 23, 2020
04a9599
Merge pull request #228 from KGTeixeira/P/L_solved
Lu-Yi-Hsun May 23, 2020
e8346db
Update README.md
Lu-Yi-Hsun May 24, 2020
32a1856
Update README.md
Lu-Yi-Hsun May 24, 2020
1648301
Update README.md
Lu-Yi-Hsun May 30, 2020
2afcc63
Update README.md
Lu-Yi-Hsun May 30, 2020
e85af2c
Update README.md
Lu-Yi-Hsun Jun 8, 2020
296fc36
Update README.md
Lu-Yi-Hsun Jun 9, 2020
090210d
Update README.md
Lu-Yi-Hsun Jul 26, 2020
e96ba2c
Update README.md
Lu-Yi-Hsun Aug 11, 2020
58a5b36
Update constants.py
renatokeys Aug 29, 2020
cd2b9e7
Update README.md
Lu-Yi-Hsun Jun 23, 2021
e2a198f
Merge pull request #267 from renatokeys/patch-1
Lu-Yi-Hsun Jul 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .coverage
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!coverage.py: This is a private format, don't read it directly!{"lines":{"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/tests/__init__.py":[1],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/tests/test_Login.py":[1,3,4,6,7,8,10,15,11,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/__init__.py":[1,3,5,15,7,8,9,11,12,13],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/stable_api.py":[2,3,4,5,6,7,9,10,11,14,21,22,24,46,49,52,105,115,118,127,133,139,154,160,165,172,199,213,268,282,304,315,328,341,354,370,397,418,434,443,462,469,477,500,514,537,558,570,575,579,584,596,604,628,641,663,676,683,694,711,714,718,754,762,797,806,816,826,854,881,891,923,928,942,953,963,976,987,999,1010,1020,1033,1047,25,26,27,28,29,30,31,32,33,35,36,38,39,41,53,54,55,56,57,59,60,61,62,63,64,67,69,70,76,77,82,83,89,90,91,92,93,94,95,97,43,316,317,318,319,305,306,307,308,309,310,320,321,326,107,108,111],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/api.py":[1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,28,29,30,31,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,50,52,53,54,55,56,57,58,60,61,62,63,64,65,66,69,79,82,83,86,87,88,89,90,91,93,94,95,70,73,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,116,118,119,120,121,71,123,124,125,126,129,130,132,135,157,167,198,228,236,249,258,267,276,285,303,312,321,331,341,345,350,361,365,372,382,386,395,399,418,433,442,451,459,472,476,482,486,496,501,513,517,521,525,529,534,538,542,546,550,554,558,562,566,570,574,578,582,587,592,598,633,637,142,143,144,145,146,147,148,149,150,155,599,601,256,602,210,212,214,215,216,217,218,219,220,221,222,223,225,226,603,604,594,595,596,605,607,234,608,609,610,612,613,614,616,617,623,357,242,244,245,246,247,624,625,626,627,629,630,628,631,420,421,422,423,427,428,589,402,403,404,405,406,408,415,416,338,179,180,165,182,184,185,186,187,188,189,190,191,192,193,195,196],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/__init__.py":[1],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/login.py":[1,3,6,7,10,12,19,27,28,30,17],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/resource.py":[1,4,5,8,15,13,25],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/loginv2.py":[1,3,6,7,10,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/getprofile.py":[1,3,6,7,10,12,19,24,17],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/auth.py":[1,3,6,7,10],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/token.py":[1,3,4,7,8,11,13,16,23],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/appinit.py":[1,3,6,7,10,12,19],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/billing.py":[1,3,6,7,10],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/buyback.py":[1,3,4,7,8,11,13,20],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/changebalance.py":[1,3,4,7,8,11,13,20],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/profile.py":[1,3,6,7,10],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/__init__.py":[1],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/client.py":[1,3,4,5,6,7,11,12,14,24,39,236,242,248,19,20,21,22,23,245,246,247,41,42,44,46,51,64,84,89,91,93,94,98,99,103,104,108,109,113,123,129,133,136,140,142,144,146,148,150,152,155,161,164,166,168,170,172,175,177,179,181,183,185,187,189,191,193,195,197,202,204,47,85,86,203],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/constants.py":[1,3],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/global_value.py":[2],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/__init__.py":[1],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/ssid.py":[1,3,6,7,10,12,17],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/base.py":[1,4,5,8,15,13,23],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/subscribe.py":[1,3,4,5,6,7,10,12,26,27,30,32,44,45,47,62],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/unsubscribe.py":[1,3,4,5,6,7,10,12,25,26,29,31,43,44,46,60],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/setactives.py":[1,3,6,7,10,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/candles.py":[1,3,4,6,7,10,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/buyv2.py":[1,2,3,4,5,6,7,9,10,13,15,75],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/expiration.py":[2,3,10,15,49],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/buyv3.py":[1,2,3,4,6,7,9,11,62],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/api_game_betinfo.py":[1,2,3,4,5,6,7],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/instruments.py":[1,3,6,7,10,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_financial_information.py":[1,2,3,4],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/strike_list.py":[1,2,3,4,5,7,23],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/traders_mood.py":[1,2,3,6,8,10,28,30,32],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/buy_place_order_temp.py":[1,2,3,7,8,9],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_order.py":[1,2,3,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_deferred_orders.py":[1,2,4,6,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_positions.py":[1,2,3,6,7,8,17,18,19,28,29,30,40,41,42],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_available_leverages.py":[1,2,3,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/cancel_order.py":[1,2,3,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/close_position.py":[1,2,3,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/get_overnight_fee.py":[1,2,3,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/heartbeat.py":[1,2,3,4,6,9,10,11,15],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/digital_option.py":[3,4,5,9,10,11,24,25,26],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/api_game_getoptions.py":[2,4,5,7,9,11],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/sell_option.py":[2,3,5,6,7],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/change_tpsl.py":[3,4,5,6,7,8],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/change_auto_margin_call.py":[1,2,3,4,5,6],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/__init__.py":[1],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/timesync.py":[1,3,4,6,9,10,12,18,26,31,39,47,55,63,13,14,15,16,29,24],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/base.py":[1,4,5,8,11,9],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/profile.py":[1,2,5,6,8,18,26,31,39,45,52,59,66,75,82,88,91,9,10,11,12,13,14,15,93,42,55,69,85,37],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/candles.py":[1,3,6,7,9,15,23,31,39,47,55,67,68,70,75,83,88,97,106,71,72,73],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/listinfodata.py":[1,2,4,6,7,9,14,16,18,10,11,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/objects/betinfo.py":[2,3,6,7,9,14,18,23,27,10,11,12],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/setup.py":[],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/register.py":[],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/http/getregdata.py":[],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/changebalance.py":[],"/home/lu-yi-hsun/WorkSpace/GitHub/iqoptionapi/iqoptionapi/ws/chanels/buyback.py":[]}}
1 change: 1 addition & 0 deletions .gdb_history
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
q
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: paypal.me/iqoptionapi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
build/
dist/
*.egg-info/
.vscode/
test.py
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
os:
- linux
language:
- python
- python
python:
- '2.7'
- '2.7'
- '3.7'
install:
- pip install -r requirements.txt
- pip install -r requirements.txt
- pip install codecov
- pip install pytest-cov
script:
- pylint iqoptionapi --rcfile=./pylint.rc
deploy:
provider: pypi
user: n1nj4z33
password:
secure: ezaS+n4Hxl54EgWypr0tBI03Yu1uQsm7imbAcIZK01rjWraLh9Yhv8t75RrBPorvuxh28TS5Z/My8rOvTljxobjAZEnFh43Zl1x58RTaH5+MJL71jPg6n97jh9tnedhlglJBccATca04Xkh7tGBav4jIR7hJTU2E5EpV5OFCTseqQMsvVd1FnWl8vOyK/IWP0d3BZZ1Y9VBzimBnTQPrqeRZQIkRcBQKffL/XW7U0lIUOhxcEq8ye+ap2vxT7Y4LnI9eYMYvrKJeuCrSZW0RDs2ZtCYZdhMb0c9yMzIrE+U8RDRK7z4lLKKHFqbcOXMjXeLCaWtZ2SM58L8zz2XfnaL+z9+fzu8zy8btRc3tGZU/kj1CZdbM5f0cw683IR+8gHma+QmUqNVbNqAT4l/dMwjaX+Dh8dJHZ6vqhDw5jq+pN89HTOCfm9k27MNu6Fl1yGC71TA/0LhtXz42hsFd8A1gY04LAjXeAqkEIjKVwONfQvsswaK71NOsS8uL094SOgFKiCEdaS6NYwkBAP9UbarN3twg19cfM3Gg+lc0lyU4wYxP58fOj/SdWTCi2WG4NW5zlCAqFtV9BMSw3lOH9gR7F8BQpIwmqWr5ozl+fXPSW8JIjxTe1WfzlLusZarTiagWssKAphtnvsb2i4zpe4mVYp+MlrcIXDUTf+Yu3ec=
on:
tags: true
distributions: sdist bdist_wheel
repo: n1nj4z33/iqoptionapi
- pytest --cov=./ --cov-report=xml tests/
after_success:
- codecov --file coverage.xml --token $CODECOV_TOKEN


146 changes: 146 additions & 0 deletions ACTIVE_CODE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
2018/5/7
EURUSD 1
EURGBP 2
GBPJPY 3
EURJPY 4
GBPUSD 5
USDJPY 6
AUDCAD 7
NZDUSD 8
USDRUB 10
AMAZON 31
APPLE 32
BAIDU 33
CISCO 34
FACEBOOK 35
GOOGLE 36
INTEL 37
MSFT 38
YAHOO 40
AIG 41
CITI 45
COKE 46
GE 48
GM 49
GS 50
JPM 51
MCDON 52
MORSTAN 53
NIKE 54
USDCHF 72
XAUUSD 74
EURUSD-OTC 76
EURGBP-OTC 77
USDCHF-OTC 78
NZDUSD-OTC 80
GBPUSD-OTC 81
AUDCAD-OTC 86
ALIBABA 87
YANDEX 95
AUDUSD 99
USDCAD 100
AUDJPY 101
GBPCAD 102
GBPCHF 103
GBPAUD 104
EURCAD 105
CHFJPY 106
CADCHF 107
EURAUD 108
TWITTER 113
FERRARI 133
TESLA 167
USDNOK 168
EURNZD 212
USDSEK 219
USDTRY 220
MMM:US 252
ABT:US 253
ABBV:US 254
ACN:US 255
ATVI:US 256
ADBE:US 258
AAP:US 259
AA:US 269
MO:US 278
AMGN:US 290
T:US 303
BAC:US 313
BBY:US 320
BA:US 324
BMY:US 328
CAT:US 338
CVX:US 349
CL:US 365
CMCSA:US 366
COP:US 370
COST:US 374
CVS:US 379
DHR:US 381
DAL:US 386
EBAY:US 407
XOM:US 429
FDX:US 434
GILD:US 460
HAS:US 471
HON:US 480
IBM:US 491
KHC:US 513
LMT:US 528
MA:US 542
MDT:US 548
MU:US 553
NFLX:US 569
NEE:US 575
NVDA:US 586
PYPL:US 597
PFE:US 603
PM:US 605
PG:US 617
QCOM:US 626
RTN:US 630
CRM:US 645
SLB:US 647
SBUX:US 666
SYK:US 670
TWX:US 692
VZ:US 723
V:US 726
WMT:US 729
WBA:US 730
WFC:US 733
SNAP 756
DUBAI 757
TA25 758
AMD 760
ALGN 761
ANSS 762
DRE 772
IDXX 775
RMD 781
SU 783
TFX 784
TMUS 785
QQQ 796
SPY 808
BTCUSD 816
XRPUSD 817
ETHUSD 818
LTCUSD 819
DSHUSD 821
BCHUSD 824
OMGUSD 825
ZECUSD 826
ETCUSD 829
BTGUSD 837
QTMUSD 845
TRXUSD 858
EOSUSD 864
USDINR 865
USDPLN 866
USDBRL 867
USDZAR 868
DBX 889
SPOT 891
USDSGD 892
USDHKD 893
87 changes: 13 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,82 +1,21 @@
# IQ Option API
[![Build Status](https://travis-ci.org/n1nj4z33/iqoptionapi.svg?branch=master)](https://travis-ci.org/n1nj4z33/iqoptionapi)
[![Documentation Status](https://readthedocs.org/projects/iqoptionapi/badge/?version=latest)](http://iqoptionapi.readthedocs.io/?badge=latest)
[![PyPI version](https://badge.fury.io/py/iqoptionapi.svg)](https://badge.fury.io/py/iqoptionapi)
# Iqoption API

A friendly python wrapper around the [IQ Option API](https://iqoption.com).
great robot
https://npt-life.com/iq-option-robot

Information about basic usage you can find on [Wiki](https://github.com/n1nj4z33/iqoptionapi/wiki)
Iqoption API private version https://npt-life.com/iq-option-api

Auto generated Sphinx documentation you can find [here](http://iqoptionapi.readthedocs.io/).
olymptrade API https://npt-life.com/other-apis

### Installation
```
pip install iqoptionapi
```
Pock Option API https://npt-life.com/other-apis

### A small example
## Document

from iqoptionapi.api import IQOptionAPI
import datetime
import time
import logging
logging.basicConfig(format='%(asctime)s %(message)s')
### New document

api = IQOptionAPI("iqoption.com", "email", "Password")
https://lu-yi-hsun.github.io/iqoptionapi/

### Old document

api.connect()
time.sleep(0.5)
print 'Your current blance is: {:.2f}'.format(api.profile.balance)

#How to get candles data: 1st param is the asset or so
#second is the interval size of the candles (currently 60 secs)
#and the third one is the amount of candles we would like to have
api.getcandles(1, 60, 25)
#somehow we need that wait. Don't ask me why. Otherwise we have no data
time.sleep(0.25)
data = api.candles.candles_data
for candles in data:
st = datetime.datetime.fromtimestamp(candles[0]+60).strftime('%Y-$
'''
candles data
0th entry: timestamp of candle
1st entry: where candles starts in the interval
2nd entry: where candles finishes in the interval
3rd entry: upper wick
4th entry: lower wick
'''
print st, candles

#let's do some buys :D
while api.timesync.server_datetime.second != 48:
print api.timesync.server_datetime.second
#The first one is the money you want to set
#2nd is the asset. Check constants.ASSETS for the values
#3rd is the which mode. Turbo is for binary. Don't ask me why
#4th is either call or put
api.buy(1, 1, "turbo", "call")
time.sleep(0.5)


Check if a trade has been won or lost:
ou can give the result by using the 'win' variable which returns either 'equal' (if the trade is ongoing or a draw), 'win' (if the trade was a win), or 'loose' (if the trade was a loss)

self.api.listinfodata.current_listinfodata.win

or

self.api.listinfodata.get_listinfodata(foo)

For more information on what you can actually get, you can use this JSON data which got extracted by frxncisjoseph while testing.

"name":"listInfoData","msg":[{"amount":1000000,"id":2095724656,"refund":0,"currency":"USD","currency_char":"$","active_id":1,"active":"EURUSD","value":1.07736,"exp_value":1077360,"dir":"call","created":1489706346,"expired":1489706400,"type_name":"turbo","type":"front.TU","profit":100,"profit_amount":1,"win_amount":1.74,"loose_amount":0,"sum":1,"win":"equal","now":1489706346,"user_id":0,"game_state":0,"profit_income":174,"profit_return":0,"option_type_id":3,"site_id":1,"is_demo":false,"user_balance_id":0,"client_platform_id":9,"re_track":"null","params":null}]}

Here is a piece of code in order to check if the buy order went through and to check how the order is doing:

api.buy(1, 816, "turbo", "call")
time.sleep(0.5)

while api.buy_successful in [None, False]:
....#Could do another buy order, or something else!

print api.listinfodata.current_listinfodata.win
old document not support anymore:
https://github.com/Lu-Yi-Hsun/iqoptionapi_private/blob/master/old_document.md
Loading