Bitcoin Forum
May 24, 2024, 01:45:12 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 »
241  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: January 04, 2015, 10:32:39 PM
Is there a way to pause script execution? I tried this but it doesn't seem to be working. The "dummy" function is executed asynchronously, but I want it to lock the script for 5 seconds.

Script:
Quote
trader.log("====");
trader.delay(5, "dummy()");
trader.log("====");

function dummy() {};

Output:
Quote
11:09:26PM> ====
11:09:26PM> ====

Same issue applies to the timer.

Quote
trader.log("====");
trader.timer(5, "dummy()");
trader.log("====");

function dummy() { trader.log("RUN"); };

Quote
11:11:41PM> ====
11:11:41PM> ====
11:11:47PM> RUN
11:11:52PM> RUN

As I understand you want to make sleep 5 seconds between two of trader.log("===="); ?
242  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: January 04, 2015, 10:24:27 PM
Today my antivirus (Avast) has recognized Qt Bitcoin Trader as "Malware".

Answer from Avast

Quote
25 December 2014 12:35
Hello
Thank you for contacting our support center with your concerns.

Thank you for your message.
It's false positive. The detection will be fixed in the next VPS.
We are sorry for the inconvenience.

If I can be of any further assistance, please do not hesitate to contact me again.

Best regards,

Lukas Havel
Technical Support Specialist

www.avast.com

grahvity, thanks, fixed
243  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 26, 2014, 01:44:17 PM
Здравствуйте, подскажите в чем может быть причина проблемы: при работе QTBT с Indacoin через некоторое время (2-4 мин) вылетает с ошибкой

Сигнатура проблемы:
  Имя события проблемы:   APPCRASH
  Имя приложения:   QtBitcoinTrader.exe
  Версия приложения:   1.0.8.2
  Отметка времени приложения:   543edc7e
  Имя модуля с ошибкой:   QtBitcoinTrader.exe
  Версия модуля с ошибкой:   1.0.8.2
  Отметка времени модуля с ошибкой:   543edc7e
  Код исключения:   c0000005
  Смещение исключения:   000eee6d
  Версия ОС:   6.1.7601.2.1.0.256.1
  Код языка:   1049
  Дополнительные сведения 1:   0a9e
  Дополнительные сведения 2:   0a9e372d3b4ad19135b953a78882e789
  Дополнительные сведения 3:   0a9e
  Дополнительные сведения 4:   0a9e372d3b4ad19135b953a78882e789

Ключи API менял-бесполезно. С BTC-E работает без проблем.

Это баг их сервера когда он присылает неверные данные. Ошибку обошел программно, в следующем апдейте выйдет исправление.

Обнаружил недавно странные показания стакана на продажу биржи BTC-E. При шаге 0.010 и 0.005 в столбце "Всего В", значение даже приблизительно не совпадало с количеством, которое отображалось если выбрать другой шаг или вовсе без него. На тот момент сумма BTC на $300 была приблизительно 1150. А при шаге 0.005 в галза бросились четырёхзначные значения BTC, ну и суммы были соответствующие, причём при прокрутке стакана они изменялись.
Скрины прилагаю.

https://mega.co.nz/#!n0YhFAxL!xGEtciV0M-lCJf3NbMxahMkxdd1mxnGJqrVqn8G4qv4
https://mega.co.nz/#!e5Q0wKzJ!HsW2zntXmtWXV8i1CD16ZrZqTATQuHwiTmLkdqtYclo

PS Выздоравливайте скорее!  Wink

Эта часть кода переписана и в следующем апдейте должно работать корректно.
244  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: December 19, 2014, 12:59:54 PM
Today my antivirus (Avast) has recognized Qt Bitcoin Trader as "Malware".

I see it Avast problem only.
https://www.virustotal.com/uk/file/734cf55b4bda0eebc1705c3789cda60446bb080d445433cf09adc70c7dad72e7/analysis/1418994705/
I'll report false positive detection.

I feeling much better and now working again.
245  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 14, 2014, 12:13:42 PM
Когда уже будут примеры стратегий со скриптом?

Я заболел и уже больше недели не могу работать.
Как только мне станет лучше я закончу обновление и примеры скриптов.
246  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: December 10, 2014, 03:21:00 PM
Hi,

