Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, Edgar_Herrera), 804 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 7 1 2 3 4 5 6 7
Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #469518
11/19/17 11:14
11/19/17 11:14
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Sorry I didn't read carefully what you wrote about the commission.
Yes if it doesn't work correctly set from the asset list you need to code it.
There is nothing in the plugin about the commission.

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #469519
11/19/17 11:25
11/19/17 11:25
Joined: Sep 2016
Posts: 20
France
J
JohanAu Offline
Newbie
JohanAu  Offline
Newbie
J

Joined: Sep 2016
Posts: 20
France
ok Vinsom, anyway thank for the good work. Glad to help also.

I live in France (half france/italy origin).
awesome that you live in Australia as long as you don't miss Italy laugh

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

Joined: Nov 2016
Posts: 103
NSW
Hi JohanAu,
I haven't been able to reproduce the Lot Amount issue you mentioned.
Can you please reproduce the issue and send me the BittrexPlugin.log (clear the keys)?
Need to check the API call parameters

From a quick test I did looks fine

Line 118: 2017-11-21 08:33:30,755 INFO [default] BrokerBuy IN
Line 119: 2017-11-21 08:33:30,756 INFO [default] BrokerBuy Params: BTC-XLM Amount:212 StopDist:0.00000000
Line 129: 2017-11-21 08:33:37,216 INFO [default] BrokerBuy OUT
Line 1183: 2017-11-21 08:38:05,609 INFO [default] BrokerBuy IN
Line 1184: 2017-11-21 08:38:05,609 INFO [default] BrokerBuy Params: BTC-XLM Amount:-212 StopDist:-1.00000000
Line 1194: 2017-11-21 08:38:08,651 INFO [default] BrokerBuy OUT

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #469566
11/22/17 07:28
11/22/17 07:28
Joined: Sep 2016
Posts: 20
France
J
JohanAu Offline
Newbie
JohanAu  Offline
Newbie
J

Joined: Sep 2016
Posts: 20
France
Hi Vinsom,

I'll enable the bittrex plugin, but I have fixed the lot amount for each asset at the first run so it does not bother me laugh

For your question regarding the pip cost :

"Value of 1 pip profit or loss per lot in units of the account currency; determined by the lot size (LotAmount) and the exchange rate of account currency and counter currency. This value should normally remain constant during the simulation for not adding artifacts to the result. If desired for special purposes, it can be calculated by script to fluctuate with the exchange rate (see example below). When the asset price rises or falls by x, the equivalent profit or loss in account currency is x * Lots * PIPCost/PIP. "

The pip cost is based on the lot amount, so each asset has different pip cost.

Re: BitTrex Plugin (Crypto Trading) [Re: JohanAu] #469659
11/28/17 22:41
11/28/17 22:41
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline
Newbie
Cheulmen  Offline
Newbie
C

Joined: Nov 2017
Posts: 34
Hi,

I'm getting an error while using this plugin. Trading in the ETH/BTC pair, I'm getting the following error:

!INSUFFICIENT_FUNDS
!market/buylimit - Error Parsing JSon
!Error calling API BrokerBuy
(ETH/BTC::L) Can't open 1@0.04684 at 22:30:01

In my Bittrex account I have 0.99ETH, so I have money to trade. My code is very simple, I just want to buy with the whole amount of money each time, so if I receive a long signal, I want to buy with all the BTC that I have, and if I receive a short signal, I want to sell all the ETH. This is the code:

Entry = PIP;
Lots = 43;
if (buy_signal == 1)
{
ReverseLong(1);
}
if (short_signal == 1)
{
ReverseShort(1);
}

I know that the plugin does not short, but I guess that this syntax is ok anyway? Instead of short I just want to sell ETH and stay in BTC, I'm not sure if the error may be because of this.

EDIT: Using Lots=40; it seems that the error doesn't appears, so I guess that this problem was due to my poor knowledge of Zorro. So, for the records, the Lots=40 is a bit less than the value of 1ETH in BTC.

