Bitcoin Forum
May 24, 2024, 10:13:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 »
461  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 27, 2014, 10:25:13 AM
But [price x fee x 2] = [3.466 x 0.002 x 2] = 0.013864 and thus leads to a zero profit price of [3.466 + 0.013864] = 3.479864 and not 3.481. Or am I missing something?

I'm adding value to compensate exchange rounding.
For example price have 3 decimals 0.000, I get minimum of this decimals value 0.001 and add this value to zero profit price for buy and subtract from sell profit price.
Rounded value exact 3.481.
462  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 27, 2014, 09:36:12 AM
Mind adding in a "backtest mode"? This way we can test our rules in real time without having to actually risk losing our currencies.

Thanks for your hard work. The tool is definitely shaping up to be a powerhouse.

You can test rules without risk right now, just use sound instead of order placing.

Hey Ighor,

zero profit price in 1.07.97 beta 4 for OSX still seems off. E.g. PPC bought for 3.466, zero profit price says 3.481 while fee is 0.002% at BTC-e. Is there still a bug in the application or am I calculating wrong?

 Huh

Zero profit step depends only by price.
Formula is: Price*Fee*2
463  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 26, 2014, 09:00:15 PM
Hi all.
I have read all new messages.
I understand you want to use rules like "If %INDICATOR_1%<%INDICATOR_2% Then.." and I'll work on it.
First of all I'll make changes to UI to make you able to see what is going on in rules realtime.

Also I'll add Logs tab to see what and when was triggered.

Askit2, thank you for detailed description, I'll make update to better debugging and contact you.
I'll be glad if you will help me to test your examples and we will make it better.

About Cryptsy: I'll add it in upcoming update.
About other exchanges: I have updated base exchange class to make easier add new exchanges, but for now it still takes a time to add and debug each exchange, I'm thinking how to make engine better for easier adding. First of all I want to make it stable and rules working well. So other exchanges will be added later.

Thank you all for bug reports, feedbacks and donations!

PS: I was in Kyiv, was near revolution 8 Km and there was quiet.
464  Bitcoin / Project Development / Re: Malware Domain Blacklist. Fake exchanges, traders and wallets. on: February 25, 2014, 01:31:45 PM
Code:
http://www.cryptonic.tk
465  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 24, 2014, 05:46:28 PM
Sorry, I was in Kyiv. I'll read all your messages and replay soon.
466  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: February 23, 2014, 10:26:33 PM
Вопрос по логике правил.
Продажа = выбранный нами индикатор цены ПЛЮС процент.
Покупка = выбранный нами индикатор цены МИНУС процент.

Возможность задать МИНУС процент от выбранной цены нет. Если просто поставить знак минус перед процентом и отметить галочку плюс к цене - то не сохраняет в правиле значение при последующем редактировании и по всей видимости неправильно рассчитает, так как в формуле наверняка не учитывается этот знак.

Спасибо. Подтверждаю баг редактирования.
Бага в расчетах нет. Данные сохраняются но при редактировании не заполняются.
В формуле после сохранения все вычисляется корректно.
Исправлю в следующем обновлении.
467  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 18, 2014, 10:21:52 AM
I've been playing today with fractional amounts and noticed the same problem.

Any rules I create execute perfectly (Thanks) based on buy and sell at 1% and they move to the next rule, but if the order stays open I can end up with multiple open orders, even at Ask price.

Similar to what the OP stated "BUT I want the bot to wait until this order is filled in BEFORE it moves to the Next order."

What do you mean by "Pause"? A time delay, or actually see the previous order is actually filled before proceeding to the next rule?

Thanks

I'll work on it, but currently there is no way to wait order executed, or cancel specified order id. I'll implement it on script language, but maybe not on rules.

I know this question may seem a bit childish but honestly.

If Last buy price is less than ________ sell something.

It works but haphazardly.

The question I really desire an answer to is what fills in the blank? What are the last buy or sell compared to? I can't really effectively use the rule unless I know what it compares to. If the rules uses the Last price ticker then Likely I should use that price for what price to buy or sell at. If it uses an ask or a bid I should know what one. If its user selected that is perfect. Right now I don't know.

The second issue I see so far is that the rule in question doesn't seem to frequently work. I have a trailing stop if the ask goes up 1% that triggered about 1% below my last sell. That says to me that the price dropped 2%. It had to fall 1% below where it placed its buy. Its buy landed almost exactly 1% below the last sell. As a different rule should be buying back down 1% (unless I don't understand how it works) this rule never should have purchased anything.

