Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Binary.com plugin (binaries trading) #472205
04/16/18 11:44
04/16/18 11:44
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi there,

This is my first post in which I would like to share with you my first plugin project for Binary.com broker.

It was inspired by the popular article Binary Options: Scam or Opportunity?

I'm testing the plugin with the script from the article and in my opinion is stable enough.

But I have one question regarding the plugins. Should they be open-source or can be distributed in binary form only?

Here is the bin distribution: Zorro Plugin for Binary.com

Thanks,
kvm

Last edited by kvm; 04/18/18 11:19.
Re: Binary.com plugin (binaries trading) [Re: kvm] #472220
04/16/18 21:35
04/16/18 21:35
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline
Member
kujo  Offline
Member
K

Joined: Dec 2017
Posts: 129
Halifax, NS
I guess it's up to you. IG, Dukascopy, AllyInvest plugins are developed by community members. Their source code is on github

Re: Binary.com plugin (binaries trading) [Re: kujo] #472232
04/17/18 15:21
04/17/18 15:21
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
If you publish it open-source, you can be eligible for a free Zorro S license.

Re: Binary.com plugin (binaries trading) [Re: jcl] #472259
04/18/18 11:27
04/18/18 11:27
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Good to hear this, thanks for clarifications. I will open-source it at some point in the near future.

Re: Binary.com plugin (binaries trading) [Re: kvm] #472544
05/04/18 06:55
05/04/18 06:55
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
New version 1.0.1 is available with some minor bug fixes.

Re: Binary.com plugin (binaries trading) [Re: kvm] #472974
06/04/18 08:15
06/04/18 08:15
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
New version 1.1.0 is available, with several stability improvements and bug fixes.

Re: Binary.com plugin (binaries trading) [Re: kvm] #473334
06/29/18 11:06
06/29/18 11:06
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
New version 1.2 is available with support for the new broker api introduced in Zorro v1.83.

Re: Binary.com plugin (binaries trading) [Re: kvm] #474205
09/29/18 10:35
09/29/18 10:35
Joined: Aug 2018
Posts: 1
Accra
B
bailemad Offline
Guest
bailemad  Offline
Guest
B

Joined: Aug 2018
Posts: 1
Accra
thanks alot .... I will try

Re: Binary.com plugin (binaries trading) [Re: bailemad] #474304
10/05/18 08:22
10/05/18 08:22
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
New version 1.3 is available. It comes with some minor bug fixes. Tested with Zorro v1.88.6.

Re: Binary.com plugin (binaries trading) [Re: kvm] #474409
10/12/18 22:29
10/12/18 22:29
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
Hello kvm,
I want to test your plugin but unfortunately after I copied dll and vBinary-1.3 folder in Zorro/Plugin directory, Zorro do not recognise it an do not display it in Account/Broker window. I restarted Zorro few times.
Zorro ver 1.88, also I tried on older versions.
Config file info updated and I can connect to Binary.com account on testing tool vBinary-1.3.jar
Also I added PATH environment variable.
Where can be a problem?
Thank you..

Re: Binary.com plugin (binaries trading) [Re: Fiber] #474424
10/14/18 14:12
10/14/18 14:12
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Do you see the preinstalled Dukascopy plugin (it uses Java) in your Account/Broker window? If not, the Java is not configured correctly.

Re: Binary.com plugin (binaries trading) [Re: kvm] #474427
10/14/18 21:55
10/14/18 21:55
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
Yes, It was wrong Path settings and now I can connect to Binary com and start receiving quotes.
But I can not execute trades. Also, how to setup trade duration in ticks, different trade type?
Code:
function run()
{
set(TICKS);
set(BINARY);
History = ".t1";
BarPeriod = 1;
LookBack = 1;
Lots = 1;
LifeTime = 1;
WinPayout = 94;
LossPayout = 0;
enterLong();
}


Re: Binary.com plugin (binaries trading) [Re: Fiber] #474430
10/15/18 06:36
10/15/18 06:36
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Could you send me the plugin's log file? I can't test the script as it is, because I don't have Zorro S license to work with tick data.

If I comment set(TICKS); and His1tory = ".t1"; lines, everything is working as expected. A long position is opened every minute with $1 amount and 5 min. duration.

Last edited by kvm; 10/15/18 12:48.
Re: Binary.com plugin (binaries trading) [Re: kvm] #474439
10/15/18 17:56
10/15/18 17:56
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
Strange thing happened. Today I started Zorro and same script without any changes and it start trading with TICKS setting. Log file attached.