EDIT2: Definitely something is wrong with the plugin, or with my script. I have 0.04386992 BTC. Then, I use Lots=43 (the code is the same than above). The system tries to buy ETH, opening a long position. And then the INSUFFICIENT FUNDS error appears frown

Last edited by Cheulmen; 11/29/17 18:25.
Re: BitTrex Plugin (Crypto Trading) [Re: Cheulmen] #469668
11/30/17 08:23
11/30/17 08:23
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi Cheulmen,
You shouldn't trade using all your balance.
Try to open and close a trade with 50% of the balance.

If is still an issue, in the Zorro.ini there is a setting to enable the log.
Set it to 1 (should be already 1 by default).
Then try to run your script and after the error open the log file (BittrexPlugin.log) , clean up your bittrex secret keys and post the log.

Would like to check the quantity sent in both opening and closing the trade.

There are also some changes Bittrex did recently regarding the pip size and minimum amount, that might also create issues.

Cheers
Vincenzo

Last edited by vinsom; 11/30/17 09:14.
Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #469670
11/30/17 10:59
11/30/17 10:59
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline
Newbie
Cheulmen  Offline
Newbie
C

Joined: Nov 2017
Posts: 34
Hi Vinsom,

Thanks for your answer, I restarted and I'm using half of my balance to trade (using Lots=20), but I don't get why. I mean, I don't want to have "locked" half of my money, I prefer to have it being traded. Is there some limitation or... :?

Anyway, I'm pasting here the relevant log of the problem. You'll see that in this specific case I'm using 42 Lots while the balance is 0.04386992 BTC. May be I'm doing something wrong though