Is the percentage raw or bound? By that I mean is <1% going to wait for less than 1% of the last price or is it going to wait for a drop of 1% from the last price.
As an example that never did get answered before. If I have last sell > 1% it seems to buy up a bit over 1%. If I have last buy < 1% it seems to sell at down 1%. The problem is that it doesn't always do anything. In other words is the % just an amount above or below 100%?

Bug Fix 4 installed and restarted so I should be using it and both last buy and last sell are broken. Or I misunderstand them. If you could take a moment and explain what the comparison is to and if the percent's are added or subtracted from 100% it would be awesome.

There is a "indicator" variable is any number displayed in the interface. It can be last price, balance or any other.
You create a rule by selecting one indicator as "IF", then the rule compare values only with selected indicator on every value change or if it don't changing, than half of second interval.
There is "Base value" based on selected indicator what will be compared to current indicator value.

Every time rule enabled/re-enabled than base value store current indicator value.
If you use "Trailing value" option, than base value will store current indicator value when trend goes to another direction too.
So it works this way: IF "Base Value"*6%>"Current Value".

Example of not trailing rule: "If price goes more 5% than sell all":
1) Current price $1000 (base value stored as $1000)
2) Price goes down to $980 (nothink happend)
3) Price goes to $1029 (nothink happend)
4) Price goes $1050 (rule executed)

Example of trailing rule: "If price goes more 5% (trailing) than sell all":
1) Current price $1000 (base value stored as $1000)
2) Price goes down to $980 (base value changed to $980)
3) Price goes to $1029 (rule executed - 980+5%)

Note: you should add fee to trailing value percentage, because it compare exact values.

Soon I'll add "base value" to interface, but there is no space and I need more time to make changes.
And yes, there was bugs in trailing value, they fixed in Bug Fix 4.

468  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 17, 2014, 08:27:23 PM
Noticed another bug:

When copying the rules "Add Rules Group" > "Copy From Existing Group" does not copy properly.

I get totally different rules copied than in my source rule.

Thank you. I'll debug this.
469  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: February 17, 2014, 07:38:49 PM
А есть возможность добавить еще одну биржу - CEX.IO? Там получится пара - битокин/гигахэш.

Пока добавление бирж все-еще трудоемкий процесс.
Но в будущем добавлю большинство популярных.

Мне немного пока не ясно, от чего считаются эти проценты? Допустим я выставил правило "Если объём возможной покупки по цене покупки =  5% то потратить всё по цене покупки"  От чего посчитаются эти пять процентов? От возможного объёма для меня на данный момент? В таком случае непонятно как сделать  встречное правило, продажи всего при полученной прибыли плюс 5%, ведь на данный момент у меня ноль фиата, второе правило исполнится мгновенно после первого, ведь 5% от нуля это ноль.

В программе есть понятие "индикатор", это любое число отображаемое в интерфейсе.
Вы создаете правило выбрав один индикатор, далее правило работает по условию только с ним.
Во время включения правила сохраняется текущее значение выбранного индикатора, и последующие изменения индикатора с учетом процентов сравниваются с базовым. Если вы используете трейлинг значение, то если тренд уходит в противоположную сторону - базовый индикатор меняет значение на новое.
Я добавлю отображение базового значения в правила, но там нет места и придется переделать интерфейс, а я хотел быстрее поделиться с вами апдейтом, потому отложыл на потом.

Здравствуйте, нашёл небольшой баг: при создании групп правил, а затем их удалении, у созданных заново группах нумерация начинается не с первой, и нужен перезапуск программы.
И большой баг: процентное условие в правилах, через некоторое время начинает глючить и срабатывает постоянно независимо от значения в программе.

Спасибо, исправил, обновляйтесь.

470  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 17, 2014, 05:10:14 PM
Hi,

Still a virgin. I have scrolled all 44 pages of the this tread, but I must be missing something.

I would like to trade at markt price and sell 1% above and wait and buy again at markt price in a loop.

-If I place a buy order on market price, this will be created, BUT I want the bot to wait until this order is filled in BEFORE it moves to the sell order.

How can I do that? As my dollars & BTC will change constantly, I can not create a rule in relation with it.

I would also be nice to have a pause rule, 1 sec - 3600 sec.

