Bitcoin Forum
November 04, 2024, 03:46:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 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 ... 273 »
  Print  
Author Topic: 【BOT】 🌟 C.A.T. Cryptocurrency Automatic Trader 🌟 (New Price List 04/2021)  (Read 531475 times)
infernoman
Legendary
*
Offline Offline

Activity: 964
Merit: 1000



View Profile
October 15, 2016, 07:47:22 PM
 #2441

Can I get all free APIs for free?

Yes, they are called FREE API  Smiley

Basically what he's saying is You cannot purchase API's from another user because it is locked to your account. If you would like you can purchase their CORE version. and get the FREE api's added to your account for JUST the cost of core. At that point If you would like to purchase a bittrex or another API for YOUR account you can.

The ONLY way you can purchase a bittrex api or similar from another user is IF they provide ALL of their accounts, for the exchange API your purchasing. As each API is LOCKED to the API key and secret

so if your purchasing a bittrex API from another user. you need CORE + bittrex + the account that the bittrex API is locked to.

if your purchasing core from another user, You ONLY need to purchase core from that user, and you can get all of the free api's added to core. After you've purchased it.
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 16, 2016, 10:08:20 PM
 #2442

2016-10-15 01:43:03| OCR : Create Order (From Pool) Error From C-CEX : Error. Invalid trading pair
This is for the BTC-USD pair

This is what i've found.
TL;DR : there's a problem on C-CEX Side.

This is the explanation with proof :

https://c-cex.com/t/api_pub.html?a=getmarkets

This is the API Call to get the complete Market List.
If you check inside you will find the Pair USD-BTC, BUT not the Pair BTC-USD

on C-CEX exchange there's only the BTC-USD Pair :  https://c-cex.com/?p=btc-usd (i'm not able to find any usd-btc)


So it seems that USD-BTC is a "zombie" market, BUT data are updated according to BTC-USD Pair. In fact i'm able to load data like "GetOrderBook" and "GetTrades"
But i'm not able to create any order due to the "Invalid Pair Error"

Another Example

This is the ORDERBOOK Api for BTC-USD :

https://c-cex.com/t/api_pub.html?a=getorderbook&market=BTC-USD&depth=100&type=both <- THIS IS THE ONLY Market that Exists,BUT is NOT RETURNED from GetMarkets Call

And This is the ORDERBOOK Api for USD-BTC :

https://c-cex.com/t/api_pub.html?a=getorderbook&market=USD-BTC&depth=100&type=both <- THIS IS WHAT YOU GET USING C.A.T.

On the Market Side CAT is 100% Dynamic, so is able to get a dynamic list and manage all trades/orders/etc.....

The only thing i can try to do is contact C-CEX Admin.........it's not a problem on C.A.T. Side  Undecided Undecided
infernoman
Legendary
*
Offline Offline

Activity: 964
Merit: 1000



View Profile
October 16, 2016, 10:54:11 PM
 #2443

2016-10-15 01:43:03| OCR : Create Order (From Pool) Error From C-CEX : Error. Invalid trading pair
This is for the BTC-USD pair

This is what i've found.
TL;DR : there's a problem on C-CEX Side.

This is the explanation with proof :

https://c-cex.com/t/api_pub.html?a=getmarkets

This is the API Call to get the complete Market List.
If you check inside you will find the Pair USD-BTC, BUT not the Pair BTC-USD

on C-CEX exchange there's only the BTC-USD Pair :  https://c-cex.com/?p=btc-usd (i'm not able to find any usd-btc)


So it seems that USD-BTC is a "zombie" market, BUT data are updated according to BTC-USD Pair. In fact i'm able to load data like "GetOrderBook" and "GetTrades"
But i'm not able to create any order due to the "Invalid Pair Error"

Another Example

This is the ORDERBOOK Api for BTC-USD :

https://c-cex.com/t/api_pub.html?a=getorderbook&market=BTC-USD&depth=100&type=both <- THIS IS THE ONLY Market that Exists,BUT is NOT RETURNED from GetMarkets Call

And This is the ORDERBOOK Api for USD-BTC :

https://c-cex.com/t/api_pub.html?a=getorderbook&market=USD-BTC&depth=100&type=both <- THIS IS WHAT YOU GET USING C.A.T.

On the Market Side CAT is 100% Dynamic, so is able to get a dynamic list and manage all trades/orders/etc.....

The only thing i can try to do is contact C-CEX Admin.........it's not a problem on C.A.T. Side  Undecided Undecided

Would you not be able to make cat use BTC-USD instead of USD-BTC?
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 16, 2016, 10:57:08 PM
 #2444