Attached Files
vBinary-log.txt (120 downloads)
Re: Binary.com plugin (binaries trading) [Re: Fiber] #474440
10/15/18 18:15
10/15/18 18:15
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
I still can not execute trades on periods lower then 1 minute.
With settings BarPeriod = 0.5; LifeTime = 1; trades on binary.com is opened with 1 minute expiration. Zorro process trades us closed after each 30 sec but in reality (on bnary.com) trade is still open.
Is it limitation of plugin?

Re: Binary.com plugin (binaries trading) [Re: Fiber] #474441
10/15/18 18:20
10/15/18 18:20
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
One more issue. How to open trades with stake less then 1 usd. Zorro treats setting Lots = 0.35; like Lots = 0 and do not execute trades.

Re: Binary.com plugin (binaries trading) [Re: Fiber] #474447
10/16/18 08:10
10/16/18 08:10
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Originally Posted By: Fiber
Strange thing happened. Today I started Zorro and same script without any changes and it start trading with TICKS setting. Log file attached.


There is no errors in the log and I can't be sure what happened.

Last edited by kvm; 10/16/18 08:19.
Re: Binary.com plugin (binaries trading) [Re: Fiber] #474448
10/16/18 08:18
10/16/18 08:18
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Originally Posted By: Fiber
I still can not execute trades on periods lower then 1 minute.
With settings BarPeriod = 0.5; LifeTime = 1; trades on binary.com is opened with 1 minute expiration. Zorro process trades us closed after each 30 sec but in reality (on bnary.com) trade is still open.
Is it limitation of plugin?

When you buy a contract via Binary.com API there is a field called 'duration'. The value of the field is got from the config file, because the Zorro doesn't pass the trade duration or bar period to the plugin.

The plugin is limited to work only with duration_unit = minutes, that is why the smallest duration is one minute. But in fact the API supports duration_unit = ticks, so lower duration could be used.

Last edited by kvm; 10/16/18 08:23.
Re: Binary.com plugin (binaries trading) [Re: Fiber] #474449
10/16/18 08:39
10/16/18 08:39
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Originally Posted By: Fiber
One more issue. How to open trades with stake less then 1 usd. Zorro treats setting Lots = 0.35; like Lots = 0 and do not execute trades.


The plugin interprets Lots=1 as $1 trade amount. This could be changed to be interpreted as 1 cent, so if you put in your script Lots=35, would mean $0.35 trade amount.

I'm open to suggestions how to improve the plugin!

Re: Binary.com plugin (binaries trading) [Re: kvm] #474452
10/16/18 14:42
10/16/18 14:42
Joined: Dec 2016
Posts: 43
F
Fiber Offline
Newbie
Fiber  Offline
Newbie
F

Joined: Dec 2016
Posts: 43
So I think for plugin improvement would be useful to add to config file:
duration_unit = minutes/ticks
lots_unit = dollar/cent
duration = 5 (ticks or minutes depending on duration_unit setting)
Lots would be passed from Zorro and used in dollars or cents depending from lots_unit setting.

Re: Binary.com plugin (binaries trading) [Re: Fiber] #474473
10/18/18 06:57
10/18/18 06:57
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Duration is ready, but I can't figure out how to configure LotAmount, MarginCost and PipCost from the plugin side to make the Zorro calculates P/L on cent basis.

Whatever I do, in BINARY mode with Lots=100, the P/L changes by $100. Does Zorro respect MarginCost and PipCost in BINARY mode?

Re: Binary.com plugin (binaries trading) [Re: kvm] #474607
10/25/18 07:28
10/25/18 07:28
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Anyone?

Re: Binary.com plugin (binaries trading) [Re: kvm] #474610
10/25/18 13:18
10/25/18 13:18
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: kvm
Duration is ready, but I can't figure out how to configure LotAmount, MarginCost and PipCost from the plugin side to make the Zorro calculates P/L on cent basis.

Whatever I do, in BINARY mode with Lots=100, the P/L changes by $100. Does Zorro respect MarginCost and PipCost in BINARY mode?
While I cannot comment on BINARY mode, if the broker gives you insufficient information to set LotAmount, MarginCost and PipCost, simply do not set these values at all (this is what the zorro staff told me when I was making my Ally plugin). In this case, the AssetList values will be used, and I believe zorro will run its own calculations.

Re: Binary.com plugin (binaries trading) [Re: kvm] #474682
10/30/18 05:57
10/30/18 05:57
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline
Member
3dgamelight  Offline
Member
3

Joined: Apr 2017
Posts: 106
This bridge support ticks mode?

Re: Binary.com plugin (binaries trading) [Re: 3dgamelight] #474683
10/30/18 08:04
10/30/18 08:04
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Yes, it supports downloading history tick data. In the next version you will be able to set the order duration in ticks also.

Page 1 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1