Pages:
Author

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

legendary
Activity: 2632
Merit: 1040
Start sending new Version

C.A.T. Beta3V8
New API Url : https://api.cryptsy.com/api
Fixes portfolio problem due tu a change from Cryptsy in "getinfo" Api Call
Added new Panel in Market Algo : Algo Status
Added Never Buy Under Option
Added Never Sell Over Option
Added these actions at Market Level and Global Level (On The Cryptsy toolbar)
 - Stop Process
 - Stop Ping Creation
 - Restart Ping Creation
 - Stop Pong Creation
 - Restart Pong Creation
 - Stop Ping Buy Creation
 - Restart Ping Buy Creation
 - Stop Ping Sell Creation
 - Restart Ping Sell Creation
 - Stop Pong Buy Creation
 - Restart Pong Buy Creation
 - Stop Pong Sell Creation
 - Restart Pong Sell Creation
 - Close All Orders
 - Close All Sell Orders
 - Close All Buy Orders
 - Close All Ping Orders
 - Close All Ping Buy Orders
 - Close All Ping Sell Orders
 - Close All Pong Orders
 - Close All Pong Sell Orders
 - Close All Pong Buy Orders
 - Remove All Trades
Some Other Fixes + Code Reorganization
legendary
Activity: 2632
Merit: 1040
OK, they have changed the GETINFO Api. now if you don't have any holded balance, there's not Structure balances_hold.
And this is a big problem, because i must give you a new version ASAP with this cod fixed.

Actually, to avoid this problem, you can use the "False Order" "Trick"
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
Try to submit a manual order (like sell 1@1) and reload balance from Cryptsy

It worked!  Cheesy thanks!
legendary
Activity: 2632
Merit: 1040
Try to submit a manual order (like sell 1@1) and reload balance from Cryptsy
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
I personally cannot load balance at all  Embarrassed
legendary
Activity: 2632
Merit: 1040
It seems that Cryptsy have changed the return structure of this method.

"balances_hold"

Was always inside the structure.

