Author

Topic: 【BOT】 🌟 C.A.T. Cryptocurrency Automatic Trader 🌟 (New Price List 04/2021) - page 124. (Read 531511 times)

newbie
Activity: 8
Merit: 0
Hello! how to set up (Create Ping Orders Only If of % of Market Spread Is>-0.250). there is a possibility of operation only on the negative?  pref { - }
I couldn't set up.

how to teach to put a bot the warrant after small falling of course?
while invented here so:

Price Limit Rule : PING LIMIT (Adequate:false) - Never BUY OVER Your Last PONG SELL Price - 1%
legendary
Activity: 2632
Merit: 1040
Well i think we have a little communication problem :
- You write me a problem.
- I ask you for some info/ I make you questions.
- You don't give me the info i need
- You post again some days later

And cycle restart.

I ask you for an XML File you're trying to load, but you didn't send me (i think your first problem is because you're loading a market that is removed from the exchange but it's inside the xml file).

You errors, are not easy to manage : nobody send me the same problems. I'm not able to understand your system configuration.
But if you help me with info i ask you, maybe i'll be able to find some problem and in the next 10 days you will have a full working CAT copy.

About latency : cat must wait for server response, when server is slow, Cat is slow (or an error occurs).

I'm writing a new layer of checkings over the current one.

The problem i'm worried abot is your first one.......actually it's not easy to understand what happens : it's not a CAT Code, it's something inside a Java library for parallel processing....
legendary
Activity: 2955
Merit: 1049

Otherwise, i need you to perform these tasks :

- Start 4.8 in a folder without other logs (so you'll be sure that all logs are from 4.8 and from that precise run).
- Wait for this problem

A question : did you perform some XLM load file or some action before getting these errors? Or CAT start write error without any reason?
since CAT 4.8 something is wrong

new logs
since yesterday 9xx kB
CAT_Log_2017-03-03_18_32_09.txt
all full of this
Code:
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledT

Exception in thread "Thread-20179" java.lang.NullPointerException
at CAT.B_Env_Exchange.MarketsManager.marketAlreadyOpen(Unknown Source)
at CAT.B_Env_Exchange.MarketsManager.addMarket(Unknown Source)
at CAT.F_Support.RestoreLoadOrders.RestoreOrderFromFile.a(Unknown Source)
at CAT.F_Support.RestoreLoadOrders.RestoreOrderFromFile.b(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.






all seems running in slow motion
you click on load balances and wait ~5 min
in this time nothing more possible
only have to wait and CAT_Log_... is growing
not even change to another tab is possible
only only minimize/maximize or kill possible

Code:
java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
legendary
Activity: 2632
Merit: 1040
I am under the impression that Poloniex is a Ponzi using you to generate mountains of transactions for himself,
or the equivalent, coded by this one guy.

LOL  Cheesy
Well i tell you a secret : i'm satoshi nakamoto.  Wink
legendary
Activity: 964
Merit: 1000
There's a BIG Problem on C-CEX : Api Responses Attributes are Broken.
TL;DR : you can't use C-CEX API.

So i have 2 solution :
- First is to contact Dev (and i'm going do to thaT).
- Second is to Change C-CEX API  TRADES Routine to works with plan B (Plan B is when trades are created using current order qty instead of call MyTrade API).

In both CASES, you can't use c-CEX-

I will update you about that.....

Good luck with that... With recent accusation's I don't believe he'll be working on anything API related... Well that sucks -_-

Oh no problem, i know c-cex dev, and we already make a system test : i need to switch to Second Solution,

That's good to hear. If you need any help with testing just let me know. Most of my trading is currently done on c-cex.
legendary
Activity: 2632
Merit: 1040
There's a BIG Problem on C-CEX : Api Responses Attributes are Broken.
TL;DR : you can't use C-CEX API.

So i have 2 solution :
- First is to contact Dev (and i'm going do to thaT).
- Second is to Change C-CEX API  TRADES Routine to works with plan B (Plan B is when trades are created using current order qty instead of call MyTrade API).

In both CASES, you can't use c-CEX-

I will update you about that.....

Good luck with that... With recent accusation's I don't believe he'll be working on anything API related... Well that sucks -_-

Oh no problem, i know c-cex dev, and we already make a system test : i need to switch to Second Solution,
legendary
Activity: 2632
Merit: 1040
Quote
2017-03-04 09:49:39| OCR : Try To Create new Order (From GUI) PING : BUY [email protected] (Dynamic)
2017-03-04 09:49:43| OCR : Order Successfully Created Dynamic-PING-100001109473420 : BUY [email protected] Current 0.30423445
2017-03-04 09:50:07| PPA : Lookup 1929 Start. Update Market Orders,My Orders,My Trades. First Markets Checks Are Ok.
                     Current Personal Last Prices : S:0.00324577 S_PI:N/A S_PO:0.00324577 B:0.00315035 B_PI:0.00315035 B_PO:N/A Best Market Prices : S:0.0031636/B:0.00315034
                     Current Orders/Trades : 1 Ping, 0 Pong, 0 Trades From Ping, 0 Orders To Restore, Pool Values : Buy 0.00191595/Sell 0.00000000
2017-03-04 09:50:07| PPO : Dynamic-PING-100001109473420 : BUY [email protected] Current 0.30423445 First Order Synch Call(Attempt 1) - Synch Successful!
2017-03-04 09:50:47| PPA : Lookup 1930 Start. Update Market Orders,My Orders,My Trades. Personal/Market Stats are the same as Previous Lookup
2017-03-04 09:50:47| OCR : Try To Create new Order (From Pool) PING : BUY [email protected] (Dynamic)
2017-03-04 09:50:50| OCR : Create Order (From Pool) Error From YoBit : Insufficient funds in wallet of the second currency of the pair


What does it mean: Insufficient funds in wallet of the second currency of the pair

well this is a message from yobit.....BUY.... so you don't have the , it's a BTC Market?
legendary
Activity: 964
Merit: 1000
There's a BIG Problem on C-CEX : Api Responses Attributes are Broken.
TL;DR : you can't use C-CEX API.

So i have 2 solution :
- First is to contact Dev (and i'm going do to thaT).
- Second is to Change C-CEX API  TRADES Routine to works with plan B (Plan B is when trades are created using current order qty instead of call MyTrade API).

In both CASES, you can't use c-CEX-

I will update you about that.....

Good luck with that... With recent accusation's I don't believe he'll be working on anything API related... Well that sucks -_-
hero member
Activity: 785
Merit: 500
BURST got Smart Contracts (AT)
Quote
2017-03-04 09:49:39| OCR : Try To Create new Order (From GUI) PING : BUY [email protected] (Dynamic)
2017-03-04 09:49:43| OCR : Order Successfully Created Dynamic-PING-100001109473420 : BUY [email protected] Current 0.30423445
2017-03-04 09:50:07| PPA : Lookup 1929 Start. Update Market Orders,My Orders,My Trades. First Markets Checks Are Ok.
                     Current Personal Last Prices : S:0.00324577 S_PI:N/A S_PO:0.00324577 B:0.00315035 B_PI:0.00315035 B_PO:N/A Best Market Prices : S:0.0031636/B:0.00315034
                     Current Orders/Trades : 1 Ping, 0 Pong, 0 Trades From Ping, 0 Orders To Restore, Pool Values : Buy 0.00191595/Sell 0.00000000
2017-03-04 09:50:07| PPO : Dynamic-PING-100001109473420 : BUY [email protected] Current 0.30423445 First Order Synch Call(Attempt 1) - Synch Successful!
2017-03-04 09:50:47| PPA : Lookup 1930 Start. Update Market Orders,My Orders,My Trades. Personal/Market Stats are the same as Previous Lookup
2017-03-04 09:50:47| OCR : Try To Create new Order (From Pool) PING : BUY [email protected] (Dynamic)
2017-03-04 09:50:50| OCR : Create Order (From Pool) Error From YoBit : Insufficient funds in wallet of the second currency of the pair


What does it mean: Insufficient funds in wallet of the second currency of the pair
legendary
Activity: 2632
Merit: 1040
today the same with CAT 4.8  Sad

seems frozen since on all exchanges
complete GUI inaccessible again

only minimize/maximize or kill possible Huh

Code:
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

This is something that is happening only on your machine.
Nobody have the same problem, yesterday i look for something for about 1 hours, and i haven't found any solution.
Why don't you use a windows machine ?   Wink

Otherwise, i need you to perform these tasks :

- Start 4.8 in a folder without other logs (so you'll be sure that all logs are from 4.8 and from that precise run).
- Wait for this problem

A question : did you perform some XLM load file or some action before getting these errors? Or CAT start write error without any reason?
legendary
Activity: 2955
Merit: 1049
today the same with CAT 4.8  Sad

seems frozen since on all exchanges
complete GUI inaccessible again

only minimize/maximize or kill possible Huh

Code:
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:936)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1247)
at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:442)
at CAT.C_Env_Market.A_Managers.a.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
legendary
Activity: 2632
Merit: 1040
I have stored the settings in a preset. If I select my preset, do I need to click update or not?

I would suggest if used settings and shown settings are different, or otherwise said, if we need to click the update button, can you make it flashing?

Rule about Parameter is simple :
CAT will never change your current parameters if you don't click on the Update Button.
So if you want to put current GUI parameters into current parameters you need to click on update button.


I'm still thinking about the best way to give a message to the user. Something like "Current parameters are different from running parameters", but my solution is something complex i need to think about.
legendary
Activity: 2632
Merit: 1040
I am not sure if we can improve here something.

When I start an exchange, I get first the actual Markets list. Here I click twice on Sell Trades 24H to see the ordered list of most trading. Then I look down where it is more equal between Sell and Trade, because, I don't want to stuck with that coin. If I find something that has nearly equal trades I look up the closest coin I have already a balance. I use this coin for trading. However, if that coin has only a un-tradeable balance, then I ignore that one and choose another one.

Coins with balance are gray shown. Could we change that to two colors, reflecting if the balance is high enough for selling or not?

I could think about change color and set green = available balance to create orders and yellow = available under the min order amount requested
legendary
Activity: 2632
Merit: 1040
Poloniex Log window shows:

2017-03-03 12:04:56| {"error":"Nonce must be greater than 1498350681964134. You provided 1488513673200."}

That's ok, CAT is able to get 1498350681964134, and set it as nounce.
Always discard this message.
hero member
Activity: 785
Merit: 500
BURST got Smart Contracts (AT)
I have stored the settings in a preset. If I select my preset, do I need to click update or not?

I would suggest if used settings and shown settings are different, or otherwise said, if we need to click the update button, can you make it flashing?
hero member
Activity: 785
Merit: 500
BURST got Smart Contracts (AT)
I am not sure if we can improve here something.

When I start an exchange, I get first the actual Markets list. Here I click twice on Sell Trades 24H to see the ordered list of most trading. Then I look down where it is more equal between Sell and Trade, because, I don't want to stuck with that coin. If I find something that has nearly equal trades I look up the closest coin I have already a balance. I use this coin for trading. However, if that coin has only a un-tradeable balance, then I ignore that one and choose another one.

Coins with balance are gray shown. Could we change that to two colors, reflecting if the balance is high enough for selling or not?
hero member
Activity: 785
Merit: 500
BURST got Smart Contracts (AT)
Poloniex Log window shows:

2017-03-03 12:04:56| {"error":"Nonce must be greater than 1498350681964134. You provided 1488513673200."}
legendary
Activity: 2632
Merit: 1040
To be more clear :

2 Example :

That was my order ID 29445678
Order was filled, but MyTrade response is :

[{"tradeid":"2501jcsh","tradetype":"Buy","datetime":"2017-03-03 02:04:35","marketid":"JCSH-BTC","tradeprice":"0.00000080","quantity":"1027.91250000","fee":"0.00000164","total":"0.00082233","initiate_ordertype":"Sell","order_id":"38263"}]

Or another order :

Order ID 29445635
"tradeid":"5972ntcc","tradetype":"Buy","datetime":"2017-03-03 02:03:52","marketid":"NTCC-BTC","tradeprice":"0.00000356","quantity":"199.43820225","fee":"0.00000142","total":"0.00071000","initiate_ordertype":"Sell","order_id":"38263"}]}

Same Order_id for 2 trades on 2 different markets and orderId are completedly different from the original OrderId (29445678 VS 38263 and 29445635 VS 38263)

Result : DEATH ORDER -> ZOMBIE STATUS
legendary
Activity: 2632
Merit: 1040
There's a BIG Problem on C-CEX : Api Responses Attributes are Broken.
TL;DR : you can't use C-CEX API.

So i have 2 solution :
- First is to contact Dev (and i'm going do to thaT).
- Second is to Change C-CEX API  TRADES Routine to works with plan B (Plan B is when trades are created using current order qty instead of call MyTrade API).

In both CASES, you can't use c-CEX-

I will update you about that.....
legendary
Activity: 2632
Merit: 1040
Hi, yes i've added this message.
No problem with this log, only errors from the GUI not from the ping-pong  Wink
Jump to: