Hi Sampey,
I'm receiving a NullPointerException during attempted backup of the Yobit api connection settings (both automatic and manual), seems to be only when backing up the ORDERS file if I try all backups individually. Do you know how I can supply more information to you on which field or configuration permutation may be causing the exception.
I've also noticed that Yobit pings/pongs seem to get lost quite often (causing markets to go into zombie state), I'm not sure if that is related to the Exception
Hi, by "Yobit api connection settings" you mean the General Exchange Options? This is a dedicated file that has no relationship with ORDERS. Did you start a clean 5.1 CAT version when i sent you the new copy? Or there was an old .xml Configuration file inside the foldeR? About Zombie orders you can send me a log, but usually these are errors on Exchange side and there's no easy fix on CAT side
|
|
|
I'm offering 50% discount over any api purchase to all the users who had a BTCe Api.
|
|
|
Will GDAX be added to exchanges in the future?
GDAX still request documents for layer 1 right? In other words is there a way to trade on GDAX without send documents? It does look like you need to upload docs to create an account. Is that a problem for the CAT program? No it's a problem for me :-) i don't want to give personal documents to an exchange i don't use and i don't trust (well to be honest i don't trust any exchange ). Ahhh... I think I understand. You can't implement the api because you don't want to create an account to test it with. Is that correct? this is the main reason, the second reason is that there's no big request about that api.
|
|
|
Will GDAX be added to exchanges in the future?
GDAX still request documents for layer 1 right? In other words is there a way to trade on GDAX without send documents? It does look like you need to upload docs to create an account. Is that a problem for the CAT program? No it's a problem for me :-) i don't want to give personal documents to an exchange i don't use and i don't trust (well to be honest i don't trust any exchange ).
|
|
|
Tomorrow i will launch the AUGUST OFFER31 Days WITH BIG DISCOUNT Over a CAT Copy purchase Stay tuned!!! Got any August Specials on Exchange API for those who already own the core. Maybe
|
|
|
Will GDAX be added to exchanges in the future?
GDAX still request documents for layer 1 right? In other words is there a way to trade on GDAX without send documents?
|
|
|
Tomorrow i will launch the AUGUST OFFER31 Days WITH BIG DISCOUNT Over a CAT Copy purchase Stay tuned!!!
|
|
|
and price limit must be a number that I insert, can't be self-calculated by the CAT?
there are dynamic limit like "Never Buy/Sell Under/Over your last Buy/SEll Ping/Pong Price +/- X%"
|
|
|
I wrote an answer before but was complitely wrong. Too rush now it's fixed: the part about the deleting is in bold below. i will give you an example: iteration 1: the bot "read" the lowest ask from bitfinex = 2500 USD the bot creates a ping (buy) at say 1% under the lowest ask = 2475 USD iteration 2: (1 minute after) in the book we have the ping created at iteration 1 unfilled --> the bot delete it ****the bot "read" the lowest ask from bitfinex = 2600 USD the bot creates a ping (buy) at say 1% under the lowest ask = 2574 USD then, before the iteration 3 happens: the ping created at iteration 2 gets filled --> the bot creates the pong (sell) at say 1% over the buy = 2599.7 USD iteration 3: (1 minute after) in the book we don’t have the ping created at iteration 1 --> the bot deleted ita t iteration 2 in the book we have the pong created after iteration 2 --> the bot keep it open the bot "read" the lowest ask from bitfinex = 2550 USD the bot creates a ping (buy) at say 1% under the lowest ask = 2524.5 USD then, before the iteration 4 happens: the ping created after iteration 2 gets filled --> the bot close it and so on.. **** with the expression delete it I meant this: the bot delete ping unfilled at each iteration, in order to always have maximum 1 unfilled ping (1% under the last lowest ask).ty for your patience! Iteration 1 is not possible, there's no "Create order at market price - X%" you should use another way like price limit options. Iteration 2 is called RECREATION and you can make cat perform this operation every 1 Lookup (by default is 5). CAT is able to manage partially trades and continue pong only with partial trade. Recreation occurs over the current orders. And if CAT is able to recreate that orders then order will be deleted and recreated. Otherwise order will remain in the order book at the same position. CAT creat new ping starting from a structure called BUY/SELL POOL. As i said before you can find all the info in the CAT tips & Trickes. There's also a schema about ping-pong.
|
|
|
sounds great. seems to be what i'm looking for. yes, there's also the RECALCULATION routine : CAT tries to recreate (if you want) your ping (or pong) order in the best market position.
not sure to understand this point. do you confirm that at each iteration I can automatically remove the former(s) pings, without removing former(s) pongs and place a new ping recalculated on the basis of the last "lowest ask" received? is it eventually possible to try your software for a trial period of say 1 week or something? There's no demo copy sorry In general : Manually you can do what you wants. Whan you say "Remove the formers(s) pings" what do you mean? Just to be more precise....
|
|
|
yes, i read it before. and can't be adjusted to 60 or 300 seconds, for example, or it is a fixed lookup time? you can modify this value as you prefer and for any single algorithm you're running. in this way it should be able to update the best price every 40 sec, keeping open only the ping-filled orders waiting for their pong to close them. yes, there's also the RECALCULATION routine : CAT tries to recreate (if you want) your ping (or pong) order in the best market position. and this % is net, deducted of fees. right? I guess can't be setted an absolute value instead of %, right? is WITH Fee, so if you're on an exchange with 0.25% FEE, you should calculate 0.25% (PING FEE) + 0.25% (PONG FEE) + REAL GAIN (Example 0.1%) = 0.6% CAT always suggest as default the "min gain" as buyfee + sell see + 0.1%
|
|
|
For example, every 40 seconds request the lowest ask price and: - first remove all the eventual former orders - second put a buy limit 50 usd lower - once is filled (even partially) put a limit sell + an eventual stop (OCO)
ok so 40 Second is the PING-PONG algorithm lookup time CAT remove your orders and all the "filter" (you have a set of filters over qty/price/total) then calculate the best price the filling part is when a trade occurs over a PING (or PONG Order). In the ping case a new order (of opposite type) is created with the min price to allowed you to have the % GAIN you set in your parameters. The stop part is an option called "Run algorithm for X Minutes the return all to <Primary>/<Secondary>" It's not exactly what you ask, but it can be similar
|
|
|
hi sampey,
I trade cryptos from a couple of years, but I am new at this trading bot thing.
I had a look at your user guide, but didn't find material about how to write my algorithm.
I am looking for automate a ping-pong trade like in this example: - at the beginning of every 30 minutes candle set a limit order 100 USD lower than the opening price of the current 30 minutes candle - once the buy order is filled (even just partially) put a limit sell at 50 USD over the buying price (+ an eventual a once-cancel-the-other limit stop sell at 100 USD below the buying price)
The variables of course will be: - the candles (1 min, 5 min, 30 min, 1 hour, etc..) - the limit sell positive differential (value in USD or %) - the stop limit sell differential (value in USD or %)
FYI I'm doing this on bifinex.
Hi, CAT doesn't works with candle, sorry you can set price limit for the opening order (PING). Then you will obtain the behaviour you describe (when a partial/total trade occurs CAT can create a new PONG Order at the % Of gain you set) And of course you can set a stop loss vale.
|
|
|
Hi Sampey, for setting up a Kraken excahnge API your first post states "Don't Activate 2FA", after the API is setup can 2FA be re-activated or must 2FA always be off for Kraken?
always be off, when you have 2FA, api call is different from the one written inside CAT
|
|
|
Hello, Are you planning on adding gemini exchange to the api list?
Actually no plan.
|
|
|
I get Zero values:
(`ID`, `Exchange`, `TradeType`, `Market`, `TimeStamp`, `OriginalTradeType`, `OriginalTradePrice`, `OriginalTradeQuantity`, `OriginalTradeFee`, `FinalTradeType`, `FinalTradePrice`, `FinalTradeQuantity`, `FinalTradeFee`, `TotalFee`,Gain` `, `PercentageGain`, `MarketComulativeGain`) VALUES (7140, 'TheRock', 'PingPong', 'PPC/BTC', '2017-07-18 21:46:38', 'SELL', 0.00077000, 0.71000000, 0.00000000, 'BUY', 0.00076000, 0.71000000, 0.00000000, 0.00000000, 0.00000000, 1.2990, 0.00000000);
It seems only TheRock is effected! Sampey, there is a bug! I use the function Make a Post To URL When a Ping-Pong is Completed, to get the data into a database! Since 5.0 I noticed that I perfectly here the sound (Reproduce a Sound When a Ping-Pong is Complete (btw. Completed) However, the database gets the above Zero values. This happens at TheRock and at C-CEX. BTW, could you please make a dummy Post To URL to check what I get? Just with a click post to the URL a dummy record. I can only verify, IF and WHEN I indeed had a gain otherwise! could you please pm me after Sunday? I will check with you this problem. Did you get this problem only with TheRock and C-cEX?
|
|
|
From my point of view this is an error on Poloniex side. In fact, very few people are effected.
Since I am not familiar with the script from C.A.T. to login to Poloniex, can you provide some jargon for me to use to resolve this issue with Poloniex? I want to be able to submit a trouble ticket while sounding knowledgeable of what the problem is. Thanks. there's no script/httpCall/etc to LOGIN. It's a simple call to a PRIVATE API Call to verify that your API Pair is working good. And i'm pretty sure they well know what the problem is
|
|
|
Why is this stupid? The api is written for a more personalized trading and not for laming down exchanges...
yes, but in that case there must be an api response like {"Error:You're Banned"} or some kind of advice for the user. An html page can't be a response for an API System. Usually HTLM page means "Site maintenance" From my point of view this is an error on Poloniex side. In fact, very few people are effected.
|
|
|
|