Can you do this test for me? (Because i'm actually at work)

- Submit an order on Crypty
- Load your balance on CAT

Does this works?
legendary
Activity: 2128
Merit: 1002
Exception in thread "Thread-1" cryptsy.zAPIClass.JSONException: JSONObject["balances_hold"] not found.
   at cryptsy.zAPIClass.JSONObject.get(JSONObject.java:478)
   at cryptsy.zAPIClass.JSONObject.getJSONObject(JSONObject.java:578)
   at cryptsy.zAPIClass.MyInfo.(MyInfo.java:31)
   at cryptsy.zAPIClass.CryptsyFE.getMySituation(CryptsyFE.java:25)
   at cryptsy.mainPanel.JPanelMyBalances.loadBalances(JPanelMyBalances.java:64)
   at cryptsy.mainPanel.JPanelMyBalances.access$300(JPanelMyBalances.java:34)
   at cryptsy.mainPanel.JPanelMyBalances$3.run(JPanelMyBalances.java:326)
   at java.lang.Thread.run(Unknown Source)


same error here

/Cryptsy_Automatic_Trader/catbeta3v7fix$ java -jar CAT.jar
Exception in thread "Thread-1" cryptsy.zJSON.JSONException: JSONObject["balances_hold"] not found.
   at cryptsy.zJSON.JSONObject.get(JSONObject.java:478)
   at cryptsy.zJSON.JSONObject.getJSONObject(JSONObject.java:578)
   at cryptsy.zAPIClass.MyInfo.(MyInfo.java:33)
   at cryptsy.pingPong.zHttp.CryptsyFE.getMySituation(CryptsyFE.java:38)
   at cryptsy.mainPanel.JPanelMyBalances.loadBalances(JPanelMyBalances.java:67)
   at cryptsy.mainPanel.JPanelMyBalances.access$500(JPanelMyBalances.java:34)
   at cryptsy.mainPanel.JPanelMyBalances$4.run(JPanelMyBalances.java:337)
   at java.lang.Thread.run(Thread.java:724)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
All those noobs selling their copies...
newbie
Activity: 14
Merit: 0
Hi all - like the title says...

Selling my copy - the going price is 1 btc - I will sell my copy for 0.5 btc - the first person to get back to me and organize payment will get the download link to grab the software...

Thanks,

John.
legendary
Activity: 2632
Merit: 1040
Exception in thread "Thread-1" cryptsy.zAPIClass.JSONException: JSONObject["balances_hold"] not found.
   at cryptsy.zAPIClass.JSONObject.get(JSONObject.java:478)
   at cryptsy.zAPIClass.JSONObject.getJSONObject(JSONObject.java:578)
   at cryptsy.zAPIClass.MyInfo.(MyInfo.java:31)
   at cryptsy.zAPIClass.CryptsyFE.getMySituation(CryptsyFE.java:25)
   at cryptsy.mainPanel.JPanelMyBalances.loadBalances(JPanelMyBalances.java:64)
   at cryptsy.mainPanel.JPanelMyBalances.access$300(JPanelMyBalances.java:34)
   at cryptsy.mainPanel.JPanelMyBalances$3.run(JPanelMyBalances.java:326)
   at java.lang.Thread.run(Unknown Source)



 JSONObject["balances_hold"]  That attribute was not on the return call of MyBalances call.
I Will check for this, but if you retry now to call these funcionts the problems is still happening?
member
Activity: 68
Merit: 10
Exception in thread "Thread-1" cryptsy.zAPIClass.JSONException: JSONObject["balances_hold"] not found.
   at cryptsy.zAPIClass.JSONObject.get(JSONObject.java:478)
   at cryptsy.zAPIClass.JSONObject.getJSONObject(JSONObject.java:578)
   at cryptsy.zAPIClass.MyInfo.(MyInfo.java:31)
   at cryptsy.zAPIClass.CryptsyFE.getMySituation(CryptsyFE.java:25)
   at cryptsy.mainPanel.JPanelMyBalances.loadBalances(JPanelMyBalances.java:64)
   at cryptsy.mainPanel.JPanelMyBalances.access$300(JPanelMyBalances.java:34)
   at cryptsy.mainPanel.JPanelMyBalances$3.run(JPanelMyBalances.java:326)
   at java.lang.Thread.run(Unknown Source)
legendary
Activity: 2632
Merit: 1040
Hello, consider CatWeb - the C.A.T. web interface  Smiley
http://tichaposta.eu/catweb/

I will put in the Home Page of this topic.

I'm testint he new API Address, but CAT is terribly slow, so i must wait tomorrow to understand if new address is faster than current
legendary
Activity: 2114
Merit: 1090
=== NODE IS OK! ==
Hello, consider CatWeb - the C.A.T. web interface  Smiley
http://tichaposta.eu/catweb/
full member
Activity: 137
Merit: 100
BTCSELLING MY COPY OF CAT ---- PM WITH OFFERS
newbie
Activity: 57
Merit: 0
That's the best news I've heard in a long time  Smiley
sr. member
Activity: 462
Merit: 500
Sure most of you will have seen this, but for those who missed it...

Quote
We have allocated a new URL for our private API users:
https://api.cryptsy.com
If you are using this api, then you should change your posting url to “https://api.cryptsy.com/api”
You can still use the older url of https://www.cryptsy.com/api, however the new url should give you better performance.  Especially if you are a heavy api user.
The previous url used session persistence, which means that once you started getting directed to one of our front end web servers you stayed there.   For API requests this is not necessary, since session persistence is not required.   Therefore, if you happened to get stuck with a slow server then you were stuck on that server for awhile.
The new method does not use session persistence, which means that any new requests from your application to our API can be serviced by any of our front end boxes, thus reducing the likelihood that one server would be overloaded with api requests.
Paul Vernon  "BigVern"

Hopefully this can be changed in the coming version.
hero member
Activity: 499
Merit: 500
Hey Sampey could you add an indicator that informs you if one of your market with open ping.pong orders hasn't made in trade in xminutes?


I was just thinking of writing a script to notify me by email/txt if the market log files last modified date/time was not in the lase x min. I'd also like to put in a notification when the market gain log file is updated.

Both would be a nice addition to CAT. 

newbie
Activity: 8
Merit: 0
Hey Sampey could you add an indicator that informs you if one of your market with open ping.pong orders hasn't made in trade in xminutes?
full member
Activity: 137
Merit: 100
Selling my copy of CAT and associated cryptsy account --- PM me with offers if interested
legendary
Activity: 2632
Merit: 1040
Hi Cat Users, in the next 2 hourse i will go out and i will return tomorrow in the evening. So i won't be able to use a PC.

Have a nice day.  Wink Wink
Pages:
Jump to: