Bitcoin Forum
May 21, 2024, 04:32:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 [90] 91 92 93 »
  Print  
Author Topic: 【 BOT 】 C.A.T. Cryptsy Automatic Trader 1 Copy@0.8 (Old Topic Beta1-Beta3V8)  (Read 151119 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 21, 2014, 10:49:39 PM
 #1781

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.<init>(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)

Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
February 21, 2014, 10:53:41 PM
 #1782

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
andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 21, 2014, 11:10:30 PM
 #1783

 Embarrassed Embarrassed Good luck Sampey  Embarrassed Embarrassed

We appreciate your commitment !
Miner-TE
Hero Member
*****
Offline Offline

Activity: 499
Merit: 500



View Profile
February 22, 2014, 06:06:23 AM
 #1784

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?

BTC - 1PeMMYGn7xbZjUYeaWe9ct1VV6szLS1vkD - LTC - LbtcJRJJQQBjZuHr6Wm7vtB9RnnWtRNYpq
Eugenok
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
February 22, 2014, 08:41:23 AM
 #1785

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 =(
scryptblocks
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
February 22, 2014, 08:42:48 AM
 #1786

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

Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
February 22, 2014, 09:19:28 AM
 #1787

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

andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 22, 2014, 09:23:28 AM
 #1788

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.
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
February 22, 2014, 09:27:40 AM
 #1789

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)
andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 22, 2014, 09:35:47 AM
 #1790

Yes - totally right, these functions hang the thread.
golikcoin
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
February 22, 2014, 10:15:25 AM
 #1791

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?


 
 
           ▄████▄
         ▄████████▄
       ▄████████████▄
     ▄████████████████▄
    ████████████████████      ▄█▄                 ▄███▄                 ▄███▄                 ▄████████████████▀   ▄██████████

  ▄▄▄▀█████▀▄▄▄▄▀█████▀▄▄▄     ▀██▄             ▄██▀ ▀██▄             ▄██▀ ▀██▄             ▄██▀                   ██
▄█████▄▀▀▀▄██████▄▀▀▀▄█████▄     ▀██▄         ▄██▀     ▀██▄         ▄██▀     ▀██▄         ▄██▀        ▄█▄          ▀██████████████▄
████████████████████████████       ▀██▄     ▄██▀         ▀██▄     ▄██▀         ▀██▄     ▄██▀          ▀█▀                        ██
 ▀████████████████████████▀          ▀██▄ ▄██▀             ▀██▄ ▄██▀     ▄█▄     ▀██▄ ▄██▀                                       ██
   ▀████████████████████▀              ▀███▀                 ▀███▀       ▀█▀       ▀███▀      ▄███████████████████████████████████▀
     ▀████████████████▀
       ▀████████████▀
         ▀████████▀
           ▀████▀
║║


║║
.
.

║║
██
║║
.
.

║║
██
║║
.
║║


║║
Sampey (OP)
Legendary
*
Offline Offline

Activity: 2632
Merit: 1040



View Profile
February 22, 2014, 10:16:58 AM
 #1792

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.
slavo
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 22, 2014, 12:45:17 PM
 #1793

I want to sell my copy, if anyone's intested, pm me. Cheers
Miner-TE
Hero Member
*****
Offline Offline

Activity: 499
Merit: 500



View Profile
February 22, 2014, 09:40:42 PM
 #1794

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

BTC - 1PeMMYGn7xbZjUYeaWe9ct1VV6szLS1vkD - LTC - LbtcJRJJQQBjZuHr6Wm7vtB9RnnWtRNYpq
andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 22, 2014, 10:01:11 PM
 #1795

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 1134.10715799@0.00088983
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 - 0.00088983@1134.10715799 Please Retry
2014-02-22 21:42:36| OCR : Try To Create new Order Buy 250.00000000@0.00081553
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 - 0.00081553@250.00000000 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 250.00000000@0.00081553
2014-02-22 21:43:10| PING-47654918 : Buy 250.00000000@0.00081553 Current 250.00000000 | OCR : Order Successfully Created ID 47654918
2014-02-22 21:43:10| OCR : Try To Create new Order Sell 1134.10715799@0.00088983
2014-02-22 21:43:11| PING-47654920 : Sell 1134.10715799@0.00088983 Current 1134.10715799 | OCR : Order Successfully Created ID 47654920
2014-02-22 21:44:41| PPO : Order Synchronized (Attempt 1) - Buy Quantity 250.00000000@0.00081553 Price Synchronized Type Synchronized
2014-02-22 21:44:41| PPO : Order Synchronized (Attempt 1) - Sell Quantity 1134.10715799@0.00088983 Price Synchronized Type Synchronized
2014-02-22 21:48:21| -

GT3000
Full Member
***
Offline Offline

Activity: 129
Merit: 100


View Profile
February 22, 2014, 10:29:07 PM
 #1796

So this is borked until Sampey fixes it?
theomoplatapus
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
February 22, 2014, 11:43:34 PM
 #1797

I think we have another scammer: https://bitcointalk.org/index.php?topic=481060.0

#Bitcoin
andycee
Sr. Member
****
Offline Offline

Activity: 462
Merit: 500


View Profile
February 23, 2014, 12:00:02 AM
 #1798

Well spotted.

Downmark his trust...I just did  Smiley
Mitchell
Copper Member
Legendary
*
Offline Offline

Activity: 3934
Merit: 2200


Verified awesomeness ✔


View Profile WWW
February 23, 2014, 12:01:08 AM
 #1799

Reported to mods and -repped him.

.
Duelbits
            ▄████▄▄
          ▄█████████▄
        ▄█████████████▄
     ▄██████████████████▄
   ▄████▄▄▄█████████▄▄▄███▄
 ▄████▐▀▄▄▀▌████▐▀▄▄▀▌██

 ██████▀▀▀▀███████▀▀▀▀█████

▐████████████■▄▄▄■██████████▀
▐██████████████████████████▀
██████████████████████████▀
▀███████████████████████▀
  ▀███████████████████▀
    ▀███████████████▀
.
         ▄ ▄▄▀▀▀▀▄▄
         ▄▀▀▄      █
         █   ▀▄     █
       ▄█▄     ▀▄   █
      ▄▀ ▀▄      ▀█▀
    ▄▀     ▀█▄▄▄▀▀ ▀
  ▄▀  ▄▀  ▄▀

Live Games

   ▄▄▀▀▀▀▀▀▀▄▄
 ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄
▄▀ █ ▄  █  ▄ █ ▀▄
█ █   ▀   ▀   █ █  ▄▄▄
█ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █   █
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▄█
█ ▀▀█  ▀▀█  ▀▀█ █  █▄█

Slots
.
        ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄
        █         ▄▄  █
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄       █
█  ▄▄         █       █
█             █       █
█   ▄▀▀▄▀▀▄   █       █
█   ▀▄   ▄▀   █       █

Blackjack
|█▀▀▀▀▀█▄▄▄
       ▀████▄▄
         ██████▄
▄▄▄▄▄▄▄▄█▀    ▀▀█
████████▄        █
█████████▄        █
██████████▄     ▄██
█████████▀▀▀█▄▄████
▀▀███▀▀       ████
   █          ███
   █          █▀
▄█████▄▄▄ ▄▄▀▀
███████▀▀▀
.
                 NEW!                  
SPORTS BETTING 
|||
[ Đ ][ Ł ]
AVAILABLE NOW

Advertisements are not endorsed by me.
maursader
Sr. Member
****
Offline Offline

Activity: 509
Merit: 250

Disrupt the banking system!


View Profile
February 24, 2014, 05:04:10 AM
 #1800

Sampey, how do you distribute updates to everyone that purchases a copy? It is simply a dropbox link, or are you proving a way for license holders to update the app within the app itself?
Pages: « 1 ... 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 [90] 91 92 93 »
  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!