Click to reveal..
2017-11-29 19:30:22,644 INFO [default] apisign: MYKEYSREMOVED
2017-11-29 19:30:22,644 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04386992,"Available":0.04386992,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-29 19:30:22,644 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-29 19:30:22,644 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-29 19:30:22,691 INFO [default] {"success":true,"message":"","result":{"Bid":10451.00000002,"Ask":10465.00000000,"Last":10460.00000000}}
2017-11-29 19:30:22,691 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-29 19:30:22,691 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-29 19:30:22,691 INFO [default] BrokerAccount OUT
2017-11-29 19:30:23,097 INFO [default] BrokerTime IN
2017-11-29 19:30:23,097 INFO [default] BrokerTime OUT
2017-11-29 19:30:23,097 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:23,128 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00012338
2017-11-29 19:30:23,128 INFO [default] BrokerAsset OUT
2017-11-29 19:30:23,550 INFO [default] BrokerTime IN
2017-11-29 19:30:23,550 INFO [default] BrokerTime OUT
2017-11-29 19:30:23,550 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:23,566 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00012338
2017-11-29 19:30:23,566 INFO [default] BrokerAsset OUT
2017-11-29 19:30:23,988 INFO [default] BrokerTime IN
2017-11-29 19:30:23,988 INFO [default] BrokerTime OUT
2017-11-29 19:30:23,988 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:24,019 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00012338
2017-11-29 19:30:24,019 INFO [default] BrokerAsset OUT
2017-11-29 19:30:24,441 INFO [default] BrokerTime IN
2017-11-29 19:30:24,441 INFO [default] BrokerTime OUT
2017-11-29 19:30:24,441 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:24,472 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00012338
2017-11-29 19:30:24,472 INFO [default] BrokerAsset OUT
2017-11-29 19:30:24,894 INFO [default] BrokerTime IN
2017-11-29 19:30:24,894 INFO [default] BrokerTime OUT
2017-11-29 19:30:24,894 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:24,956 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:24,956 INFO [default] BrokerAsset OUT
2017-11-29 19:30:25,363 INFO [default] BrokerTime IN
2017-11-29 19:30:25,363 INFO [default] BrokerTime OUT
2017-11-29 19:30:25,363 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:25,409 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:25,409 INFO [default] BrokerAsset OUT
2017-11-29 19:30:25,831 INFO [default] BrokerTime IN
2017-11-29 19:30:25,831 INFO [default] BrokerTime OUT
2017-11-29 19:30:25,831 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:25,847 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:25,847 INFO [default] BrokerAsset OUT
2017-11-29 19:30:26,269 INFO [default] BrokerTime IN
2017-11-29 19:30:26,269 INFO [default] BrokerTime OUT
2017-11-29 19:30:26,269 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:26,316 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:26,316 INFO [default] BrokerAsset OUT
2017-11-29 19:30:26,722 INFO [default] BrokerTime IN
2017-11-29 19:30:26,722 INFO [default] BrokerTime OUT
2017-11-29 19:30:26,722 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:26,769 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:26,769 INFO [default] BrokerAsset OUT
2017-11-29 19:30:27,175 INFO [default] BrokerTime IN
2017-11-29 19:30:27,175 INFO [default] BrokerTime OUT
2017-11-29 19:30:27,175 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:27,191 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:27,191 INFO [default] BrokerAsset OUT
2017-11-29 19:30:27,613 INFO [default] BrokerTime IN
2017-11-29 19:30:27,613 INFO [default] BrokerTime OUT
2017-11-29 19:30:27,613 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:27,659 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:27,659 INFO [default] BrokerAsset OUT
2017-11-29 19:30:28,066 INFO [default] BrokerTime IN
2017-11-29 19:30:28,066 INFO [default] BrokerTime OUT
2017-11-29 19:30:28,066 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:28,113 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:28,113 INFO [default] BrokerAsset OUT
2017-11-29 19:30:28,534 INFO [default] BrokerTime IN
2017-11-29 19:30:28,534 INFO [default] BrokerTime OUT
2017-11-29 19:30:28,534 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:28,722 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:28,722 INFO [default] BrokerAsset OUT
2017-11-29 19:30:29,144 INFO [default] BrokerTime IN
2017-11-29 19:30:29,144 INFO [default] BrokerTime OUT
2017-11-29 19:30:29,144 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:29,159 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:29,159 INFO [default] BrokerAsset OUT
2017-11-29 19:30:29,581 INFO [default] BrokerTime IN
2017-11-29 19:30:29,581 INFO [default] BrokerTime OUT
2017-11-29 19:30:29,581 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:29,628 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:29,628 INFO [default] BrokerAsset OUT
2017-11-29 19:30:30,034 INFO [default] BrokerTime IN
2017-11-29 19:30:30,034 INFO [default] BrokerTime OUT
2017-11-29 19:30:30,034 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:30,066 INFO [default] Asset Details: BTC-ETH Price: 0.04576244 Spread: 0.00000001
2017-11-29 19:30:30,066 INFO [default] BrokerAsset OUT
2017-11-29 19:30:30,472 INFO [default] BrokerTime IN
2017-11-29 19:30:30,472 INFO [default] BrokerTime OUT
2017-11-29 19:30:30,472 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:34,284 INFO [default] Asset Details: BTC-ETH Price: 0.04579999 Spread: 0.00016093
2017-11-29 19:30:34,284 INFO [default] BrokerAsset OUT
2017-11-29 19:30:34,284 INFO [default] BrokerBuy IN
2017-11-29 19:30:34,284 INFO [default] BrokerBuy Params: BTC-ETH Amount:42 StopDist:0.00000000
2017-11-29 19:30:35,456 INFO [default] market=BTC-ETH&quantity=0.96024736&rate=0.04579999
2017-11-29 19:30:35,456 INFO [default] apisign: MYKEYSREMOVED
2017-11-29 19:30:35,644 INFO [default] {"success":false,"message":"INSUFFICIENT_FUNDS","result":null}
2017-11-29 19:30:35,644 ERROR [default] INSUFFICIENT_FUNDS
2017-11-29 19:30:35,644 ERROR [default] market/buylimit
2017-11-29 19:30:35,644 ERROR [default] market=BTC-ETH&quantity=0.96024736&rate=0.04579999
2017-11-29 19:30:35,644 ERROR [default] market/buylimit - Error Parsing JSon
2017-11-29 19:30:35,644 ERROR [default] Error calling API BrokerBuy
2017-11-29 19:30:35,644 INFO [default] BrokerBuy OUT
2017-11-29 19:30:35,644 INFO [default] BrokerAccount IN
2017-11-29 19:30:35,644 INFO [default] apisign: MYKEYSREMOVED
2017-11-29 19:30:37,362 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04386992,"Available":0.04386992,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-29 19:30:37,362 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-29 19:30:37,362 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-29 19:30:37,393 INFO [default] {"success":true,"message":"","result":{"Bid":10451.00000003,"Ask":10460.00000000,"Last":10460.00000000}}
2017-11-29 19:30:37,393 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-29 19:30:37,393 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-29 19:30:37,393 INFO [default] BrokerAccount OUT
2017-11-29 19:30:37,815 INFO [default] BrokerTime IN
2017-11-29 19:30:37,815 INFO [default] BrokerTime OUT
2017-11-29 19:30:37,815 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-29 19:30:37,862 INFO [default] Asset Details: BTC-ETH Price: 0.04579999 Spread: 0.00016093
2017-11-29 19:30:37,862 INFO [default] BrokerAsset OUT
2017-11-29 19:30:38,284 INFO [default] BrokerTime IN

