Pages:
Author

Topic: 【 BOT 】 C.A.T. Cryptsy Automatic Trader 1 [email protected] (Old Topic Beta1-Beta3V8) - page 4. (Read 151160 times)

full member
Activity: 129
Merit: 100
So this is borked until Sampey fixes it?
sr. member
Activity: 462
Merit: 500
Seeing some weird occasional Cryptsy authorisation errors when making new PINGS, causing zombie status.

I try straight afterwards and orders are made fine....

Quote
2014-02-22 21:42:34| OCR : Try To Create new Order Sell [email protected]
2014-02-22 21:42:35| OCR : Create Order From GUI, Error From Cryptsy : Unable to Authorize Request - Check Your Post Data
2014-02-22 21:42:35| OCR : Order Creation Error Sell - [email protected] Please Retry
2014-02-22 21:42:36| OCR : Try To Create new Order Buy [email protected]
2014-02-22 21:42:38| OCR : Create Order From GUI, Error From Cryptsy : Unable to Authorize Request - Check Your Post Data
2014-02-22 21:42:38| OCR : Order Creation Error Buy - [email protected] Please Retry
2014-02-22 21:42:39| PPA : No Ping/Pong Orders, No Trade To Replace, Pool Buy/Sell is Empty, No Order To Restore. Zombie Status.
2014-02-22 21:43:09| OCR : Try To Create new Order Buy [email protected]
2014-02-22 21:43:10| PING-47654918 : Buy [email protected] Current 250.00000000 | OCR : Order Successfully Created ID 47654918
2014-02-22 21:43:10| OCR : Try To Create new Order Sell [email protected]
2014-02-22 21:43:11| PING-47654920 : Sell [email protected] Current 1134.10715799 | OCR : Order Successfully Created ID 47654920
2014-02-22 21:44:41| PPO : Order Synchronized (Attempt 1) - Buy Quantity [email protected] Price Synchronized Type Synchronized
2014-02-22 21:44:41| PPO : Order Synchronized (Attempt 1) - Sell Quantity [email protected] Price Synchronized Type Synchronized
2014-02-22 21:48:21| -

hero member
Activity: 499
Merit: 500
Anyone else seeing the following in the market error logs?  Later retrys appear to be OK.

Code:
2014-02-22 10:57:53| Call Aborted! Json Result Error during createorder Call Is Aborted After 25 retry 
2014-02-22 10:57:53| OCR : Create Order Unknown Error From Cryptsy : Unable to Authorize Request - Check Your Post Data

Also, Looks like DOGE has been removed.

Code:
2014-02-22 13:24:42| Call Aborted! Json Result Error during createorder Call Is Aborted After 25 retry 
2014-02-22 13:24:42| OCR : Create Order Unknown Error From Cryptsy : Unknown Market.  Market ID must be an Active Market
hero member
Activity: 784
Merit: 500
I want to sell my copy, if anyone's intested, pm me. Cheers
legendary
Activity: 2632
Merit: 1040
I will check if the force close during a "Running Loop" (the loop with continously errors) can cause the process to "stay alive" until the loop is finish.
If yes (and i think the answer is Yes, because i believe you) i will write a fix.
legendary
Activity: 952
Merit: 1000
got surprised

i closed a market (points/BTC) probably yesterday.
Now someone bought my sell order, and i've found the gain in the gain log

is a closed market still waiting for ping/pong?

this time it was a PONG, if it was a PING CAT could create the PONG?

EDIT

yes, i've found some buy in 2/3 closed market  Undecided

When you press the STOP Process, and you will read STOP in the status label, Process is stopped....


i've closed the tab and after 4/5 hour i got the PONG from the PING

Closed or Force Closed?

i've tried to stop the market, but i didn't see any change in the general log, then i had to force close...
how can i avoid this situation?
sr. member
Activity: 462
Merit: 500
Yes - totally right, these functions hang the thread.
legendary
Activity: 2632
Merit: 1040
Well done Sampey, thanks for the quick work.

Just to note that CAT continued running for me overnight and seems to have been making trades OK.

Yes, but only  because you haven't set new ping-pong orders.
MyInfo is called in these moments :
- Load Portfolio Values (not a problem)
- Check Market in Ping_pong Panel (load you current balance, This is a problem but you can set an order by yourself without press the CHECK).
- Submit the PING (check if you have the amount, And in this case you will be Frozen)
sr. member
Activity: 462
Merit: 500
Well done Sampey, thanks for the quick work.

Just to note that CAT continued running for me overnight and seems to have been making trades OK.
legendary
Activity: 2632
Merit: 1040
I see there was a notification about the API on Cryptsy tweets at the bottom of the home page




Yes, NEW Api like : makewithdrawal  or getwalletstatus.

The problem with CAT is a CHANGE of the JSON Format return of getinfo Call.

getInfo call isn't change if you read the API Page : https://www.cryptsy.com/pages/api

Method: getinfo

Inputs: n/a

Outputs:

balances_available   Array of currencies and the balances availalbe for each
balances_hold   Array of currencies and the amounts currently on hold for open orders

servertimestamp   Current server timestamp
servertimezone   Current timezone for the server
serverdatetime   Current date/time on the server
openordercount   Count of open orders on your account


But in the balances_available and balances_hold there's a Format Change :
- Original return was a group of CoinName (Datatype String) + Balance (Datatype String)
- Today is always a group of CoinName + Balance but :
   - CoinName (Datatype String) + Balance (Datatype String) if Balance > 0
   - CoinName (Datatype String) + Balance (Datatype integer) if Balance = 0

My JSON Library (there aren't more json library, so i use one of the "De Facto" standard library) give me this result. Maybe from Cryptsy side there's no change (they think that change a return from 0.00000000 to 0 is the same) 

BUT :

Tonight i have write the FIX
Tonight i have run a Test (is running fine until no2)
FIX Is Ready
FIX is in the 1.0 Version, SO ALL CAT VERSIONS are Broken, All user must upgrade to 1.0
I'm preparing PM To all CAT Users.
This is a  UNOFFICIAL RELEASE of 1.0 Version but, in other word, the version you will get is the official 1.0  Grin

I'm Very Tired  Undecided

newbie
Activity: 4
Merit: 0
I see there was a notification about the API on Cryptsy tweets at the bottom of the home page

https://i.imgur.com/dpohKuc.png

newbie
Activity: 28
Merit: 0
Fantastic. CAT Is Broken.
Long night for me  Undecided Undecided Undecided Undecided

I Must prepare a fixed version. So it's time for 1.0 Beta for everyone


The same thing with the 1.0 =( Same errors and dos't work =(
hero member
Activity: 499
Merit: 500
Thanks Sampey, 

Cryptsy really needs to notify/announce such changes before they just go and change the API.  Was there any notification given to the community?
sr. member
Activity: 462
Merit: 500
 Embarrassed Embarrassed Good luck Sampey  Embarrassed Embarrassed

We appreciate your commitment !
legendary
Activity: 2632
Merit: 1040
Fantastic. CAT Is Broken.
Long night for me  Undecided Undecided Undecided Undecided

I Must prepare a fixed version. So it's time for 1.0 Beta for everyone
sr. member
Activity: 462
Merit: 500
Yes...getting this error now....

Quote
2014-02-21 22:15:18 - CNC/LTC Error Lookup Exception : JSONArray[0] not a string.
2014-02-21 22:15:18 - cryptsy.zJSON.JSONException: JSONArray[0] not a string.
   at cryptsy.zJSON.JSONArray.getString(JSONArray.java:337)
   at cryptsy.zAPIClass.MyInfo.getBalances(MyInfo.java:110)
   at cryptsy.zAPIClass.MyInfo.(MyInfo.java:34)
   at cryptsy.pingPong.zHttp.CryptsyFE.getMySituation(CryptsyFE.java:37)
   at cryptsy.pingPong.CoreSupport.SingleMarketBrain.updateMyStat(SingleMarketBrain.java:72)
   at cryptsy.pingPong.CoreSupport.SingleMarketBrain.updateAll(SingleMarketBrain.java:87)
   at cryptsy.pingPong.Core.PPOrderCalculatorRules.errorAlgo(PPOrderCalculatorRules.java:424)
   at cryptsy.pingPong.Core.PPOrderCalculatorInterface.calculateFromMsgError(PPOrderCalculatorInterface.java:29)
   at cryptsy.pingPong.Core.PPOrderCreator.createOrder(PPOrderCreator.java:77)
   at cryptsy.pingPong.Core.PPOrderCreator.createPPSingleOrder(PPOrderCreator.java:41)
   at cryptsy.pingPong.Core.PPOrder.tryRecalculate(PPOrder.java:160)
   at cryptsy.pingPong.Core.PPAlgo.checkPingPongRecalculate(PPAlgo.java:228)
   at cryptsy.pingPong.Core.PPAlgo.lookup(PPAlgo.java:170)
   at cryptsy.pingPong.Core.PPAlgo.startLoop(PPAlgo.java:300)
   at cryptsy.pingPong.Core.PPAlgo.access$600(PPAlgo.java:24)
   at cryptsy.pingPong.Core.PPAlgo$1.run(PPAlgo.java:354)
   at java.util.TimerThread.mainLoop(Unknown Source)
   at java.util.TimerThread.run(Unknown Source)

legendary
Activity: 2632
Merit: 1040
Hum, it seems that Crypsty have changed inside this method, the 0 Balance Account (it was a String (always), now is an Integer (when 0) and a String (when other)

Quote
Method: getinfo

Inputs: n/a

Outputs:

balances_available   Array of currencies and the balances availalbe for each
balances_hold   Array of currencies and the amounts currently on hold for open orders
servertimestamp   Current server timestamp
servertimezone   Current timezone for the server
serverdatetime   Current date/time on the server
openordercount   Count of open orders on your account

Do you know what it means?
CAT Won't Work. FUCK!

Getinfo is called in many functions like PingPong Order Creation and Estimated Portfolio Value. But in the first case it will be impossible to create ping orders.

Someone can confirm this??
legendary
Activity: 2632
Merit: 1040
Cryptsy works for me. But these errors are all crypsty error.
sr. member
Activity: 462
Merit: 500
Is Cryptsy screwed at the moment ?

Markets seem to still be running but Check Current Status thread hangs and can't create new Ping orders...

Quote
2014-02-21 19:20:17 - HTTP ERROR Connection reset TRY TO RECALL
2014-02-21 19:26:07 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:26:15 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:26:41 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:27:07 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:27:10 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:27:29 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:27:29 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 19:27:55 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:29:33 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 19:29:44 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 19:36:26 - HTTP ERROR Connection reset TRY TO RECALL
2014-02-21 19:38:57 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:39:00 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:40:17 - HTTP ERROR Premature EOF TRY TO RECALL
2014-02-21 19:40:29 - HTTP ERROR Unexpected end of file from server TRY TO RECALL
2014-02-21 19:41:39 - HTTP ERROR Unexpected end of file from server TRY TO RECALL
2014-02-21 19:41:49 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 19:51:14 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
....
2014-02-21 20:38:49 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 20:38:50 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
2014-02-21 20:43:54 - HTTP ERROR Server returned HTTP response code: 502 for URL: https://api.cryptsy.com/api TRY TO RECALL
legendary
Activity: 2632
Merit: 1040
got surprised

i closed a market (points/BTC) probably yesterday.
Now someone bought my sell order, and i've found the gain in the gain log

is a closed market still waiting for ping/pong?

this time it was a PONG, if it was a PING CAT could create the PONG?

EDIT

yes, i've found some buy in 2/3 closed market  Undecided

When you press the STOP Process, and you will read STOP in the status label, Process is stopped....


i've closed the tab and after 4/5 hour i got the PONG from the PING

Closed or Force Closed?
Pages:
Jump to: