binary-com / binary-bot

Visual automation for binary.com
binary-bot.binary.sx
MIT License
231 stars 520 forks source link

Digit Differ/Match Prediction #152

Closed pamorell closed 7 years ago

pamorell commented 7 years ago

Dears,

I´m trying to make some calculation before to decide the 'prediction' number for Differ/Match trades.

The problem is that we can´t change the prediction number during calculations. It is read only in block 1 (Define your Trade contract), or in block 4 (Get your result trade again) after trade done.

If I need to read this on block 2 (Whatch and purchase your contract) it does not change the previous prediction.

For example: My inicitial prediction number is 7; During calculations, I´m waiting a first digit as 0 to trade with new prediction as 0; If during this calculations, I change the variable 'Prediction" from 7 to 0 on block 2 or the block for Tick Analysis (This Block is called on every tick), before the 'Purchase Trade", the trade will be done for previous number 7 instead of the new 0.

Is it possible to solve it? Is there any solution?

Best regards,

Paulo Rocha

aminmarashi commented 7 years ago

You can now set the latest digit by using the tick blocks inside the 4th block. Thanks for reporting.

screen shot 2017-01-23 at 10 04 20 am
pamorell commented 7 years ago

Dear Amin,

In fact, it is not exactly this I am reporting. Changing the prediction number in the 4th block works.

The issue here is that, for example, I´m waiting certain conditions e making some calculation before to purchase to decide the prediction number for trade. If I put in the 4th block, the new prediction number will read only after the purchase, and not before it.

The ideal here is that the 2nd block, before the Purchase command, the trade contract could be read. In this way, if there is any change after the bot was started, and before the first Purchase order, any change could be read and corrected, even for prediction number, or other parameter as number of ticks, for example.

Regards,

Paulo Rocha

aminmarashi commented 7 years ago

The trade definition is done in the first block, there's a delay between the first and the second block which is called when the trade is ready as requested. The block you're looking for is the 4th one which is called right before the 1st block. You can also initialize values passed to the trade definition by adding blocks to the 1st block.

screen shot 2017-01-26 at 4 35 34 pm
pamorell commented 7 years ago

Dear Amin,

Look what I mean for this: image

For the first trade, the 4th block is not called. The 4th block is called only after the first purchase.

As the result, if I need to replace the prediction number set in 1st block, BEFORE to purchase an order, I can´t do that. It is possible only after the purchase and get the results. You said that the 4th is called before starting a new trade, but it is happening for the first trade after started to run the program.

Regards,

Paulo Rocha

aminmarashi commented 7 years ago

If I understand correctly you want to be able to do this:

screen shot 2017-01-27 at 9 08 58 am

But you can't because for the first trade there's no tick yet, the first block actually defines the trade, then the first tick becomes available in the 2nd block in which you can't do anything about the trade definition until you finish your first trade. I think I see your point here and will look into somehow fixing this. I think I'll add the ability to choose the market for the last digit block.

screen shot 2017-01-27 at 9 20 46 am

Will this new feature solve the problem?

pamorell commented 7 years ago

Hi Amin,

That is the point. I want to do something that looks like this, but not exactly for the last digit.

Let´s suppose that I need do read the last tick value. Suppose that the value is 1288.23. Then I have the '23' (1288.23, discarding the 1288) as last two digits for the price. I will make some calculations startin by the number '23'. Let´s suppose that the result for those calculations is 5. Then when the last tick is xxxx.23, I need to purchase the order with prediction as 5 (even if the last digit is 3 for this example, I need to prediction number as 5) I don´t know if it will be possible, but I will really appreciate if it can be done. If it is not possibe, don´t worry. At least we tryied it.

Best Regards,

Paulo Rocha

okovalov commented 7 years ago

Hi Amin,

Having same request as Paulo does.

Can't wait until that is implemented :) thank you a lot!!

okovalov commented 7 years ago

actually this is not an enhancement. this is a bug.. I think we should keep that label..

aminmarashi commented 7 years ago

@okovalov Let's continue the discussion in #158 here. Nope, actually, it's not the case. The problem is when you want to set the prediction you need to do it in the 1st block (Bot.start(...)) in the first block there's no way you can read the ticks because it's not even started yet. Here's how it works now:

function someCalc(ticks) {
  ...
};

var ticks = getTicks('R_100'); // You can now specify your target symbol

