Gamestudio Links
Zorro Links
Newest Posts
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
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 471 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 7 1 2 3 4 5 6 7
BitTrex Plugin (Crypto Trading) #468152
09/20/17 19:10
09/20/17 19:10
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi,
I just shared the code for a BitTrex plugin.

https://github.com/vinsom68/Zorro-BitTrex-Plugin

There is also a compiled dll (latest build folder) and instructions.
There are a few issues, expecially for pairs who have many decimals described in the readme.
This is the first plugin of this kind for Zorro, and it might need some updates to be fully compatible with crypto.

Use at your own risk.
This is the first version, and there might be bugs.
Mostly tested with Bitcoin as base currency, but other currencies might be experimented.

Enjoy
Vincenzo

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #468160
09/21/17 08:49
09/21/17 08:49
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Here there is a link to a tool do download history from cryptocompare

https://github.com/vinsom68/CryptoCompareHistoryAPI

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #468161
09/21/17 09:08
09/21/17 09:08
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Thanks! I'm sure this plugin will meet a lot of interest. The latest Zorro version 1.66 has been adapted to support more decimals for bitcoin accounts, at least in theory, it has not been tested yet.

Re: BitTrex Plugin (Crypto Trading) [Re: jcl] #468172
09/21/17 20:41
09/21/17 20:41
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi Jcl, will there be a setting to support more decimals or decimals are incremented up to a fixed number ?

Cheers

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #468174
09/22/17 07:03
09/22/17 07:03
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
It checks the account size and switches to more digits when it suspects a Bitcoin account.

Re: BitTrex Plugin (Crypto Trading) [Re: jcl] #468266
09/27/17 14:40
09/27/17 14:40
Joined: Sep 2016
Posts: 20
France
J
JohanAu Offline
Newbie
JohanAu  Offline
Newbie
J

Joined: Sep 2016
Posts: 20
France
Hi Vinsom,

Thank you very much for this, appreciate a lot !
Did you started to build strategies for crypto ?

Sure there must be some obvious inefficiencies compared to other market,
can't wait to try some strategies laugh

BR, Johan

Re: BitTrex Plugin (Crypto Trading) [Re: JohanAu] #468425
10/03/17 20:11
10/03/17 20:11
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Not yet.
Waiting for final Zorro 1.66 that can handle more decimals

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #468496
10/08/17 06:31
10/08/17 06:31
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Thank you for this plugin! Will try crypto trading, this just comes handy.

Re: BitTrex Plugin (Crypto Trading) [Re: Petra] #468588
10/11/17 06:52
10/11/17 06:52
Joined: Sep 2016
Posts: 20
France
J
JohanAu Offline
Newbie
JohanAu  Offline
Newbie
J

Joined: Sep 2016
Posts: 20
France
Hi Vinsom,

I have started to play with your files.
I am trying to backtest some strategies with the historical data taken from crypto compare (and thank you again for this !).

I see that in AssetFix you have set the PIP cost to 0.01 :

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
1ST/BTC,50,0,0,0,0.00000001,0.01,0,1,1,0.000005,

this means that 1 pip (1 satoshi) is equal to 0.01$. This is very difficult to interpret the result with that.

I think this is more convenient to put 1 in pip cost so the result is in Satoshis instead.

Also, do you know how is it possible to change the currency account in the config file (and put satoshis or BTC) ?

I really want to contribute to this and make it work for crypto account, so I will continue testing and report here.

Best regards,
Johan

Re: BitTrex Plugin (Crypto Trading) [Re: JohanAu] #468749
10/16/17 03:10
10/16/17 03:10
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi Johan,

The pip cost is calculated from the data coming from the broker.
So the values in the AssetList are all ignored except fees, for which Zorro doesn't have variables to auto set them in the plugin.
Please read carefully the readme coming with the plugin where is partially explained.

In short, Bittrex has a min trade amount of 50k satoshi.
To avoid issues , I set this amount to 100k (see why in the readme).
Now this 100k satoshi converted to the alt coin you want to buy would be the MinLotAmount, that therefore changes for every altcoin.
So a 1 Zorro lot, would be equal to this MinLotAmount (about 5US at current exchange rate), and multiples of the MinLotAmount.

Now the PipCost is equal to the MinLotAmount * Pip (1 satoshi=0.00000001) * AccountCurrency(1 if btc, or BTC/USD exchange rate)
If log is enabled and you search for "PipCost:", you will find it there for each pair in the AssetList (just clear it from times to times as becomes huge).

To enable the account to be in BTC, replace DisplayCurrency="USD" with DisplayCurrency="BTC" in Zorro.ini.
You will need Zorro 1.66 to see more decimals as Jcl says. Haven't had the time to test this.
Let me know how you go and thanks for doing some testing

Vincenzo

Page 1 of 7 1 2 3 4 5 6 7

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