harwee / IQOption-Api

** Unmaintained ** I have rewritten some of the functionality using async if you are want to use the updated code you can use the code from `async` branch
Apache License 2.0
52 stars 54 forks source link

Provide me with the code for placing an bet? #56

Open MightyMaxSaviorOfTheUniverse opened 5 years ago

MightyMaxSaviorOfTheUniverse commented 5 years ago

Hello

I see that placing an order isn't as easy as it appears because if you bet you might get a return of 'None'

Please provide me with the exact code I need to place a bet that will wait for the order to be processed before returning the order.

Thank you in advance

harwee commented 5 years ago

placing an order is an asynchronous call, it wont return the code immediately so the code can't be returned immediately

MightyMaxSaviorOfTheUniverse commented 5 years ago

Could you provide the actual code to accomplish retrieving this data?

I already know it doesn't return immediately but I have no idea how to async it