1 registered members (SBGuy),
652
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Binary.com plugin (binaries trading)
#472205
04/16/18 11:44
04/16/18 11:44
|
Joined: Jan 2017
Posts: 95 Bulgaria
kvm
OP
Junior Member
|
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]
#472974
06/04/18 08:15
06/04/18 08:15
|
Joined: Jan 2017
Posts: 95 Bulgaria
kvm
OP
Junior Member
|
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
OP
Junior Member
|
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: bailemad]
#474304
10/05/18 08:22
10/05/18 08:22
|
Joined: Jan 2017
Posts: 95 Bulgaria
kvm
OP
Junior Member
|
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]
#474427
10/14/18 21:55
10/14/18 21:55
|
Joined: Dec 2016
Posts: 43
Fiber
Newbie
|
Newbie
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?
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
OP
Junior Member
|
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: Fiber]
#474447
10/16/18 08:10
10/16/18 08:10
|
Joined: Jan 2017
Posts: 95 Bulgaria
kvm
OP
Junior Member
|
OP
Junior Member
Joined: Jan 2017
Posts: 95
Bulgaria
|
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
OP
Junior Member
|
OP
Junior Member
Joined: Jan 2017
Posts: 95
Bulgaria
|
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
OP
Junior Member
|
OP
Junior Member
Joined: Jan 2017
Posts: 95
Bulgaria
|
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]
#474607
10/25/18 07:28
10/25/18 07:28
|
Joined: Jan 2017
Posts: 95 Bulgaria
kvm
OP
Junior Member
|
OP
Junior Member
Joined: Jan 2017
Posts: 95
Bulgaria
|
|
|
|
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
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,725
Chicago
|
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.
|
|
|
|