Code Monkey home page Code Monkey logo

iqoption_app's Introduction

Windows Linux Docker Kubernetes Ansible Prometheus Telegraf Grafana InfluxDB Clickhouse Oracle Postgresql Jmeter Taurus Python Git Teamcity Jenkins Markdown Visual Studio Code Codewars

Statistics Languages

iqoption_app's People

Contributors

n1nj4z33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iqoption_app's Issues

Update

Hi!

Can you update the javascript code based on the latest of Python code you wrote? I would really appreciate it, or how can I help you to convert from Python?

IQ Option App

Can you develop a binary option trading web site project?

What is "chunk_size" in the candle's object?

socket.send(JSON.stringify({"name": "candles", "msg": {
    "active_id": Actives['EURUSD_OTC'],
    "duration": 5,
    "chunk_size": 214,
    "from": n,
    "till": n+5000
}})); 

var candle = [1500686935, 1166524, 0, 1166524, 1166524];

Also, my closing price candle[2] is always zero. Any advice?

Can't use socket.send AT ALL!

Maybe im getting this all wrong but, shouldn't the Websocket.js get intercept any request that the user makers to the websocket (using socket.send)? Because i can't get websocket.js to see my requests, i can't send a simple request using socket.send, it just ignores them all. for instance whenever I use the socket.send to get candles data it won't actually get candles data, it just does nothing instead. Im doing a test like this to get candle data:

socket.send(JSON.stringify({"name": "candles", "msg": {
"active_id": Actives[0],
"duration": 1,
"chunk_size": 214,
"from": servertimestamp,
"till": servertimestamp+100
}}));

the websocket is waiting but it is like i didn't request anything.

if (json_data.name == "candles") {
console.log('!!!!!!!!!!!!!!!!!');
candlesData = json_data.msg.data;
};

the above piece of code never gets executed.

Error when Trying to Buy

"json: cannot unmarshal string into Go struct field commandData.price of type float64"

Kindly advice on how to solve the error above

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.