I wrote a PM to C-CEX boss, hope he'll be able to fix from server side.
Probably he only need to switch the MarketID USD and BTC code.
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 17, 2016, 01:40:29 AM
 #2445

I get on Poloniex hundreds of such entries:

2016-10-14 09:26:10| 2016-10-14 09:26:10 - Poloniex : {"error":"Not enough BURST."} method : https://poloniex.com/tradingApi



and on Bittrex the same:

2016-10-17 07:07:19| 2016-10-17 07:07:19 - Bittrex : {"success":false,"message":"INSUFFICIENT_FUNDS","result":null} method : https://bittrex.com/api/v1.1/market/selllimit?market=BTC-BURST&quantity=375.93984963&apikey=.....

The balance is BURST   27.28648456   10478.02288801   0.00002865     0.01100192   that should be enough.


BTW, can you add also the held for trading on Poloniex, please.

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 17, 2016, 03:30:27 PM
 #2446

How to use the Tool "Make a Post To URL When a Ping-Pong is Completed   http://your.url/page "?

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 17, 2016, 03:37:46 PM
 #2447

How to use the Tool "Make a Post To URL When a Ping-Pong is Completed   http://your.url/page "?

you need to create a webservice with a servlet http://your.url/servlet and then CAT will send a JSON data when a Gain occurs.
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 17, 2016, 04:08:17 PM
 #2448

How to use the Tool "Make a Post To URL When a Ping-Pong is Completed   http://your.url/page "?
Do you have an example Jason string available?
you need to create a webservice with a servlet http://your.url/servlet and then CAT will send a JSON data when a Gain occurs.

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 17, 2016, 04:14:20 PM
 #2449

No i don't have one actually, but if you run a servlet and print all the message you will get the complete json string.
psycodad
Legendary
*
Offline Offline

Activity: 1648
Merit: 1812


精神分析的爸


View Profile
October 18, 2016, 06:08:14 PM
 #2450

How to use the Tool "Make a Post To URL When a Ping-Pong is Completed   http://your.url/page "?

you need to create a webservice with a servlet http://your.url/servlet and then CAT will send a JSON data when a Gain occurs.

Cool feature, Sampey.
Works perfectly fine, thank you!

Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 18, 2016, 09:52:22 PM
 #2451

How to use the Tool "Make a Post To URL When a Ping-Pong is Completed   http://your.url/page "?

you need to create a webservice with a servlet http://your.url/servlet and then CAT will send a JSON data when a Gain occurs.

Cool feature, Sampey.
Works perfectly fine, thank you!

Yeah!!!  Grin Grin Grin
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 19, 2016, 01:40:56 AM
 #2452

I still stuck here. Thats what I tried:

Code:
<?php
header
('Content-Type: application/json');

$myFile "testFile.txt";
$fh fopen($myFile'a') or die("can't open file");
$date = new DateTime();
$date $date->format("Y-m-d H:i:s");
fwrite($fh$date "\n===================\n");

$error '';

//Make sure that it is a POST request.
if(strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') != 0){
    
$error "Request method must be POST!\n";
}

//Make sure that the content type of the POST request has been set to application/json
$contentType = isset($_SERVER["CONTENT_TYPE"]) ? trim($_SERVER["CONTENT_TYPE"]) : '';
if(
strcasecmp($contentType'application/json') != 0){
    
$error $error "Content type must be: application/json\n";
}

//Receive the RAW post data.
$content trim(file_get_contents("php://input"));
 
//Attempt to decode the incoming RAW post data from JSON.
$decoded json_decode($contenttrue);
 
//If json_decode failed, the JSON is invalid.
if(!is_array($decoded)){
    
$error $error "Received content contained invalid JSON!\n";
}
 
//If error, put it into out put file
if($error) {
fwrite($fh$error);
}

fwrite($fh$decoded);
fclose($fh);

?>


Can anybody spot something?

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
mObLOBScHAr
Full Member
***
Offline Offline

Activity: 136
Merit: 110


View Profile
October 19, 2016, 07:04:00 AM
 #2453

why don't you just print out everything you receive before trying something more elevated with writting it into a file?
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 19, 2016, 08:29:57 AM
 #2454

why don't you just print out everything you receive before trying something more elevated with writting it into a file?

How would you do that?

Maybe you miss the point here. C.A.T. sends info to the server, to an URL. I am not the server. The program receives it, there is no screen, to see it, ...

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
Elmit
Hero Member
*****
Offline Offline

Activity: 785
Merit: 500


BURST got Smart Contracts (AT)


View Profile WWW
October 20, 2016, 04:35:59 AM
 #2455

I still stuck here. Thats what I tried:

Code:
<?php
header
('Content-Type: application/json');

