Bitcoin Forum
October 31, 2024, 09:54:17 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 [140] 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 ... 273 »
  Print  
Author Topic: 【BOT】 🌟 C.A.T. Cryptocurrency Automatic Trader 🌟 (New Price List 04/2021)  (Read 531473 times)
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 04:44:28 PM
 #2781

FYI, I'm using C.A.T. 4.6 and I'm still seeing trades on Poloniex being calculated incorrectly.  For example, I buy 0.80 BTC worth of Qora at 10 satoshi's using CAT (8000000.00000000 qora).  Fee is 0.15%, which is 12,000 qora.  However, CAT leaves behind 0.1 % or 8,000 qora.  These  are not sold at 11 satoshis.  Instead, only 7980000 are sold, 8,000 fewer than should have been.  

Is the Poloniex API returning the wrong fee or is CAT still hard-coded for 0.25% for Poloniex for all trades?

Fees for polo on 4.6 are calculate right.
I need to take a look at rules for PONG creation after a trade.
Do you have a log where this Qora order is created? This could help me understand
otp
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 29, 2017, 06:17:30 PM
 #2782

Here is the log -- is this the right log or do I need to locate the api log?

Quote
2017-01-28 15:01:23| Static-PING-1082005990 : BUY 8000000.00000000@0.00000010 Current 0.00000000 | PPO : Order Is Full Close (Current Quantity = 0.00000000)
2017-01-28 15:01:23| Static-PING-1082005990 : BUY 8000000.00000000@0.00000010 Current 0.00000000 | PPO : A Trade Has Occured : BUY QTY 8000000.00000000@0.00000010
2017-01-28 15:01:23| Static-PING-1082005990 : BUY 8000000.00000000@0.00000010 Current 0.00000000 | Remove From Queue (Qty = 0)
2017-01-28 15:01:23| TP  : Try To Create new PONG SELL From Trade BUY-8000000.00000000@0.00000010
2017-01-28 15:01:24| OCR : Try To Create new Order (From Ping Trade) PONG : SELL 7980000.00000000@0.00000011 (Static)
2017-01-28 15:01:28| OCR : Order Successfully Created Static-PONG-1086076915 : SELL 7980000.00000000@0.00000011 Current 7980000.00000000
2017-01-28 15:01:28| PPE : Remove PING Trade BUY-8000000.00000000@0.00000010
2017-01-28 15:08:01| PPA : Lookup 330 Start. Update Market Orders,My Orders,My Trades.
2017-01-28 15:08:03| PPA : First Markets Checks Are Ok.
2017-01-28 15:08:03| PPO : Static-PONG-1086076915 : SELL 7980000.00000000@0.00000011 Current 7980000.00000000 First Order Synch Call(Attempt 1) - Synch Successful!

Here is the gain log:

Quote
2017-01-28 19:08:04 QORA/BTC BUY 8000000.00000000@0.00000010 -> SELL 7980000.00000000@0.00000011 Gain 0.07728630 Fee 0.00251370 (0.00119700+0.00131670) Total Market Gain 0.07728630
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 06:36:09 PM
 #2783

it seems that FEES were 0.25% (Taker) For that trade.

In fact if i remove the 0.25% expressed as QTY from the 8000000 QTY of the PING TRADE i get exactly 7980000
otp
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 29, 2017, 06:41:54 PM
 #2784

No, it was a market making trade.  The market was static, and the buy order was placed as a buy order at 10 satoshis when Qora was trading between 12 and 13 satoshis.  Perhaps the error is in Poloniex's API results?  I'm printing the API call results to the CAT console and doing another market making trade.  I will paste the API results in a new reply when I have them.
otp
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 29, 2017, 06:55:15 PM
 #2785

Here are the API results of another test trade (PING BUY ORDER STATIC):