var calculated = someCalc(ticks);

Bot.start('token', {
  prediction: calculated,
  ...
})

P.S. You can override any global variable in any step in the current version.

okovalov commented 7 years ago

@aminmarashi yep, before I read 'Here's how it works now', right after I have read 'there's no way you can read the ticks because it's not even started yet' I had thought 'why couldn't that logic be unbounded from the Bot.start then? (I mean to read the ticks or recalculate) - because ticks are being produced independently of the bot's status so why dont separate it into its own method, put a promise whatever, and then I read your example :) :+1:

aminmarashi commented 7 years ago

Best place to start learning the API is the tests

aminmarashi commented 7 years ago

@pamorell @okovalov Could you please test this block in the experimental version and see if it resolves this issue?

pamorell commented 7 years ago

Hi Amin,

For my purposes, it did not work, as the predicition number only can be replaced at the first time running, ou after trade results. What I really need is to replace it just berfore the Purchase order, at block 2. Even using a new variable, instead of Last Tick, it is working only after purchase order.

aminmarashi commented 7 years ago

@pamorell What you want is impossible to implement in our system, because you have to have a proposal before you try to purchase the proposal. However, it's not just the first time running because the initialization (i.e. Run once at the start) part is now separated you can put blocks above the trade options to do your calculations. Here's an example:

screen shot 2017-04-06 at 9 09 26 am

This is as closest as you can get in binary.com platform to what you want. Note The last digit is related to the current tick (before we request the proposals), and it's not even guaranteed to be the immediate tick before the proposal is created (e.g. a delay can happen when asking for the proposal)

ubanemas commented 7 years ago
cf6082d8-1aa8-11e7-9fe4-573581d446fc

how i can get like this please, cause is different from default

delonbh commented 7 years ago

Hi,

Please see below:

http://prntscr.com/f2i3gm

Warley Roverse

On Sun, Apr 30, 2017 at 1:10 AM, ubanemas notifications@github.com wrote:

[image: cf6082d8-1aa8-11e7-9fe4-573581d446fc] https://cloud.githubusercontent.com/assets/27851415/25561424/7d3cc1f6-2d95-11e7-8250-fa5694f42340.png

how i can get like this please, cause is different from default

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-298209957, or mute the thread https://github.com/notifications/unsubscribe-auth/AYhTB3iY5p0eP3yI0JlzhV5VjJCpUcUNks5r1Am5gaJpZM4LpTrG .

aminmarashi commented 7 years ago

@ubanemas You can experiment on it here

Fruitfella commented 7 years ago

hi amin, the bot check T(1) block at the start, i know its needed to define which market we are going to analyze and trade. could you make the bot only check the Market, Trade Type, Contract Type and Candle Interval (i think these enough to define which market we are going to analyze and trade) at the start and merge the contract detail (Duration, Payout, Prediction, etc.) with Purchase piece (i think its possible since these parameter are changeable and only needed when the "Purchase" execute, so these will checked right before the bot send the purchase proposal). like this, putting some strategies into the bot will be easier and problems like pamorell's can be solve. or you can just merge all but Market and Candle Interval. do you think its feasible?

ps : blame google translate for my bad english.

aminmarashi commented 7 years ago

It's possible to merge them, but not realistic. I think by merging you want them to be done at the same time, but in reality, we need to first request for a proposal for those contract details and then purchase. There's a delay between this request and the purchase and merging the blocks doesn't help this delay to go away. (putting aside lots of things can go wrong in between, e.g. connection loss, server error, etc.)

okovalov commented 7 years ago

folks, it is all (pretty much) doable in a console version of a bot. way more flexibility. not ideal ofcourse, but you can find a way to bypass an issue and achieve what you need in a different approach, but again - try npm package, so you would be surprised how much it allows to do comparing with an ui version of the bot.

On Wed, May 3, 2017 at 9:41 PM, Amin Marashi notifications@github.com wrote:

It's possible to merge them, but not realistic. I think by merging you want them to be done at the same time, but in reality we need to first request for a proposal for those contract details and then purchase. There's a delay between this request and the purchase and merging the blocks doesn't help this delay to go away. (putting aside lots of things can go wrong in between, e.g. connection loss, server error, etc.)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-299079816, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoK_egClVdDDgJX0CXnSEh7xEGd9-gOks5r2SywgaJpZM4LpTrG .

-- "Success is simple. Do what's right, the right way, at the right time."

best regards, tradakad

aminmarashi commented 7 years ago

There's no way you can request for a proposal and purchase it without any delay in between. FYI, the UI version just creates the code and runs it with the same engine the command line version uses. In future, we may provide means to share code between the CLI and the UI, so you can use them interchangeably.

Fruitfella commented 7 years ago

i mean like this 01

aminmarashi commented 7 years ago

It's good if possible, but it's impossible to implement in our platform.

Fruitfella commented 7 years ago

oh, too bad.

Fruitfella commented 7 years ago

@okovalov npm? do i need to know some programing language to use npm?

okovalov commented 7 years ago

you need to understand basic of node.js , which includes an understanding of java script

On Wed, May 3, 2017 at 10:58 PM, Fruitfella notifications@github.com wrote:

@okovalov https://github.com/okovalov npm? do i need to know some programing language to use npm?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-299087046, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoK_WukCyayCoAIoRqCMZU1wQ2gqFK-ks5r2T7sgaJpZM4LpTrG .

-- "Success is simple. Do what's right, the right way, at the right time."

best regards, tradakad

Fruitfella commented 7 years ago

uh, i cant use it then

robbybintan commented 6 years ago

Dear Mr. Marashi,

I'm new on bot development, but if I have strategy

  1. choosing market
  2. choosing type
  3. choosing prediction
  4. calculate 2 last digit , example 1234.56 (calculate 5 multiple by 6 result 30, I need to match 0 with my prediction..if matched than Purchase
  5. using martingle if loose then second purchase will be double, if 2nd Purchase win back to Purchase 1

can it be done to develop bot and appreciated if you can give me the sample bot for it, thankyou in advance

bobobisco commented 6 years ago

@robbybintan i really think you've got a point there. But rather than double if lose, why not make it increase by some fraction. Let's say you stake $1 on LDP = 0, if no match, martingale by adding some fraction to the loss amount.

Stake $1 => Loss Martingale => $1.20 or $1.50

In other wards just increase each lost stake by $0.20 or $0.30 or $0.50

My thoughts though

derris21 commented 6 years ago

Dears, I have a problem about differ/match bot.

for example: tick that has been out is 25, then I want to calculate the percent of each last digit of total tick 25 that has been out of the numbers 0%,1%,2% .... 9% then the highest percent is made a prediction

Is there any solution?

tuliofindi commented 6 years ago

Hi everyone, I noticed that all the contributors in this discussion are talking about solving problems with Bot Differs / match. I would like to make a change to my Bot. it works like this: Match 1st Tick = 0.35 = -0.35 2nd Tick = 0.38 = -0.38 3rd Tick = 0.42 = -0.42 the values ​​are changed in "x0.1" and so on, until the trade is "Win" and return to the initial value "0.35" I would like to reverse from "Match to Diff, but I can not understand the command, I do not know much about development. can anybody help me?

bobobisco commented 6 years ago

I can do it for you for $50. If you agree.

On Tuesday, January 9, 2018, tuliofindi notifications@github.com wrote:

Hi everyone, I noticed that all the contributors in this discussion are talking about solving problems with Bot Differs / match. I would like to make a change to my Bot. it works like this: Match 1st Tick = 0.35 = -0.35 2nd Tick = 0.38 = -0.38 3rd Tick = 0.42 = -0.42 the values ​​are changed in "x0.1" and so on, until the trade is "Win" and return to the initial value "0.35" I would like to reverse from "Match to Diff, but I can not understand the command, I am very lay in development. can anybody help me?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-356261941, or mute the thread https://github.com/notifications/unsubscribe-auth/Afue0CCwnnEqLaHBN179WC8ep-rSdBVPks5tI1GUgaJpZM4LpTrG .

creativi77 commented 6 years ago

@tuliofindi, send it to me and I will help you fix it. Change the .xml to txt and attache it here I can help you.

robbybintan commented 6 years ago

Hi All,

I have great software that can accomodate it, with complete indicator , marty and even do compound calculation needed. This software can running on mobile android too also on PC. See attachment.

The great feature in this software we can run manual trade or auto trade !! If you interest it cost $100 only..inbox me.

Best regards,

On Jan 10, 2018 19:20, "creativi77" notifications@github.com wrote:

@tuliofindi https://github.com/tuliofindi, send it to me and I will help you fix it. Change the .xml to txt and attache it here I can help you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-356586786, or mute the thread https://github.com/notifications/unsubscribe-auth/AfdDYDGFtclzea4YRxvWheds-jMykS-vks5tJKsZgaJpZM4LpTrG .

nazibazi commented 5 years ago

درود امین. من عباس هستم. اونجوری که معلومه خوشبختانه تجربه خوبی دارید در زمینه ترید. یه سوال دارم خواهش میکنم پاسخ بدهید : آیا واقعا با این بات های سایت باینری دات کام میشه درآمد کسب کرد؟ آیا شما بات خوبی می شناسید من استفاده کنم؟ با تشکر

nazibazi commented 5 years ago

Hi everyone, I noticed that all the contributors in this discussion are talking about solving problems with Bot Differs / match. I would like to make a change to my Bot. it works like this: Match 1st Tick = 0.35 = -0.35 2nd Tick = 0.38 = -0.38 3rd Tick = 0.42 = -0.42 the values ​​are changed in "x0.1" and so on, until the trade is "Win" and return to the initial value "0.35" I would like to reverse from "Match to Diff, but I can not understand the command, I do not know much about development. can anybody help me? please send me a good bot :abbas.kh6586@gmail.com thank you a

bobobisco commented 5 years ago

Hi Nazibazi,

I can create the bot you need with the exact capability of what you want it to accomplish. fortunately its going to cost you $250. If you are interested then reach me via mail. Terms of payment.

$150 before project commences and $100 after submitting the bot to you and after 14days of testing.

Awaiting your reply.

Cheers, happy trading. On Fri, Feb 22, 2019, 19:13 nazibazi notifications@github.com wrote:

Hi everyone, I noticed that all the contributors in this discussion are talking about solving problems with Bot Differs / match. I would like to make a change to my Bot. it works like this: Match 1st Tick = 0.35 = -0.35 2nd Tick = 0.38 = -0.38 3rd Tick = 0.42 = -0.42 the values ​​are changed in "x0.1" and so on, until the trade is "Win" and return to the initial value "0.35" I would like to reverse from "Match to Diff, but I can not understand the command, I do not know much about development. can anybody help me? please send me a good bot :abbas.kh6586@gmail.com thank you a

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-466492474, or mute the thread https://github.com/notifications/unsubscribe-auth/Afue0IpkIuVr4oOy_KWUPbpxHTCKOd52ks5vQDNBgaJpZM4LpTrG .

delonbh commented 5 years ago

Spam / Phishing detected! (Last mail)

On Sun, Feb 24, 2019, 09:48 rubenspina notifications@github.com wrote:

veja o que montei ontem e deixei a noite trabalhando todos quer uma estabilidade nem se for um valor pequeno e seguro para enviar agora por email $10 sem muita conversa conta para deposito NETELLER 451425729446 o email projetos_10@hotmail.com o email para enviar comprovante de pagamento e projetos_10@hotmail.com envio o arquivo por email. [image: captura de tela 2019-02-24 as 09 22 28] https://user-images.githubusercontent.com/30381449/53299191-efca6c00-3815-11e9-9133-a7b533e92b1a.png [image: captura de tela 2019-02-24 as 09 25 29] https://user-images.githubusercontent.com/30381449/53299218-36b86180-3816-11e9-9d86-e87f7dfc07da.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/binary-com/binary-bot/issues/152#issuecomment-466771201, or mute the thread https://github.com/notifications/unsubscribe-auth/AYhTBzM1m4UgOZru-CzSpIdyO2K34lr6ks5vQoo4gaJpZM4LpTrG .

Pinheiro1421 commented 5 years ago

Boa tarde. Srs;

Então o projeto foi finalizado ? Está dando lucro ?

Contato: jefferson.sspinheiro@gmail.com

korboat159 commented 2 years ago

the next trade will be executed once digit is replaced byanother digit as a one for the next prediction?

Jimmshullz commented 2 years ago

Anyone with a good digit matches bot please share to my email. jimmystacx@gmail.com

joebellion commented 2 years ago

anyone looking for a good bot. I can provide it for free i have a few source codes @joxeifkaish@gmail.com

chrome254 commented 2 years ago

hi guys,

I am trying to create a reverse return bot on binary.com with win bringing an x amount profit of buying price...thank you in advance