Something is wrong with placing orders
Opened this issue · 2 comments
It's been like 3 days since all responses when trying to place a bad are 'None'.
Anyone knows the reason or how to fix it?
Hello,
I'm just here to let you know you aren't alone. Since the second of December my trading program has been unable to submit a trade. I'm guessing IQoptions changed some detail in how orders are placed.
The creator of this API says they are no longer using this program, which probably means they won't be so eager to fix our problem. It means if we want a solution we need to get one ourselves.
I'm currently digging into the behind the scenes of how the website trader trades, since that is how the creator managed to create this API. Looking at all that source code, it couldn't have been easy. I think once I'm super rich I'd rather pay this guy to do all the work rather than do it all myself.
For now help me out by trying new means of trading... mess around with what this program can already do and try and find out a new method of trading that works.
Example
print(orderplaced)
orderplaced=Stock.buy_v2_sync(bet,position,1,expiration_list["15M"][0],"15M")#buy with the new bet
print(orderplaced)
orderplaced=Stock.buy_v2_sync(bet,position,1,expiration_list["EOD"][1],"EOD")#buy with the new bet
print(orderplaced)
orderplaced=Stock.buy_v2_sync(bet,position,1,expiration_list["EOW"][2],"EOW")#buy with the new bet
print(orderplaced)
orderplaced=Stock.buy_v2_sync(bet,position,1,expiration_list["EOM"][3],"EOM")#buy with the new bet
print(orderplaced)
Ok I got the chatter back from the program.
When I send the following to the socket:
Message: {'price': 1, 'act': 79, 'exp': 1575699060, 'type': 'turbo', 'direction': 'call', 'user_balance_id': 226810227, 'value': 1, 'time': 1575699071}
Request: buyV2
I get the following response from the Wss chatter
Wss Chatter: {'name': 'quote-generated', 'microserviceName': 'quotes', 'msg': {'active_id': 79, 'symbol': 'EURJPY-OTC', 'bid': 119.6452, 'ask': 119.6452, 'value': 119.6452, 'volume': 0, 'time': 1575699172, 'round': True, 'closed': False, 'phase': 'T'}}
this shows that although we are getting a None return, the server is still receiving our request. This means that Iqoption hasn't changed the request code to buy... but it also means that I have no idea why buying isn't working.
Any ideas?