Lu-Yi-Hsun / iqoptionapi

IQ Option API
372 stars 288 forks source link

How can I get the current EURUSD price for each tick #189

Open NelsonSalinas1987 opened 4 years ago

NelsonSalinas1987 commented 4 years ago

I have tried to use the functions that you have available but I cannot get the price or bid of EURUSD, what I need to do is to put an entry either buy or sell when the price is for example 1.10134

Please help me by guiding how I can do it, I will thank you image

Lu-Yi-Hsun commented 4 years ago

You want to set , buy clock?

NelsonSalinas1987 commented 4 years ago

I would like to be able to make an entry whether it is a purchase or sale when it reaches the price, for example making a purchase when the price is 1.0230, that is to say, put or call when the price is parameterized by a variable

Lu-Yi-Hsun commented 4 years ago

@NelsonSalinas1987

I will add that in private version

NelsonSalinas1987 commented 4 years ago

private version??,Why will you add them to the private session? you don't think it should be a free function available Is it difficult to get the current price for each tick? How much does the private session cost?

Lu-Yi-Hsun commented 4 years ago

@NelsonSalinas1987 if you just want get candle, please read real time candle document, that have been implement at free version.

250 per month for private version, I have been add many function there.

NelsonSalinas1987 commented 4 years ago

Friend the problem is that the real-time candle does not show me the bid or ask of the moment or how can you get it

NelsonSalinas1987 commented 4 years ago

A question if I enter the private session, that means I have access to the VIP options for only one month, and from there I will not have them or how?

Lu-Yi-Hsun commented 4 years ago

Add my Skype: yihsun1992@gmail.com We can talk more detail

NelsonSalinas1987 commented 4 years ago

Excuse me, but I don't speak English very well, I help a lot as a translator, I'm from Latin America

NelsonSalinas1987 commented 4 years ago

My idea is to make a program that puts an entry either call or buy when it reaches the price that was already entered manually, although I don't know if the strategy works but if I wanted to try it, that's why I asked you how you can get the bid or ask in time real

Lu-Yi-Hsun commented 4 years ago

Just in type , what app?

NelsonSalinas1987 commented 4 years ago

I am developing an app that uses your api to connect to IQ and to make entries

NelsonSalinas1987 commented 4 years ago

The problem is that I am a little slow doing the tickets when an analysis is done by price, that is why if I make an app to make it automatic the entry, it would be ideal and it would not delay me to make it the entrance.

NelsonSalinas1987 commented 4 years ago

I wrote a your skype

NelsonSalinas1987 commented 4 years ago

Is there any way you can help me to get the bid or ask price in real time?

MightyMaxSaviorOfTheUniverse commented 4 years ago

There is a way for you to do so but you are going to have to do the work to get there

here is where you get the information of where the stock is currently at, as well as the asking bid and close price

Stock = iqoption.options["binary"]["EURUSD"]
Stock.candles

this will give you the information you are after but you still have to write the code to place the bid when your set parameter has been reached

NelsonSalinas1987 commented 4 years ago

For example in this image

image

I need to obtain for each tick or movement of the graph the bid and the ask to be able to analyze the price, when the price touches me the value that has entered it as a variable make the entry

igorbispo99 commented 4 years ago

There is a way for you to do so but you are going to have to do the work to get there

here is where you get the information of where the stock is currently at, as well as the asking bid and close price

Stock = iqoption.options["binary"]["EURUSD"]
Stock.candles

this will give you the information you are after but you still have to write the code to place the bid when your set parameter has been reached

Which class does the object "iqoption" belong to in this context? I cant find it.