Re: BitTrex Plugin (Crypto Trading) [Re: Cheulmen] #469673
11/30/17 15:27
11/30/17 15:27
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline
Newbie
Cheulmen  Offline
Newbie
C

Joined: Nov 2017
Posts: 34
It happened again, this time with Lots=20. I'm pasting here the log (I just left in the log the initial start, and then the buys and the error, to avoid a massive logfile).

Click to reveal..
2017-11-30 11:24:00,234 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 11:24:00,234 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 11:24:01,310 INFO [default] {"success":true,"message":"","result":{"Bid":9970.00000000,"Ask":9980.79999999,"Last":9980.80000000}}
2017-11-30 11:24:01,310 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,310 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,310 INFO [default] BrokerAccount IN
2017-11-30 11:24:01,310 INFO [default] apisign: MYKEYS
2017-11-30 11:24:01,479 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04238690,"Available":0.04238690,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 11:24:01,479 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 11:24:01,479 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 11:24:01,504 INFO [default] {"success":true,"message":"","result":{"Bid":9970.00000000,"Ask":9980.79999999,"Last":9980.80000000}}
2017-11-30 11:24:01,504 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,504 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,504 INFO [default] BrokerAccount OUT
2017-11-30 11:24:01,504 INFO [default] BrokerLogin OUT
2017-11-30 11:24:01,504 INFO [default] BrokerTime IN
2017-11-30 11:24:01,504 INFO [default] BrokerTime OUT
2017-11-30 11:24:01,509 INFO [default] BrokerAccount IN
2017-11-30 11:24:01,509 INFO [default] apisign: MYKEYS
2017-11-30 11:24:01,509 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04238690,"Available":0.04238690,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 11:24:01,509 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 11:24:01,509 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 11:24:01,538 INFO [default] {"success":true,"message":"","result":{"Bid":9970.00000000,"Ask":9980.79999999,"Last":9980.80000000}}
2017-11-30 11:24:01,538 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,538 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 11:24:01,538 INFO [default] BrokerAccount OUT
2017-11-30 11:24:01,542 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:24:01,542 INFO [default] CanSubscribe IN
2017-11-30 11:24:01,568 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:24:01,772 INFO [default] Asset Details: BTC-ETH Price: 0.04396704 Spread: 0.00007604 MinAmount: 0.02278371 PipCost: 0.00000227
2017-11-30 11:24:01,772 INFO [default] BrokerAsset OUT
2017-11-30 11:24:01,773 INFO [default] BrokerHistory2 IN
2017-11-30 11:24:01,773 INFO [default] Params BTC-ETH Start : 11/02/17 10:24:01 End : 11/30/17 10:24:01 nTickMinutes : 5 nTicks : 300
2017-11-30 11:24:01,773 INFO [default] BrokerHistory3 IN
2017-11-30 11:24:01,975 INFO [default] return nTick: 28
2017-11-30 11:24:01,975 INFO [default] BrokerHistory3 OUT
2017-11-30 11:24:01,979 INFO [default] BrokerHistory2 IN
2017-11-30 11:24:01,979 INFO [default] Params BTC-ETH Start : 11/02/17 10:24:01 End : 11/03/17 00:00:00 nTickMinutes : 5 nTicks : 300
2017-11-30 11:24:01,979 INFO [default] BrokerHistory3 IN
2017-11-30 11:24:02,169 INFO [default] return nTick: 1
2017-11-30 11:24:02,169 INFO [default] BrokerHistory3 OUT
2017-11-30 11:24:02,174 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:24:02,367 INFO [default] Asset Details: BTC-ETH Price: 0.04396704 Spread: 0.00007604 MinAmount: 0.02278371 PipCost: 0.00000227
2017-11-30 11:24:02,367 INFO [default] BrokerAsset OUT
2017-11-30 11:24:02,437 INFO [default] BrokerTime IN
2017-11-30 11:24:02,437 INFO [default] BrokerTime OUT
2017-11-30 11:24:02,437 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:24:02,454 INFO [default] Asset Details: BTC-ETH Price: 0.04396704 Spread: 0.00007604
2017-11-30 11:24:02,454 INFO [default] BrokerAsset OUT
2017-11-30 11:24:02,454 INFO [default] BrokerAccount IN
2017-11-30 11:24:02,454 INFO [default] apisign: MYKEYS
2017-11-30 11:24:02,454 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04238690,"Available":0.04238690,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 11:24:02,454 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 11:24:02,454 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 11:24:02,471 INFO [default] {"success":true,"message":"","result":{"Bid":9970.00000000,"Ask":9980.79999999,"Last":9980.80000000}}
2017-11-30 11:24:02,471 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 11:24:02,471 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 11:24:02,471 INFO [default] BrokerAccount OUT
2017-11-30 11:24:02,745 INFO [default] BrokerTime IN

[...]

2017-11-30 11:30:49,425 INFO [default] Asset Details: BTC-ETH Price: 0.04395995 Spread: 0.00002599
2017-11-30 11:30:49,425 INFO [default] BrokerAsset OUT
2017-11-30 11:30:49,699 INFO [default] BrokerTime IN
2017-11-30 11:30:49,699 INFO [default] BrokerTime OUT
2017-11-30 11:30:49,699 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:30:49,886 INFO [default] Asset Details: BTC-ETH Price: 0.04400150 Spread: 0.00004155
2017-11-30 11:30:49,886 INFO [default] BrokerAsset OUT
2017-11-30 11:30:49,886 INFO [default] BrokerBuy IN
2017-11-30 11:30:49,886 INFO [default] BrokerBuy Params: BTC-ETH Amount:20 StopDist:0.00000000
2017-11-30 11:30:49,926 INFO [default] market=BTC-ETH&quantity=0.45567428&rate=0.04400175
2017-11-30 11:30:49,926 INFO [default] apisign: MYKEYS
2017-11-30 11:30:50,117 INFO [default] {"success":true,"message":"","result":{"uuid":"3e42e3cd-4201-4a55-bd1d-2c5c41ae9242"}}
2017-11-30 11:30:52,118 INFO [default] apisign: MYKEYS
2017-11-30 11:30:52,290 INFO [default] {"success":true,"message":"","result":{"AccountId":null,"OrderUuid":"3e42e3cd-4201-4a55-bd1d-2c5c41ae9242","Exchange":"BTC-ETH","Type":"LIMIT_BUY","Quantity":0.45567428,"QuantityRemaining":0.00000000,"Limit":0.04400175,"Reserved":0.02005046,"ReserveRemaining":0.02005041,"CommissionReserved":0.00005012,"CommissionReserveRemaining":0.00000000,"CommissionPaid":0.00005012,"Price":0.02005041,"PricePerUnit":0.04400162000000000000,"Opened":"2017-11-30T10:30:51.647","Closed":"2017-11-30T10:30:52.677","IsOpen":false,"Sentinel":"14f8186b-b9ac-49d9-ac84-caea192f47cf","CancelInitiated":false,"ImmediateOrCancel":false,"IsConditional":false,"Condition":"NONE","ConditionTarget":null}}
2017-11-30 11:30:52,290 INFO [default] Trade id: 3e42e3cd-4201-4a55-bd1d-2c5c41ae9242 - 1512037849 - Price: 0.04400175
2017-11-30 11:30:52,291 INFO [default] Type: buy Price: 0.04400175 Amount: 0.45567428
2017-11-30 11:30:52,293 INFO [default] Quantity: 0.45567427999999999 QRemaining: 0 Commission: 0.00005013
2017-11-30 11:30:52,293 INFO [default] BrokerBuy OUT
2017-11-30 11:30:52,295 INFO [default] BrokerAccount IN
2017-11-30 11:30:52,296 INFO [default] apisign: MYKEYS
2017-11-30 11:30:52,550 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.02228637,"Available":0.02228637,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 11:30:52,550 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 11:30:52,550 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 11:30:52,577 INFO [default] {"success":true,"message":"","result":{"Bid":9800.00000000,"Ask":9800.04999998,"Last":9800.00000000}}
2017-11-30 11:30:52,577 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 11:30:52,577 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 11:30:52,577 INFO [default] BrokerAccount OUT
2017-11-30 11:30:52,852 INFO [default] BrokerTime IN
2017-11-30 11:30:52,852 INFO [default] BrokerTime OUT
2017-11-30 11:30:52,852 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:30:52,876 INFO [default] Asset Details: BTC-ETH Price: 0.04400176 Spread: 0.00000001
2017-11-30 11:30:52,876 INFO [default] BrokerAsset OUT
2017-11-30 11:30:53,150 INFO [default] BrokerTime IN
2017-11-30 11:30:53,150 INFO [default] BrokerTime OUT
2017-11-30 11:30:53,150 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 11:30:53,177 INFO [default] Asset Details: BTC-ETH Price: 0.04400176 Spread: 0.00000001
2017-11-30 11:30:53,177 INFO [default] BrokerAsset OUT
2017-11-30 11:30:53,451 INFO [default] BrokerTime IN
2017-11-30 11:30:53,451 INFO [default] BrokerTime OUT

[...]

2017-11-30 12:00:00,870 INFO [default] Asset Details: BTC-ETH Price: 0.04425000 Spread: 0.00010000
2017-11-30 12:00:00,870 INFO [default] BrokerAsset OUT
2017-11-30 12:00:01,144 INFO [default] BrokerTime IN
2017-11-30 12:00:01,144 INFO [default] BrokerTime OUT
2017-11-30 12:00:01,144 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:01,177 INFO [default] Asset Details: BTC-ETH Price: 0.04425000 Spread: 0.00010000 MinAmount: 0.02278371 PipCost: 0.00000215
2017-11-30 12:00:01,177 INFO [default] BrokerAsset OUT
2017-11-30 12:00:01,180 INFO [default] BrokerBuy IN
2017-11-30 12:00:01,180 INFO [default] BrokerBuy Params: BTC-ETH Amount:-20 StopDist:-1.00000000
2017-11-30 12:00:01,215 INFO [default] market=BTC-ETH&quantity=0.45567428&rate=0.04415000
2017-11-30 12:00:01,215 INFO [default] apisign: MYKEYS
2017-11-30 12:00:01,408 INFO [default] {"success":true,"message":"","result":{"uuid":"0ee0d20c-7a32-4718-ad68-c49765e4aade"}}
2017-11-30 12:00:03,409 INFO [default] apisign: MYKEYS
2017-11-30 12:00:03,568 INFO [default] {"success":true,"message":"","result":{"AccountId":null,"OrderUuid":"0ee0d20c-7a32-4718-ad68-c49765e4aade","Exchange":"BTC-ETH","Type":"LIMIT_SELL","Quantity":0.45567428,"QuantityRemaining":0.00000000,"Limit":0.04415000,"Reserved":0.45567428,"ReserveRemaining":0.45567428,"CommissionReserved":0.00000000,"CommissionReserveRemaining":0.00000000,"CommissionPaid":0.00005029,"Price":0.02011801,"PricePerUnit":0.04414997000000000000,"Opened":"2017-11-30T11:00:02.973","Closed":"2017-11-30T11:00:04.57","IsOpen":false,"Sentinel":"66e0cd06-9f91-499e-9886-4e06e67036c7","CancelInitiated":false,"ImmediateOrCancel":false,"IsConditional":false,"Condition":"NONE","ConditionTarget":null}}
2017-11-30 12:00:03,568 INFO [default] Trade id: 0ee0d20c-7a32-4718-ad68-c49765e4aade - 1512039601 - Price: 0.04415000
2017-11-30 12:00:03,569 INFO [default] Type: sell Price: 0.04415000 Amount: 0.45567428
2017-11-30 12:00:03,570 INFO [default] Quantity: 0.45567427999999999 QRemaining: 0 Commission: 0.00005030
2017-11-30 12:00:03,571 INFO [default] BrokerBuy OUT
2017-11-30 12:00:03,573 INFO [default] BrokerAccount IN
2017-11-30 12:00:03,573 INFO [default] apisign: MYKEYS
2017-11-30 12:00:03,739 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04235409,"Available":0.04235409,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 12:00:03,739 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 12:00:03,739 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 12:00:03,763 INFO [default] {"success":true,"message":"","result":{"Bid":9501.00000001,"Ask":9501.58880834,"Last":9501.00000000}}
2017-11-30 12:00:03,763 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 12:00:03,763 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 12:00:03,763 INFO [default] BrokerAccount OUT
2017-11-30 12:00:03,764 INFO [default] BrokerTime IN
2017-11-30 12:00:03,764 INFO [default] BrokerTime OUT
2017-11-30 12:00:03,764 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:03,951 INFO [default] Asset Details: BTC-ETH Price: 0.04425000 Spread: 0.00010000
2017-11-30 12:00:03,951 INFO [default] BrokerAsset OUT
2017-11-30 12:00:03,952 INFO [default] BrokerAccount IN
2017-11-30 12:00:03,952 INFO [default] apisign: MYKEYS
2017-11-30 12:00:03,952 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04235409,"Available":0.04235409,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 12:00:03,952 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 12:00:03,952 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 12:00:03,973 INFO [default] {"success":true,"message":"","result":{"Bid":9501.00000001,"Ask":9501.58880834,"Last":9501.00000000}}
2017-11-30 12:00:03,973 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 12:00:03,973 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 12:00:03,973 INFO [default] BrokerAccount OUT
2017-11-30 12:00:04,247 INFO [default] BrokerTime IN
2017-11-30 12:00:04,247 INFO [default] BrokerTime OUT
2017-11-30 12:00:04,247 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:04,263 INFO [default] Asset Details: BTC-ETH Price: 0.04425000 Spread: 0.00010000
2017-11-30 12:00:04,263 INFO [default] BrokerAsset OUT