I have some problems installing on my raspberry pi. After downlaoding the testing branch (ap-get didn't work for me as "qmake QtBitcoinTrader_Desktop.pro" leads to an error "file not found") I switched to the "src" folder and did:
Code:
export QT_SELECT=5
qmake QtBitcoinTrader_Desktop.pro
make && make install && make clean

Got these error reply:
make /usr/binuic-qt4 addrulegroup.ui -o ./ui/ui_addrulegroup.h
make: /usr/bin/uic-qt4: Command not found
Makefile_ 815: recipe for target '.ui/ui_addrulegroup.h' failed
make: *** [.ui/ui_addrulegroup.h] Error 127

Can anyone help me get it working?

Appreciate your help

Looks like Qt5 is not installed and Qt4 used instead.
247  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: December 06, 2014, 04:53:47 PM
Where can I find old versions of the software?

I keep only source code of old versions on sourceforge.net

First I know there was no update yet to fix the bugs I have tried to explain. One of the bugs stuck its head up again today.

12/2
5:25 B 0.010000  Sold       380        manual
8:30 B 0.010000  Sold       382        manual
11:31 B 0.010025 Bought  378        automatic
11:31 B 0.010025 Bought  378        automatic (I started doubling the trades for range trading)
12/3
12:52 B 0.010022 bought  375        manual
12:59 B 0.010022 bought  372.9     manual
4:43   B 0.010022 bought  370        manual
7:29   B 0.010000 sold      375        automatic
7:29   B 0.010000 sold      375        automatic
7:30   B 0.010025 bought  375.013 automatic (The last one that fit the price was 382. The calculated value for That price - (that price * (0.004 + 0.004)) was 378.
7:30   B 0.010025 bought  375.013 automatic (duplicate trade was my plan)

The sell at 375 was profitable. The sell at 375 was 36 seconds before the Buy at 375.013.

Because of this  last sell price being wrong the bot traded wrong. Maybe another way to look at it is if the bot hadn't just sold at 375 the buy at 375 would have been profitable. This mistake isn't new to me. When the mistake happens the bot seems to be in a profitable range. This time the range lasted more then 12 hours. I did not wait for 375 to come up again and sell then. I sold after watching the price come up from 367 to 370 at 370 hoping it would start moving into a range there. The rest of the day being wrong was my fault.

When I get another sell at 375 I doubt the range will still be between 370 and 375. I don't mind that I am not seeing many trades happen per day. It does bother me when the bot gets both a sell and a buy at the same price. With enough cash waiting to trade I could just manually put in a buy at 370 or so and have had the bot back on track. I didn't have enough left. I should have as it is only supposed to buy 2 times if the USD balance / price is > 3 * 0.010025. This should always leave me one trade to make.

Except for the range trading portion taking 1 trade to break even for each mistake it works great. If it could trade more often at that same profit margin I would be happy. As is I am losing money frequently on bad trades. Given enough time it would make the money back. My thought on the above trades is that I only use 1 buy or sell to move the automatic scripts into a new range. This was so that the initial trade was wrong and small. The later trades would be profitable and are larger. It should have a bad trade at a loss. Then 2 good trades at a profit. Making 1 trade of profit in total for 3 complete trades. This is not ideal. Ideal would be each trade was profitable by calculation based on correct data. Since I am not getting correct data I can not get to ideal results. 


I have started work on fixes, but I'm ill now and I'll finish work once I'll feel better.
248  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 04, 2014, 01:38:23 AM
В обновлении планируется возможность работы скрипта с разными валютными парами?

Я знаю что вы этого долго ждете, и я уже давно запланировал такой функционал.
Сейчас это невозможно из-за ограничений количества запросов на биржу, и запуск такого функционала сейчас будет означать большие задержки обновления а так же очень много трафика.
В следующем обновлении будет запуск бета тестирование данных в реальном времени.
Возможность торговать на нескольких биржах одновременно будет тогда когда у программы будут данные со всех бирж и валютных пар одновременно.
249  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 02, 2014, 01:17:01 PM
Будем признательны, если добавите биржу UpBit. Было обновление, появилось торговое API.
Описание здесь: https://upbit.org/api/trade

Если вы являетесь представителем биржи то пишите на support@centrabit.com
250  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 01, 2014, 08:39:39 PM
да, так и приходится делать, но калькулятор, штука, всё таки, удобнее!

Хорошо, я подумаю над новым калькулятором.
251  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 01, 2014, 07:24:08 PM
запускаю калькулятор, чтоб рассчитать продажу определённого количества крипты, но калькулятор позволяет рассчитывать только покупку с последующей продажей.
как рассчитать продажу с последующей покупкой? Huh

или эта функция отсутствует за ненадобностью, или может она должна появиться по-позже?

Калькулятор остался только по просьбам сообщества, нижние панели под покупкой и продажей полностью заменяют всю функциональность калькулятора в обе стороны.
Укажите начальное количество и цену для продажи и последующий ордер на покупку, разницу и доход между обеими панелями увидите на нижних групбоксах для подсчета прибыли последующих ордеров.
252  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 01, 2014, 05:50:39 PM
А когда будут скрипты с рабочими стратегиями

Работа над дополнительными возможностями скриптов почти завершена.
Можно проходить в цикле по всех открытых ордерах, последних транзакциях, исторических данных, стакане и обращаться к любому их свойств ордера.
Будут добавлены индикаторы c metatrader и тогда добавлю шаблоны рабочих скриптов.
Их можно будет выбрать при добавлении вместо пустого скрипта.
253  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: December 01, 2014, 11:07:24 AM
Кто подскажет как создать правилами маленькую стратегию :
Пара - USD/RUR
Цена последней покупки USD например 47.5 rur
Надо чтоб продавалось, когда цена продажи больше или равна "цена покупки + 0,8 %" с учетом комисии, и покупала програма когда цена ниже цены моих продаж как минимум на 0.8 %. И так все время по кругу. У меня не получается создать цыкл. Заранее спасибо.


Вам надо создать в группе три правила, первое на покупку, второе на продажу, а третье на включение всех ордеров в текущей группе правил.
254  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 25, 2014, 12:38:58 AM
QtBitcoinTrader 1.07.97 BETA works on Raspberry Pi.
On my Ubuntu the 1.08 works.

Fixed, please confirm it.

False Alarm on real time calculation. I caused it myself.  Huh I changed the function to not reuse the variable that is created outside the function to calculate the value then return the value to the variable outside the calculation. In other words I renamed the variable in the calcBaseVariable() and forgot to get the value later with baseVariable = calcBaseVariable(). I used this calcBaseVariable();.  Shocked Grin

Sorry for that complaint.

That great. Any bugs left? Please list them.

I'm happy to tell that low latency engine is working now, and private beta is starting soon.
255  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 16, 2014, 04:11:12 PM
After thinking longer on the issue I got the idea that maybe I should use the script engine. Aside from problems with a script starting other scripts I think I have it working somewhat normally. This line doesn't work on script engine codes.
Code:
 trader.delay(0.2, "trader.groupStop('S_Up Buy then Sell')");

Maybe I did that part wrong. Currently I have a group running that does start and stop all the other scripts and groups based on what has already run. I just took the trading parts out from my non-script versions. I have all scripts named correctly unless I missed one somewhere. It does happen to me more then I would like. I am assuming given the huge move up today I should have had it up and running sooner. Today would have been a great day to test.

I can't say it will work better but it may work better. Starting the script engine after the up buy then sell ran I didn't get an identical trade for the next sell I actually got to wait until the price was high enough.


English is not my native language, so sometime I have problem in understanding.
Please make short description how to reproduce problem and I'll fix it faster.

Have some one got working scripts?

Scripts is working.

Bitcoin QT is no longer working for me. I'm on a Windows 32 machine.

It worked a few weeks ago. Now, all it does is let me log on... and then nothing.

Each instance appears in Task Processes and uses up a hella load of CPU power, but nada. No window, no dialog, no error message..... it just doesn't load the main app.

:-S

Looks like you have catch some malware file. Does digital signature from Centrabit presists in exe file properties?
"Bitcoin QT" you talking about Bitcoin p2p client and not "Qt Bitcoin Trader"?
256  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: November 12, 2014, 09:19:40 AM
В данный момент он пустой. потому что я закрывала после этих действий клиент 102 и переходила на клиент98.  

Если повторится то обязательно пришлите лог.
Вот поняла почему так получается.
Итак. мои действия.
1) создается ордер на покупку по х1 цене.
2) создаю правило, что когда этот ордер будет исполнен, то продать по цене последней моей покупки + 1%.
Я предполагаю, что будет создан ордер на продажу по цене х1+1% от  цены х1.
Но оказалось (путем поиска), что берется цена прошлой покупки х0.
Клиент берет для формулы цену последней моей покупки в МОМЕНТ создания правила (когда еще последняя покупка была по цене х0), а не на момент  после исполнения ордера на покупку по цене х1.