execute immediately  bid B0.1 last price
>>wait until B0.1 is bought
execute immediately ask B0.1 My orders Last buy +1.0%
>>wait until B0.1 is sold
>>pause for 60 sec
if BTC balance goes more than B0.01 enable group #3 Not used not used

I'll make pause soon.
471  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 17, 2014, 05:08:12 PM
V1.07.97 Bugfix 3 It looks like none of my rules are being enabled by the commands. Either they got renumbered or the command is failing to re-enable them. Since all the text boxes for the rules have the number 9 in them without regard for what the group number was when created it is very difficult to re-enable them if the numbers have changed.  Enable all rules in current group works just perfectly though.

2 Possible ideas. 1 make the group ID editable or have the box pull up the actual ID.

When I noticed the problem in the last version bugfix 2 I started naming rules with the ID then a name so as an example 33 wait for up.

All in all the % above or below the last sell or buy would be sweet if it worked properly. Without the rules being able to enable each other it would be more difficult to control what actions I want run at what time.

Thank You!
The software really is awesome. I know you work very hard on it. It is just about perfect. When the rules do work it works really well.

You should re-create rules after bugfix #4. Or edit ini file to change ids you want.

IGHOR,

How do you know when you sold 1BTC on (my last bought price) +0.8% to HOLD the NEXT rule?
The moment you create the order, my balance is credited by 1BTC and the NEXT rule can not us the BTC balans as a reference.

As the money you get for this sell is always different or in multiple parts from multiple micro-sells, I don't find a rule to generate this pause.

I'm thinking about all variants, and I'll make improvements to make rules more flexible.
472  Local / Обменники / Re: обмен Bitcoin,Btc-e кодов на Приват гривну и Liqpay usd.wmz on: February 17, 2014, 12:08:49 PM
Обменял 1300$ на Приват24.
Все быстро как обычно, спасибо!
473  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 17, 2014, 04:03:31 AM
Bugfix #3 released

Critical trailing value bugfix
Fixed my last order buy price
Added Templates, Save/Load for rules
Fixed translations
474  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 17, 2014, 12:04:58 AM
I'm still confused.

ok so if I buy at $500 then that means the BASE_VALUE is $500 right? So the above statement (without trailing) just adds 0.6% to $500 which makes it $503. What is it comparing that $503 to though (ask, bid)? The statement seems incomplete. I want to sell or buy when the current (ask/bid) price is 0.6% more or less than my last buy price.

This is how I'd like to see it.

ask = 620
bid = 615


If market bid price > .6% of my orders last buy price (plus exchange fee) sell amount .01BTC at Market bid Price
if 615 > 606+.02%fee sell .01BTC at 615


If market ask price < .6% of my orders last sell price (plus exchange fee) buy amount .01BTC at Market Ask Price
if 620 < 615+.02% buy .01BTC at 620

Thanks for detailed descriptions.
I see there is a bug at "my orders last buy" indicator.
I'll fix it soon.
475  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 16, 2014, 10:13:36 PM
I want to tell everyone:

Exchanges APIs is not perfect, and many of them have not optimized methods and it cause a lot of traffic.

Reasons that exchanges takes a lot of traffic:

Bitstamp API

Last Trades: can not be limited by last date received, there is only hour and minute. So hour data downloaded every request. So if at last hour happend a lot of transactions, it will takes a lot of traffic.
Order Book: Bitstamp order book can not be limited by count. So every request download all data every time.
Bitstamp Does not allow HTTP gzip compression, so it takes more traffic than other exchanges.

BTC-e API

Last Trades: can not be limited by last date received, they added count limit, but it useles. We need last received date and get only new rows!

Bitfinex

Does not allow HTTP gzip compression, so it takes more traffic than other exchanges.
After every request their server close HTTP connection, it cause big lag often.

Mt.Gox

Order book: can not be limited by count. But this will be not important when I'll release websocket engine.
Mt.Gox Does not allow HTTP gzip compression, so it takes more traffic than other exchanges.

This not optimized methods not only make traffic larger, but it makes exchange works slower.
If you want your favorite exchange works faster, than send report to them for making more optimal methods.
And if I have something missed, or you will get updated info about API, please send to me, and I'll make it better!
Also please note, Order Book requests send only when Order Book tab is visible.
If you want make traffic smaller, than make HttpRequestInterval larger.

My ideal exchange API methods requirements:

