Bitcoin Forum
June 25, 2018, 12:50:58 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 191 [192] 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 ... 254 »
  Print  
Author Topic: 【BOT】 🌟 C.A.T. Cryptocurrency Automatic Trader 5.2 BETA + BINANCE !!! 🌟  (Read 494464 times)
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 26, 2017, 11:06:53 PM
 #3821

I get Zero values:

(`ID`, `Exchange`, `TradeType`, `Market`, `TimeStamp`, `OriginalTradeType`, `OriginalTradePrice`, `OriginalTradeQuantity`, `OriginalTradeFee`, `FinalTradeType`, `FinalTradePrice`, `FinalTradeQuantity`, `FinalTradeFee`, `TotalFee`,Gain` `, `PercentageGain`, `MarketComulativeGain`)
VALUES
(7140, 'TheRock', 'PingPong', 'PPC/BTC', '2017-07-18 21:46:38', 'SELL', 0.00077000, 0.71000000, 0.00000000, 'BUY', 0.00076000, 0.71000000, 0.00000000, 0.00000000, 0.00000000, 1.2990, 0.00000000);


It seems only TheRock is effected!


Sampey, there is a bug!
I use the function Make a Post To URL When a Ping-Pong is Completed, to get the data into a database!
Since 5.0 I noticed that I perfectly here the sound (Reproduce a Sound When a Ping-Pong is Complete   (btw. Completed)
However, the database gets the above Zero values.
This happens at TheRock and at C-CEX.

BTW, could you please make a dummy Post To URL to check what I get? Just with a click post to the URL a dummy record. I can only verify, IF and WHEN I indeed had a gain otherwise!

could you please pm me after Sunday? I will check with you this problem.
Did you get this problem only with TheRock and C-cEX?

1529887858
Hero Member
*
Offline Offline

Posts: 1529887858

View Profile Personal Message (Offline)

Ignore
1529887858
Reply with quote  #2

1529887858
Report to moderator
1529887858
Hero Member
*
Offline Offline

Posts: 1529887858

View Profile Personal Message (Offline)

Ignore
1529887858
Reply with quote  #2

1529887858
Report to moderator
1529887858
Hero Member
*
Offline Offline

Posts: 1529887858

View Profile Personal Message (Offline)

Ignore
1529887858
Reply with quote  #2

1529887858
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 26, 2017, 11:07:06 PM
 #3822

Hello,
Are you planning on adding gemini exchange to the api list?

Actually no plan.

Ares~
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
July 27, 2017, 06:45:34 AM
 #3823

Hi Sampey, for setting up a Kraken excahnge API your first post states "Don't Activate 2FA", after the API is setup can 2FA be re-activated or must 2FA always be off for Kraken?
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 27, 2017, 06:58:38 AM
 #3824

Hi Sampey, for setting up a Kraken excahnge API your first post states "Don't Activate 2FA", after the API is setup can 2FA be re-activated or must 2FA always be off for Kraken?

always be off, when you have 2FA, api call is different from the one written inside CAT  Smiley

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 08:02:37 AM
 #3825

hi sampey,

I trade cryptos from a couple of years, but I am new at this trading bot thing.

I had a look at your user guide, but didn't find material about how to write my algorithm.

I am looking for automate a ping-pong trade like in this example:
- at the beginning of every 30 minutes candle set a limit order 100 USD lower than the opening price of the current 30 minutes candle
- once the buy order is filled (even just partially) put a limit sell at 50 USD over the buying price (+ an eventual a once-cancel-the-other limit stop sell at 100 USD below the buying price)

The variables of course will be:
- the candles (1 min, 5 min, 30 min, 1 hour, etc..)
- the limit sell positive differential (value in USD or %)
- the stop limit sell differential (value in USD or %)

FYI I'm doing this on bifinex.
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 08:09:30 AM
 #3826

hi sampey,

I trade cryptos from a couple of years, but I am new at this trading bot thing.

I had a look at your user guide, but didn't find material about how to write my algorithm.

I am looking for automate a ping-pong trade like in this example:
- at the beginning of every 30 minutes candle set a limit order 100 USD lower than the opening price of the current 30 minutes candle
- once the buy order is filled (even just partially) put a limit sell at 50 USD over the buying price (+ an eventual a once-cancel-the-other limit stop sell at 100 USD below the buying price)

The variables of course will be:
- the candles (1 min, 5 min, 30 min, 1 hour, etc..)
- the limit sell positive differential (value in USD or %)
- the stop limit sell differential (value in USD or %)

FYI I'm doing this on bifinex.

Hi,
CAT doesn't works with candle, sorry  Undecided

you can set price limit for the opening order (PING).
Then you will obtain the behaviour you describe (when a partial/total trade occurs CAT can create a new PONG Order at the % Of gain you set)

And of course you can set a stop loss vale.

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 08:16:08 AM
 #3827

hi sampey,

I trade cryptos from a couple of years, but I am new at this trading bot thing.

I had a look at your user guide, but didn't find material about how to write my algorithm.

I am looking for automate a ping-pong trade like in this example:
- at the beginning of every 30 minutes candle set a limit order 100 USD lower than the opening price of the current 30 minutes candle
- once the buy order is filled (even just partially) put a limit sell at 50 USD over the buying price (+ an eventual a once-cancel-the-other limit stop sell at 100 USD below the buying price)

The variables of course will be:
- the candles (1 min, 5 min, 30 min, 1 hour, etc..)
- the limit sell positive differential (value in USD or %)
- the stop limit sell differential (value in USD or %)

FYI I'm doing this on bifinex.

Hi,
CAT doesn't works with candle, sorry  Undecided

you can set price limit for the opening order (PING).
Then you will obtain the behaviour you describe (when a partial/total trade occurs CAT can create a new PONG Order at the % Of gain you set)

And of course you can set a stop loss vale.

Ok, I got it. Maybe there is the possibility to automatize the ping order as described below?

For example, every 40 seconds request the lowest ask price and:
- first remove all the eventual former orders
- second put a buy limit 50 usd lower
- once is filled (even partially) put a limit sell + an eventual stop (OCO)
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 08:25:13 AM
 #3828

For example, every 40 seconds request the lowest ask price and:
- first remove all the eventual former orders
- second put a buy limit 50 usd lower
- once is filled (even partially) put a limit sell + an eventual stop (OCO)

ok so

40 Second is the PING-PONG algorithm lookup time

CAT remove your orders and all the "filter" (you have a set of filters over qty/price/total) then calculate the best price

the filling part is when a trade occurs over a PING (or PONG Order).
In the ping case a new order (of opposite type) is created with the min price to allowed you to have the % GAIN you set in your parameters.

The stop part is an option called "Run algorithm for X Minutes the return all to <Primary>/<Secondary>"
It's not exactly what you ask, but it can be similar  Wink

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 08:39:37 AM
 #3829

yes, can be used in order to obtain a quite similar result.

40 Second is the PING-PONG algorithm lookup time

yes, i read it before. and can't be adjusted to 60 or 300 seconds, for example, or it is a fixed lookup time?

CAT remove your orders and all the "filter" (you have a set of filters over qty/price/total) then calculate the best price

in this way it should be able to update the best price every 40 sec, keeping open only the ping-filled orders waiting for their pong to close them.

In the ping case a new order (of opposite type) is created with the min price to allowed you to have the % GAIN you set in your parameters.

and this % is net, deducted of fees. right? I guess can't be setted an absolute value instead of %, right?
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 08:50:16 AM
 #3830

Quote
yes, i read it before. and can't be adjusted to 60 or 300 seconds, for example, or it is a fixed lookup time?

you can modify this value as you prefer and for any single algorithm you're running.


Quote
in this way it should be able to update the best price every 40 sec, keeping open only the ping-filled orders waiting for their pong to close them.

yes, there's also the RECALCULATION routine : CAT tries to recreate (if you want) your ping (or pong) order in the best market position.


Quote
and this % is net, deducted of fees. right? I guess can't be setted an absolute value instead of %, right?

is WITH Fee, so if you're on an exchange with 0.25% FEE, you should calculate 0.25% (PING FEE) + 0.25% (PONG FEE) + REAL GAIN (Example 0.1%) = 0.6%
CAT always suggest as default the "min gain" as buyfee +  sell see + 0.1%

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 09:27:55 AM
 #3831

sounds great. seems to be what i'm looking for.

yes, there's also the RECALCULATION routine : CAT tries to recreate (if you want) your ping (or pong) order in the best market position.

not sure to understand this point.

do you confirm that at each iteration I can automatically remove the former(s) pings, without removing former(s) pongs and place a new ping recalculated on the basis of the last "lowest ask" received?

is it eventually possible to try your software for a trial period of say 1 week or something?
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 09:31:23 AM
 #3832

sounds great. seems to be what i'm looking for.

yes, there's also the RECALCULATION routine : CAT tries to recreate (if you want) your ping (or pong) order in the best market position.

not sure to understand this point.

do you confirm that at each iteration I can automatically remove the former(s) pings, without removing former(s) pongs and place a new ping recalculated on the basis of the last "lowest ask" received?

is it eventually possible to try your software for a trial period of say 1 week or something?

There's no demo copy sorry  Wink
In general :

Manually you can do what you wants.

Whan you say "Remove the formers(s) pings" what do you mean? Just to be more precise....  Wink

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 10:15:17 AM
 #3833

wait.. i edit my post. sorry
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 10:19:00 AM
 #3834

it is not exactly how CAT works.
It's similar but not equal.

Check here : https://bitcointalk.org/index.php?topic=507103.msg5590902#msg5590902

Chapter "- How Does a Ping-Pong Cycle Work?"

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 10:26:37 AM
 #3835

it is not exactly how CAT works.
It's similar but not equal.

Check here : https://bitcointalk.org/index.php?topic=507103.msg5590902#msg5590902

Chapter "- How Does a Ping-Pong Cycle Work?"

I wrote an answer before but was complitely wrong. Too rush Smiley now it's fixed: the part about the deleting is in bold below.

i will give you an example:
iteration 1:
the bot "read" the lowest ask from bitfinex = 2500 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2475 USD

iteration 2: (1 minute after)
in the book we have the ping created at iteration 1 unfilled --> the bot delete it     ****
the bot "read" the lowest ask from bitfinex = 2600 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2574 USD
then, before the iteration 3 happens:
the ping created at iteration 2 gets filled --> the bot creates the pong (sell) at say 1% over the buy = 2599.7 USD

iteration 3: (1 minute after)
in the book we don’t have the ping created at iteration 1 --> the bot deleted ita t iteration 2
in the book we have the pong created after iteration 2 --> the bot keep it open
the bot "read" the lowest ask from bitfinex = 2550 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2524.5 USD
then, before the iteration 4 happens:
the ping created after iteration 2 gets filled --> the bot close it

and so on..
    **** with the expression delete it I meant this: the bot delete ping unfilled at each iteration, in order to always have maximum 1 unfilled ping (1% under the last lowest ask).

ty for your patience!  Wink
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 10:43:04 AM
 #3836

it is not exactly how CAT works.
It's similar but not equal.

Check here : https://bitcointalk.org/index.php?topic=507103.msg5590902#msg5590902

Chapter "- How Does a Ping-Pong Cycle Work?"

I wrote an answer before but was complitely wrong. Too rush Smiley now it's fixed: the part about the deleting is in bold below.

i will give you an example:
iteration 1:
the bot "read" the lowest ask from bitfinex = 2500 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2475 USD

iteration 2: (1 minute after)
in the book we have the ping created at iteration 1 unfilled --> the bot delete it     ****
the bot "read" the lowest ask from bitfinex = 2600 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2574 USD
then, before the iteration 3 happens:
the ping created at iteration 2 gets filled --> the bot creates the pong (sell) at say 1% over the buy = 2599.7 USD

iteration 3: (1 minute after)
in the book we don’t have the ping created at iteration 1 --> the bot deleted ita t iteration 2
in the book we have the pong created after iteration 2 --> the bot keep it open
the bot "read" the lowest ask from bitfinex = 2550 USD
the bot creates a ping (buy) at say 1% under the lowest ask = 2524.5 USD
then, before the iteration 4 happens:
the ping created after iteration 2 gets filled --> the bot close it

and so on..
    **** with the expression delete it I meant this: the bot delete ping unfilled at each iteration, in order to always have maximum 1 unfilled ping (1% under the last lowest ask).

ty for your patience!  Wink

Iteration 1 is not possible, there's no "Create order at market price - X%" you should use another way like price limit options.

Iteration 2 is called RECREATION and you can make cat perform this operation every 1 Lookup (by default is 5).
CAT is able to manage partially trades and continue pong only with partial trade.
Recreation occurs over the current orders. And if CAT is able to recreate that orders then order will be deleted and recreated. Otherwise order will remain in the order book at the same position.

CAT creat new ping starting from a structure called BUY/SELL POOL.
As i said before you can find all the info in the CAT tips & Trickes. There's also a schema about ping-pong.  Wink

shadowkan
Newbie
*
Offline Offline

Activity: 10
Merit: 0

shitcoin lurker


View Profile
July 30, 2017, 10:55:29 AM
 #3837

and price limit must be a number that I insert, can't be self-calculated by the CAT?
Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 30, 2017, 10:56:14 AM
 #3838

and price limit must be a number that I insert, can't be self-calculated by the CAT?

there are dynamic limit like "Never Buy/Sell Under/Over your last Buy/SEll Ping/Pong Price  +/- X%"

Sampey
Legendary
*
Online Online

Activity: 1834
Merit: 1016



View Profile
July 31, 2017, 06:33:03 PM
 #3839

Tomorrow i will launch the AUGUST OFFER
31 Days WITH BIG DISCOUNT Over a CAT Copy purchase  Cheesy

Stay tuned!!!

tommereith
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 31, 2017, 06:44:42 PM
 #3840

Will GDAX be added to exchanges in the future?
Pages: « 1 ... 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 191 [192] 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 ... 254 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!