Вот почему так получилось. Потому что предпоследняя цена оказалась низкая.

 

Вам следует использовать задержку в правиле. Открытые ордера, последнии транзакции, баланс могут обновляться в разное время.

Спасибо, конечно за совет. Но. Попробовала создавать простейшие скрипты, ничего не получилось. Не могу создавать скрипты. Совсем не поняла логику их создания, хоть умею программировать на обычных языках типа Паскаля.
В скриптах совсем не понятно где головная программа, а где подпрограммы. Что за чем следует и в какой последовательности выполняется. Описание "Как всё это делать?" очень схематичное. Поэтому мне и таким же неумехам остается уповать ТОЛЬКО на готовые правила.

Можете рассматривать скрипт как обычный скрипт JavaScript.
Код выполняется построчно, если строка это команда то она будет выполнена немедленно.
Если строка находится в теле объявления функции то она будет сохранена в функции и выполнена только после вызова функции.
Если вы используете код события, то тело события будет выполнено каждый раз когда изменится значение индикатора.
257  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 10, 2014, 11:28:52 AM
My trading issues with the 1% up and 1% down seemed to keep pointing me to a previous to the expected buy or sell. The 600 second delay didn't work after a restart and forgetting for about an hour to enable the rules I still got a buy above the should be 1% higher sell.