Order Book: can set count limit for each asks and bids. So if user will choose small count of depth, it will be not just visual limitation, but received data will be much smaller.
Last Trades: each trade in request result should have timestamp, so we remember last received timestamp and new request will use this value as parameter to prevent receiving already received data.
HTTP gzip compression support: it will cause 5 time lower traffic, and users who have slow internet will receive much faster updates.
476  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 16, 2014, 09:59:52 PM
Not really a bug but: Buy / Sell buttons are disabled if you try to buy/sell less than 0.01 BTC (i have only 0.004 on my test account). When BTC hits 10k, that might be a major culprit. Until then I'm ok. Wink

Every exchange have minimum amount to trade limitation. For example btc-e minimum values described here: https://btc-e.com/api/3/info

Wheres the sound option for when orders go thru?

Moved to rules. Now you can create sound notification to any indicator via rules.

Update bug still present Windows 8.1 64 bit:
Only Code 9 this time, on update v1.07972
Different tries get stuck at different points 0, 2, 4, 7, 9% were ones I saw.

Upon closing and reopening, the auto update made it to 100% but threw code 2 and 9 errors.

Working to fix it now.

bump, IGHOR can you please answer this. I need to know how this statement would be treated "if my orders Last Buy price > 0.6% (trailing) sell amount .01btc at market bid price."

Base value saved at same time as rule enabled. So it will be used BASE_VALUE + 0.6%. If trailing enabled and trend goes in another direction, base value is changing.

Hello IGHOR, for starters I want to thank you for your great trading app, It has helped me may times doing trading.

I have one problem though, today after I updated qt trader, and after using just for few minutes this new release error window has popup which tells me about API keys are wrong etc, but that can't be true because I've always used the same in this program and they worked to this day just fine.

From that moment Bitstamp has banned my IP and I can't even access their website -_-, probably for spamming them with too many requests, this hasn't happened before.

I'm running three instances of trader to check my family's three accounts, and I assume that is the cause, and from what I know, I should change HttpRequestInterval variable to some larger value.

What you think?

edit:

is there a way to acquire older version of qt BT?

Of course, this problem caused by three instances. There is minimum interval for bitstamp 600. And your three copies make this interval 200. You should make same interval for all profiles: 600*3=1800 to prevent IP ban.

Also I'm working on two solutions for this situations. I'll make it works even with 100 interval without IP bans. So keep tracking changelog.

Anyone else having issues with getting this to open on Ubuntu???  I've installed the program, I have the Icon in my home, I've restarted the computer but still nothing happens when I click on it...... Any help would be great!!!

You should use QtBitcoinTrader_Mobility.pro instead of Desktop as described in first message of this thread.


tried loop:
    
      if market last price threshold $0.10 play wav
      enable all rules

seems that it triggers just once and stops the loop - just shows processing afterwards but:

     if market last price threshold %0.01 play wav
     enable all rules

works fine so it must be somthing with $ part..

Thanks, I'll debug this.

Hi

I have problem with downloading speed from Bitstamp. It is 300 kb/s what is 30GB Daily.
Download speed from BTC-e is OK.

Is this normal?

Thanks...

EDIT: I changed API key...now is OK

Answered one message below.


If I don't answered for someone message, don't worry, I read all and will debug all situations.
Upcoming update will bring rule detailed explanation and templates. You will be able to share your rule groups and load it from file.

Thanks for your bug reports, donations and support!
Have a nice trade!
477  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 12, 2014, 06:35:25 PM
Hi IGHOR,

I wanted to note a apparent bug in the beep rule in Mac OSX. I have it running (today's version) in Mavericks and the beep sound does work only once, I tried it with this loop:

- if market last price threshold %0.001 beep
- execute immediately enable all rules

It beeps only the first run, even if I disable all rules an re-enable them.

Best regards


This works for me:
478  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: February 12, 2014, 02:03:03 PM
Error code 9 while updating:

But process seems to be complete. Do I have to repeat or something?


All Ok, you updated. I'll fix this message on next update.
479  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: February 12, 2014, 01:44:43 PM
Вышла v1.07.97 Бета!

Верните пожалуйста БИП при изменении баланса. Было очень удобно моментально узнавать, что что-то купилось/продалось. Даже когда торговал через сайт или ботом - QT Trader все равно висел в фоне и пикал при любом изменении баланса.


Бип переехал в правила, теперь вы можете создавать звуковые оповещения на любое событие.
480  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: February 12, 2014, 11:28:15 AM
Вот, сделал скриншотик с небольшими косячками по UI.

Какое разрешение монитора и DPI?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!