Quote
2017-01-29 12:44:11| https://poloniex.com/tradingApi
[{"globalTradeID":77611357,"tradeID":"123546","date":"2017-01-29 18:40:52","rate":"0.00000011","amount":"99999.99999999","total":"0.01099999","fee":"0.00150000","orderNumber":"1087563427","type":"buy","category":"exchange"}

And here is how CAT created the PONG sell order:

Quote
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | PPO : Order Is Full Close (Current Quantity = 0.00000000)
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | PPO : A Trade Has Occured : BUY QTY 99999.99999999@0.00000011
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | Remove From Queue (Qty = 0)
2017-01-29 12:44:27| TP  : Try To Create new PONG SELL From Trade BUY-99999.99999999@0.00000011
2017-01-29 12:44:28| OCR : Try To Create new Order (From Ping Trade) PONG : SELL 99749.99999999@0.00000012 (Static)
2017-01-29 12:44:32| OCR : Order Successfully Created Static-PONG-1087581409 : SELL 99749.99999999@0.00000012 Current 99749.99999999
2017-01-29 12:44:32| PPE : Remove PING Trade BUY-99999.99999999@0.00000011

And now I have 100 Qora sitting idle (0.10% of 99999.99999999 ).  CAT treated the trade as one with a 0.25% fee.  This is CAT 4.6 I'm running.  The pong sell trade should have been 99849.99999999.
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 07:12:33 PM
 #2786

Here are the API results of another test trade (PING BUY ORDER STATIC):

Quote
2017-01-29 12:44:11| https://poloniex.com/tradingApi
[{"globalTradeID":77611357,"tradeID":"123546","date":"2017-01-29 18:40:52","rate":"0.00000011","amount":"99999.99999999","total":"0.01099999","fee":"0.00150000","orderNumber":"1087563427","type":"buy","category":"exchange"}

And here is how CAT created the PONG sell order:

Quote
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | PPO : Order Is Full Close (Current Quantity = 0.00000000)
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | PPO : A Trade Has Occured : BUY QTY 99999.99999999@0.00000011
2017-01-29 12:44:27| Static-PING-1087563427 : BUY 99999.99999999@0.00000011 Current 0.00000000 | Remove From Queue (Qty = 0)
2017-01-29 12:44:27| TP  : Try To Create new PONG SELL From Trade BUY-99999.99999999@0.00000011
2017-01-29 12:44:28| OCR : Try To Create new Order (From Ping Trade) PONG : SELL 99749.99999999@0.00000012 (Static)
2017-01-29 12:44:32| OCR : Order Successfully Created Static-PONG-1087581409 : SELL 99749.99999999@0.00000012 Current 99749.99999999
2017-01-29 12:44:32| PPE : Remove PING Trade BUY-99999.99999999@0.00000011

And now I have 100 Qora sitting idle (0.10% of 99999.99999999 ).  CAT treated the trade as one with a 0.25% fee.  This is CAT 4.6 I'm running.  The pong sell trade should have been 99849.99999999.

I'm looking at the code, but fees are readed from the fees field and the applied over the total amount.
I need to check somewhere else.
Just a question : if you load your trades from the market explorer, are your fees calculated in the right way?
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 07:21:13 PM
 #2787

OK, i've found the problem.
The routine that calculate the fees to subtract from a trade ping use the "default" market fees of 25%
I will write the fix for the 4.7 version.
This problem occurs only on exchange where fees are dynamic (taker fees different from maker fees).

Thank you so much for finding this  Wink Wink
otp
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 29, 2017, 08:01:26 PM
 #2788

Glad to help! :-)

Now, I mentioned GDAX API as a possible new exchange for CAT.  However, they do have user id verification requirements.  I will see if there are exceptions to this, or if a developer like you could work with their API Sandbox without the need to go through the process.  I'll be sure to post back here what I find.

Thanks.  I've found C.A.T. 4.6 to be the best version C.A.T. yet.  Works better than previous versions.
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 08:04:13 PM
 #2789

Thank you so much, and 4.7 I hope will works better  Grin Grin
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 09:47:37 PM
 #2790

Hi C.A.T. users, this is the 4.7 ChangeLog

Quote
- Added TuxExchange API
- Addeq Liqui API
- Added the LOGS MANAGER. You can reach it from the MAIN Toolbar TOOLS -> LOG MANAGER. You'll be able to delete logs from CATSystem Folder.
- Various GUI/Code Fix/Improvements/Some Algo Parameters has been moved to a more appropriate panel
- Big Improvements in some market log messages (more verbose, more info, easier to read)
- XRP Markets on Bitstamps are Available
- Complete Review Of Current Parameters Print Routine (Parameters are reorded according to parameter tabs)
- Now Api calls are able to maintains original data result even if an error occurs. When an api parse error occurs (for any reason)
  you will have a CONSOLE LOG with Error + Api Response + Error Trace. This will help me a lot to give support and you to understand some errors (ex "Error:Too Many Api Call")
- On The Rock Trading Exchange/Poloniex you can now have Available and Held Portfolio Amount.
- After a Ping-Pong complete a full summary of the ping-pong will be added in the MARKET LOG (with Green Font).
- 2 Advanced Options Are Added :
  A - Consider % Of Your Real <Market>/<Partner> Balance (this will allows CAT to consider less than your real portfolio value)
  B - Subtract All Buy/Sell Pool Current Values While Considering Available Amounts (this will allows CAT to subtract the temporary buy/sell pool values from available amounts)
- 1 Buy/Sell Pool Option is Added : "If Necessary, Adequate Pool Order to Min Total (Qty*Price)" this option will be only for new PING From Pool.
  The old Option is renamed to "If Necessary, Adequate Ping/Pong Order to Min Total (Qty*Price)" and it will works for all the other cases.
- 2 Buy/Sell Pool Option Added :
    - Add Fix <MARKET> Amount into Sell Pool Every Pool Lookup (expressed as MARKET QTY, CAT will convert into <Partner> using last market price)
    - Add Fix <PARTNER> Amount into Buy Pool Every Pool Lookup (expressed as PARTNER QTY)
- Added a Check Option for Buy/Sell Pool : If Pool Values > Available Amount then Adequate Pool Values to Available Amount
- Added a Buy/Sell Pool Option "RESET BSP if current left value is < X"
- Options "Stop Ping Sell/Buy Creation if Value is >/< X" are renamed into "Stop Ping Creation If Current Market Sell/Buy Value is >/< X" and are moved into Buy/Sell Pool Options
  And they works also for STATIC Algorithm (previously they works only for Dynamic Algorithm)
- Options "Stop Ping Creation After X Ping-Pong Completed"/"Stop Ping Creation If number Of Active Orders Is"/"Stop Ping Creation If Total Order Amount is > X" Are moved to Buy/Sell Pool Options

And these are the next steps :

- I will complete my tasks with Liqui/TuxExchange admins
- I will start giving (you can already PM me now, CAT 4.7 Beta to all CAT users who ask me)
- I will update the full guide according to 4.7 Version
- I will release 4.7 Official To all CAT Users
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 29, 2017, 11:10:45 PM
 #2791

OK CAT 4.7 BETA Is READY  Cheesy Cheesy Cheesy
Velgelm
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250



View Profile
January 30, 2017, 08:13:06 AM
 #2792

we will waiting .... Smiley

chem1cals
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile WWW
January 30, 2017, 01:59:00 PM
 #2793

i think i found a bug
v4.7

http://imageshack.com/a/img924/9265/kH97lx.jpg
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 30, 2017, 03:03:21 PM
 #2794

i think i found a bug
v4.7



I cannot understand from one image if these are orders or trades.
And if they are active at the same time.
I didn't touch the merge routines from 4.6 to 4.7
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 30, 2017, 09:36:29 PM
 #2795

Don't forget to ask me the 4.7 Version Beta.
BETA is usually the definitive version, only if someone found a bug i will fix it before official release.  Wink
Jatenocide
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 31, 2017, 01:36:00 AM
 #2796

Can you please add huobi API?
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 31, 2017, 07:44:44 AM
 #2797

Can you please add huobi API?

Actually is not planned  Undecided
But if a lot of people are interested in i could add in the future.
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
January 31, 2017, 11:54:35 PM
 #2798

I would like to say thanks to all  CAT users who are trying CAT 4.7 Beta.
You'll help me find little things to fix  Grin Grin Grin

CAT 4.7 Release ETA is SATURDAY  Grin Grin
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
February 01, 2017, 09:48:42 AM
 #2799

IMPORTANT FOR BETA TESTER

A little problem i've already fix (it's a regression problem you won't be affected if you don't load an XML file from CAT 4.6)

- The parameter "STOP PING CREATION IF CURRENT MARKET SELL PRICE IS > X" have default value 0 in CAT 4.6 and 99999+ in CAT 4.7

So if you load a 4.6 XML File, you will have a console message like :

2017-01-31 17:36:27| BSP : |Stop Ping Creation If Current Market Sell Price is > 0.0000| Current Market Sell Price Is : 879.9996

And PING creation won't continue.

Solution : Update that parameter to 9999999 (That is CAT 4.7 Default Value).

I Repeat : In 4.7 OFFICIAL, i've added a check to let's you load a 4.6 File without problems.

Thanks
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
February 03, 2017, 03:48:34 PM
 #2800

IMPORTANT FOR BETA TESTER

A little problem i've already fix (it's a regression problem you won't be affected if you don't load an XML file from CAT 4.6)

- The parameter "STOP PING CREATION IF CURRENT MARKET SELL PRICE IS > X" have default value 0 in CAT 4.6 and 99999+ in CAT 4.7

So if you load a 4.6 XML File, you will have a console message like :

2017-01-31 17:36:27| BSP : |Stop Ping Creation If Current Market Sell Price is > 0.0000| Current Market Sell Price Is : 879.9996

And PING creation won't continue.

Solution : Update that parameter to 9999999 (That is CAT 4.7 Default Value).

I Repeat : In 4.7 OFFICIAL, i've added a check to let's you load a 4.6 File without problems.

Thanks
I was shocked about this and CAT is tranquilized since I got the beta because of no delight to sacrifice pointless time done again...
hope it will work in future
Pages: « 1 ... 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 [140] 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 ... 273 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!