Comments (40)
@sainathkishoremrinc12 look this simulation...
from quotexpy.
Estou perto da correção amanhã devo comitar algo
from quotexpy.
pelo que vi a duration pode ta indo errado, a api esta enviando em segundos : # data=42["orders/open",{"asset": "EURUSD", "amount": 100, "time": 60, "action": "call", "isDemo": 1, "tournamentId": 0, "requestId": 1698170228, "optionType": 1}]
ja pelo site é envaido timestamp 42["orders/open",{"asset":"EURUSD","amount":5,"time":1698171180,"action":"call","isDemo":1,"tournamentId":0,"requestId":1698171096,"optionType":1}]
from quotexpy.
certo, tava dando uma olhada acho que tem uma diferença de horarios entre o servidor da quotex e o horario BR.
from quotexpy.
a api nao é oficial. Essa api foi desenvolvida via socket
from quotexpy.
Parece que deu boa
[INFO]: Start your robot... Elapsed time: 0 seconds
[INFO]: Connecting...
True Websocket successfully connected!!!
[INFO]: Balance: 96.88n... Elapsed time: 0 seconds
[INFO]: OK: Asset is open
True {'id': '5e0c15d6-xxxx-42fe-9224-957153fa5049', 'openTime': '2023-10-25 12:25:09', 'closeTime': '2023-10-25 12:26:00', 'openTimestamp': 1698236709, 'closeTimestamp': 1698236760, 'uid': 30179521, 'isDemo': 1, 'tournamentId': 0, 'amount': 1, 'purchaseTime': 1698236730, 'profit': 0.75, 'percentProfit': 75, 'percentLoss': 100, 'openPrice': 0.87267, 'copyTicket': '', 'closePrice': 0, 'command': 0, 'asset': 'AUDCAD', 'nickname': '#30333521', 'accountBalance': 96.88, 'requestId': 1697736709, 'openMs': 519, 'currency': 'USD'}
[INFO]: Waiting for result...
Restando 28 segundos ...
from quotexpy.
só finaliznado mais uns testes e abro a ordem
from quotexpy.
i tried using every timeframe and tried to place order but not working
from quotexpy.
@ricardospinoza It works for me but one thing the trade runs twice even if trade completed.
from quotexpy.
Hi @jrdesouza can you provide information about how the error is reproduced?
from quotexpy.
Ele faz conexão perfeitamente, responde os ping perfeitamente, porém envia o payload de open/ordens e a ordem não é executada, não exibe mensagem de erro, somente não executa a ordem, o ativo está aberto e os valores passados na função também estão corretos, não fiz nenhuma modificação no código do repositório.
from quotexpy.
me too, i'll check this bug
Handshake status 403 Forbidden -+-+- {'date': 'Sat, 30 Sep 2023 05:30:47 GMT', 'content-type': 'text/html; charset=UTF-8', 'transfer-encoding': 'chunked', 'connection': 'close', 'cross-origin-embedder-policy': 'require-corp', 'cross-origin-opener-policy': 'same-origin', 'cross-origin-resource-policy': 'same-origin', 'origin-agent-cluster': '?1', 'permissions-policy': 'accelerometer=(),autoplay=(),browsing-topics=(),camera=(),clipboard-read=(),clipboard-write=(),geolocation=(),gyroscope=(),hid=(),interest-cohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),sync-xhr=(),usb=()', 'referrer-policy': 'same-origin', 'x-frame-options': 'SAMEORIGIN', 'cf-mitigated': 'challenge', 'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'set-cookie': '__cf_bm=GR4dGt6EXq0FG0f89CGMINHPV4hSlxOR5yZczlacO34-1696051847-0-AWhV0/4HBvlo3OiuvAmR24qmIMN7wQPrDN4TR+tQGigD3xW+VMvFXijDmgHJBOBHfu+hXajUHmi0R3aVq98pnOs=; path=/; expires=Sat, 30-Sep-23 06:00:47 GMT; domain=.qxbroker.com; HttpOnly; Secure; SameSite=None', 'server': 'cloudflare', 'cf-ray': '80ea136ff84e2c95-ORD'} -+-+- None
[INFO]: Connecting...
Trying to reconnect, try 1 for 2
Successfully reconnected!!!
True Websocket successfully connected!!!
Balance: 12959.53
Operation failed!!!
Balance: 12959.53
Exiting...
from quotexpy.
I discovered that the generation of the requestId is the opening timestamp + a random number between 1 and 100, but it still doesn't accept the payload
from quotexpy.
I'm getting the same error as you. I've already tried to fix the code. xD
from quotexpy.
me too, i'll check this bug
Handshake status 403 Forbidden -+-+- {'date': 'Sat, 30 Sep 2023 05:30:47 GMT', 'content-type': 'text/html; charset=UTF-8', 'transfer-encoding': 'chunked', 'connection': 'close', 'cross-origin-embedder-policy': 'require-corp', 'cross-origin-opener-policy': 'same-origin', 'cross-origin-resource-policy': 'same-origin', 'origin-agent-cluster': '?1', 'permissions-policy': 'accelerometer=(),autoplay=(),browsing-topics=(),camera=(),clipboard-read=(),clipboard-write=(),geolocation=(),gyroscope=(),hid=(),interest-cohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),sync-xhr=(),usb=()', 'referrer-policy': 'same-origin', 'x-frame-options': 'SAMEORIGIN', 'cf-mitigated': 'challenge', 'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'set-cookie': '__cf_bm=GR4dGt6EXq0FG0f89CGMINHPV4hSlxOR5yZczlacO34-1696051847-0-AWhV0/4HBvlo3OiuvAmR24qmIMN7wQPrDN4TR+tQGigD3xW+VMvFXijDmgHJBOBHfu+hXajUHmi0R3aVq98pnOs=; path=/; expires=Sat, 30-Sep-23 06:00:47 GMT; domain=.qxbroker.com; HttpOnly; Secure; SameSite=None', 'server': 'cloudflare', 'cf-ray': '80ea136ff84e2c95-ORD'} -+-+- None [INFO]: Connecting... Trying to reconnect, try 1 for 2 Successfully reconnected!!! True Websocket successfully connected!!! Balance: 12959.53 Operation failed!!! Balance: 12959.53 Exiting...
Por algum motivo o servidor está bloqueado a api.
from quotexpy.
@marconcinilazaro Did you change it and now it works?
from quotexpy.
I'm trying, but still nothing.
from quotexpy.
Tem um metodo que retorna um timestamp get_expiration_time em expiration.
from quotexpy.
Estou tentando ver aqui se da certo algo do tipo:
duration = get_expiration_time(int(self.api.timesync.server_timestamp), duration)
from quotexpy.
Aonde que tem essa documentação da api? mandei msg para o suporte da quotex e o povo de lá não sabe informar nada no helpdesk :(
from quotexpy.
refactory está dando um trabalho grande por aqui rs
from quotexpy.
@ricardospinoza Was the order opened?
from quotexpy.
big refactory man :/
from quotexpy.
Win -> Profit: 0.75
[INFO]: Balance: 96.63
[INFO]: Exiting...
*-----
[INFO]: Loss -> Loss: -1
[INFO]: Balance: 95.63
[INFO]: Exiting...
MR
#18
Não tenho acesso para resolver os conflitos. favor resolver, se puder manter as minhas alterações agradeço!!!!
from quotexpy.
from quotexpy.
from quotexpy.
from quotexpy.
[INFO]: Start your robot
[INFO]: Connecting...
[INFO]: Balance: 10091.0
[INFO]: OK: Asset is open
False {}
[ERROR]: Operation failed!!!
[INFO]: Balance: 10091.0
[INFO]: Exiting...
from quotexpy.
verificando....
from quotexpy.
Supondo timeframe de 1 minutos, o erro "Operation failed" ocorre se a ordem for submetida no tempo inferior a 30 segundo para o termino do candle. varios testes e dá o mesmo cenário.
isto explica por que em alguns casos dá certo e em outros não.
from quotexpy.
@ricardospinoza So if it is longer than 30 seconds, is the order opened successfully?
from quotexpy.
sim, abrindo em tempo maior que 30 segundos funciona. E há alguma casos eventuais que dá o erro sem um motivo, porém observando no gráfico a ordem foi realizada e no python dá mensagem de operação falhou indevidamente
from quotexpy.
@rahulshuklawork alguma mensagem de erro? qual o seu cenário?
from quotexpy.
@ricardospinoza i am getting this response after running
[INFO]: Start your robot... Elapsed time: 0 seconds
[INFO]: Connecting...
True Websocket successfully connected!!!
[INFO]: Balance: 700265.3. Elapsed time: 0 seconds
[INFO]: OK: Asset is open
False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!!
[INFO]: Balance: 700265.3
[INFO]: Exiting...
[INFO]: Start your robot... Elapsed time: 1 seconds
[INFO]: Connecting...
True Websocket successfully connected!!!
[INFO]: Balance: 700265.3. Elapsed time: 0 seconds
[INFO]: OK: Asset is open
False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!!
[INFO]: Balance: 700265.3
[INFO]: Exiting...
[INFO]: Start your robot... Elapsed time: 0 seconds
[INFO]: Connecting...
True Websocket successfully connected!!!
[INFO]: Balance: 700265.3. Elapsed time: 0 seconds
[INFO]: OK: Asset is open
False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!!
[INFO]: Balance: 700265.3
[INFO]: Exiting...
from quotexpy.
@sainathkishoremrinc12 can you please help me out for this
from quotexpy.
@sainathkishoremrinc12 can you please help me out for this
Ya actually the project is not yet updated on PyPi site this version update is older, once the package updated to site you can access that.
from quotexpy.
@sainathkishoremrinc12 what?
from quotexpy.
@ricardospinoza i am getting this response after running
[INFO]: Start your robot... Elapsed time: 0 seconds [INFO]: Connecting... True Websocket successfully connected!!! [INFO]: Balance: 700265.3. Elapsed time: 0 seconds [INFO]: OK: Asset is open False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!! [INFO]: Balance: 700265.3 [INFO]: Exiting... [INFO]: Start your robot... Elapsed time: 1 seconds [INFO]: Connecting... True Websocket successfully connected!!! [INFO]: Balance: 700265.3. Elapsed time: 0 seconds [INFO]: OK: Asset is open False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!! [INFO]: Balance: 700265.3 [INFO]: Exiting... [INFO]: Start your robot... Elapsed time: 0 seconds [INFO]: Connecting... True Websocket successfully connected!!! [INFO]: Balance: 700265.3. Elapsed time: 0 seconds [INFO]: OK: Asset is open False {} or trade operation... Elapsed time: 10 seconds
[ERROR]: Operation failed!!! [INFO]: Balance: 700265.3 [INFO]: Exiting...
Observei o comportamento, uma operação falha porém abre na quotex observando no gráfico, e após alguns segundos um segundo evento dispara e nem sim a operação abre no gráfico e fica aguardando corretamente. preciso entender o que está ocorrendo neste cenário.
from quotexpy.
Hey folks, i have good e bad news. God is bug check win it´s ok, but the quotex inexplicate alter this id returned. i need alter key to de list info data to asset in trade operation opened.
from quotexpy.
from quotexpy.
Related Issues (20)
- The asset isn't executed at times HOT 2
- Results not updating after trade executed HOT 2
- ModuleNotFoundError: No module named 'quotexpy.ws.channels' HOT 2
- Getting Handshake status 403 Forbidden error HOT 8
- I'm getting item not price error when placing a trade for a OTC symbol
- cloudflare is blocking playwright could not connect HOT 12
- Can you tell me about setup HOT 2
- Change Currencies on the fly HOT 3
- samee issue of 403 ,, whyy,, tried everything!!! HOT 2
- when installing quotexpy HOT 5
- ¿Is it possible to obtain the trade history? HOT 5
- SSID took too long to respond? HOT 3
- santii, sir,,, can we trade in multiple accounts simultaneously? HOT 23
- I want a collaborator for a step-ahead project, with the help of santii,sir's module,, anybody wants to ? HOT 2
- santii, sir,,, im trying to trade for an hour , but after every trade the WS is closed, and the connection is needed to be establised again,, please can you help me with that? HOT 1
- All values of candle are None. HOT 19
- Issue in get_cokkies_and_ssid HOT 13
- Hey
- Help HOT 1
- Non-OTC pairs not placing bets.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quotexpy.