[...]

2017-11-30 12:00:33,396 INFO [default] Asset Details: BTC-ETH Price: 0.04425000 Spread: 0.00010000
2017-11-30 12:00:33,396 INFO [default] BrokerAsset OUT
2017-11-30 12:00:33,671 INFO [default] BrokerTime IN
2017-11-30 12:00:33,671 INFO [default] BrokerTime OUT
2017-11-30 12:00:33,671 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:33,849 INFO [default] Asset Details: BTC-ETH Price: 0.04421666 Spread: 0.00006666
2017-11-30 12:00:33,849 INFO [default] BrokerAsset OUT
2017-11-30 12:00:33,850 INFO [default] BrokerBuy IN
2017-11-30 12:00:33,850 INFO [default] BrokerBuy Params: BTC-ETH Amount:-20 StopDist:0.00000000
2017-11-30 12:00:33,885 INFO [default] market=BTC-ETH&quantity=0.45567428&rate=0.04413660
2017-11-30 12:00:33,886 INFO [default] apisign: MYKEYS
2017-11-30 12:00:34,053 INFO [default] {"success":false,"message":"INSUFFICIENT_FUNDS","result":null}
2017-11-30 12:00:34,053 ERROR [default] INSUFFICIENT_FUNDS
2017-11-30 12:00:34,055 ERROR [default] market/selllimit
2017-11-30 12:00:34,055 ERROR [default] market=BTC-ETH&quantity=0.45567428&rate=0.04413660
2017-11-30 12:00:34,055 ERROR [default] market/selllimit - Error Parsing JSon
2017-11-30 12:00:34,056 ERROR [default] Error calling API BrokerBuy
2017-11-30 12:00:34,057 INFO [default] BrokerBuy OUT
2017-11-30 12:00:34,058 INFO [default] BrokerAccount IN
2017-11-30 12:00:34,058 INFO [default] apisign: MYKEYS
2017-11-30 12:00:34,232 INFO [default] {"success":true,"message":"","result":{"Currency":"BTC","Balance":0.04235409,"Available":0.04235409,"Pending":0.00000000,"CryptoAddress":null}}
2017-11-30 12:00:34,232 INFO [default] CallGetAccBaseCurrExchRate IN
2017-11-30 12:00:34,232 INFO [default] GetAccBaseCurrExchRate IN Symbol: USDT-BTC
2017-11-30 12:00:34,315 INFO [default] {"success":true,"message":"","result":{"Bid":9501.00000000,"Ask":9501.58880831,"Last":9501.00000000}}
2017-11-30 12:00:34,315 INFO [default] GetAccBaseCurrExchRate OUT
2017-11-30 12:00:34,315 INFO [default] CallGetAccBaseCurrExchRate OUT
2017-11-30 12:00:34,315 INFO [default] BrokerAccount OUT
2017-11-30 12:00:34,590 INFO [default] BrokerTime IN
2017-11-30 12:00:34,590 INFO [default] BrokerTime OUT
2017-11-30 12:00:34,590 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:34,797 INFO [default] Asset Details: BTC-ETH Price: 0.04421666 Spread: 0.00006666
2017-11-30 12:00:34,797 INFO [default] BrokerAsset OUT
2017-11-30 12:00:35,071 INFO [default] BrokerTime IN
2017-11-30 12:00:35,071 INFO [default] BrokerTime OUT
2017-11-30 12:00:35,071 INFO [default] BrokerAsset IN Symbol: ETH/BTC
2017-11-30 12:00:35,099 INFO [default] Asset Details: BTC-ETH Price: 0.04421666 Spread: 0.00006666

Re: BitTrex Plugin (Crypto Trading) [Re: Cheulmen] #469696
12/03/17 04:10
12/03/17 04: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 need to implement the changes that Bittrex put in place:
https://support.bittrex.com/hc/en-us/articles/115003004171

THis should fix the issue outlined above too,
I'll do it as soon as I have some free time next week.
Cheers

Re: BitTrex Plugin (Crypto Trading) [Re: vinsom] #469697
12/03/17 04:58
12/03/17 04:58
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi Cheulmen,
I did the changes. Please get latest dll from GitHub.

please also increase the MinOrderSize in zorro ini.
MinOrderSize="200000", as Bittrex increased it to 100k
see explaination in the readme.txt

Please try first with 50% amount .
You can increase later is no issue.
THanks for doing some testing

Page 5 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