This left me thinking that it was definitely using an older buy price and older sell prices then 10 minutes. That makes me think maybe the time isn't so important. Unfortunately my next idea wasn't successful either. I added another sell to the sell rules and another buy to the buy rules excluding the going down buy rule. This puts 2 sells in 10 minutes before the buy rule will even start. Now the odd thing is I was still able to have sells coming below my last buy (since the market was heading up). I don't know if adding a third buy would be of any help at all. I can't imagine it would do much more then delay potentially through the next range to get to its required price. Of course if it was profitable using 6% of my test amount maybe it would be better then 2 round trip trades executing upside down. If only I could divine why it was doing this.

I have increased some rules to 900 seconds or 15 minutes delay before it starts executing. I can't imagine it helping. Maybe I should only add the really big delay by delaying the start of the enables on trades that end up in a loss after. I'm still trying to get you a better answer as I can easily duplicate the issue but I can't wrap my head around why it happens.

I'm currently working to make all variables saved after restart rule and app.
Also you will able to store any data in database and view values of all variables realtime.
It will helps to understand where is issue and how to make it works.
258  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 08, 2014, 09:48:12 PM
yes i agree with that not being smart, i was simply using it as a placeholder event trigger. regardless, my order does not reach the bitstamp exchange even though it shows in the console. have you seen such behavior? I've tried other pairs, etc. I am able to enter orders manually on the bitstamp website, and I see these orders show up in the QT dashboard. I really don't understand why the ordering doesn't get though....

Manual placing order via Qt Bitcoin Trader works?
If not, than press Alt+Shift+D and send me debug output after open order attempt.
259  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 08, 2014, 09:07:46 PM
Hi Ighor,
Love QT.
I have a question - I'm having some trouble getting bitfinex up and working with the following code, The console outputs: "20:20:06> starting
20:20:06> LTCUSD: Sell 3 at 4" but i don't see orders entered at bitfinex:

//code start:

var lastVAR=0;
var VAR=0;



trader.get("Time")
{
trader.log("starting")
trader.sell("LTCUSD",3,4)
}

//VAR and lastVar are used later
//code end

It looks simple what would you say is wrong here? have you had issues for example between the bitfinex exchange/trading subdivision of accounts, or any other idea of why the order does not go through?

Looks like you have used trader.get("Time") as event? This is a function and you should use event "trader.on("Time").changed()" instead.
Anyway make the same order every second is not a good idea.
260  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: November 08, 2014, 12:43:50 PM
Здравствуйте.

В версии 8.02 для биржи BTC-E на паре GBP/USD имеется косяк с ценами покупки и продажи. Напимер при курсе 1.5, обоих окошках Цена, появляется значение 30. Поставить ордер как на покупку, так и на продажу не получается, он мгновенно исполняется по текущим ценам биржи.
Ещё заметил такую странность, если загрузить скрипт из файла, а затем его удалить из программы, то сам файл со скриптом тоже удаляется из той папки, откуда он загружался.


Спасибо, исправлю.
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!