$myFile "testFile.txt";
$fh fopen($myFile'a') or die("can't open file");
$date = new DateTime();
$date $date->format("Y-m-d H:i:s");
fwrite($fh$date "\n===================\n");

$error '';

//Make sure that it is a POST request.
if(strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') != 0){
    
$error "Request method must be POST!\n";
}

//Make sure that the content type of the POST request has been set to application/json
$contentType = isset($_SERVER["CONTENT_TYPE"]) ? trim($_SERVER["CONTENT_TYPE"]) : '';
if(
strcasecmp($contentType'application/json') != 0){
    
$error $error "Content type must be: application/json\n";
}

//Receive the RAW post data.
$content trim(file_get_contents("php://input"));
 
//Attempt to decode the incoming RAW post data from JSON.
$decoded json_decode($contenttrue);
 
//If json_decode failed, the JSON is invalid.
if(!is_array($decoded)){
    
$error $error "Received content contained invalid JSON!\n";
}
 
//If error, put it into out put file
if($error) {
fwrite($fh$error);
}

fwrite($fh$decoded);
fclose($fh);

?>


Can anybody spot something?

I had not a good trading pair, I had to wait for the respond very long:
Quote
2016-10-20 12:15:54
===================
Content type must be: application/json
Received content contained invalid JSON!

Can you please add the missing header?

Ing. Ronald Wiplinger (@ ELMIT)   Blog and pools: http://mininghere.com  CAT info at: https://cat.elmit.com  Tel.: (O) +886 (0)2--2623-3117, (M) +886 (0) 988--70-77-42, Telegram: @RonaldPhone
crysx
Sr. Member
****
Offline Offline

Activity: 364
Merit: 260


--- ChainWorks Industries ---


View Profile WWW
October 20, 2016, 04:55:44 AM
 #2456

hi sampey ...

can CAT be setup and run in console under linux ( fedora 23 / 24 x64 or centos 7 x64 ) automatically via a config file? ...

i have a server that can do that - but no gui - which is a preferrable way of working on a big dedicated system ...

i just want it to do specific type of trades at specific intervals - 24 / 7 ...

can this be done - and if so - how? ...

#crysx

ChainWorks Industries . grn - Ga2TFVPW3y2vd9vMdqLWfid9hf8RPSQV19 . exchange - https://bleutrade.com/exchange/GRN/BTC/ . email - crysx@gnxs.com .
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 20, 2016, 05:22:13 AM
 #2457

hi sampey ...

can CAT be setup and run in console under linux ( fedora 23 / 24 x64 or centos 7 x64 ) automatically via a config file? ...

i have a server that can do that - but no gui - which is a preferrable way of working on a big dedicated system ...

i just want it to do specific type of trades at specific intervals - 24 / 7 ...

can this be done - and if so - how? ...

#crysx

Hi,
no sorry, there's no command line operation. You must use the GUI  Smiley
crysx
Sr. Member
****
Offline Offline

Activity: 364
Merit: 260


--- ChainWorks Industries ---


View Profile WWW
October 20, 2016, 10:29:38 AM
 #2458

hi sampey ...

can CAT be setup and run in console under linux ( fedora 23 / 24 x64 or centos 7 x64 ) automatically via a config file? ...

i have a server that can do that - but no gui - which is a preferrable way of working on a big dedicated system ...

i just want it to do specific type of trades at specific intervals - 24 / 7 ...

can this be done - and if so - how? ...

#crysx

Hi,
no sorry, there's no command line operation. You must use the GUI  Smiley

is there any way to convince you to create such a system based off cat? ...

#crysx

ChainWorks Industries . grn - Ga2TFVPW3y2vd9vMdqLWfid9hf8RPSQV19 . exchange - https://bleutrade.com/exchange/GRN/BTC/ . email - crysx@gnxs.com .
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
October 20, 2016, 11:06:44 AM
 #2459

is there any way to convince you to create such a system based off cat? ...

The creation of a CAT environment that works only from command line will have an unaccesible cost.
It's like some month of coding.....
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
October 20, 2016, 02:45:13 PM
 #2460

hi sampey ...

can CAT be setup and run in console under linux ( fedora 23 / 24 x64 or centos 7 x64 ) automatically via a config file? ...

i have a server that can do that - but no gui - which is a preferrable way of working on a big dedicated system ...

i just want it to do specific type of trades at specific intervals - 24 / 7 ...

can this be done - and if so - how? ...

#crysx

Hi,
no sorry, there's no command line operation. You must use the GUI  Smiley

GUI

and this is one of the weakenings of CAT
in Linux environments (local or VPS) Java (respectively CAT GUI) deep-freeze beyond a certain time and all is no more accessible...
 Sad
Pages: « 1 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 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 ... 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!