Bitcoin Forum
May 24, 2024, 03:33: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 »
261  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: November 07, 2014, 12:21:25 AM
В данный момент он пустой. потому что я закрывала после этих действий клиент 102 и переходила на клиент98. 

Если повторится то обязательно пришлите лог.

С подключением к программе биржи cryptsy подвижек не ожидается?

После этого https://bitcointalk.org/index.php?topic=218044.msg8476915#msg8476915 скорее нет

Никто скриптами рабочими не поделится?

По скоро будут добавлены шаблоны с готовыми стратегиями.

почему-то не работает через мой интернет ваше приложение.... а через телефон работает

Нажмите Alt+Shift+D и пришлите лог. Скорее всего пинг у вашегопровайдера слишком велик. Нидо отредактировать таймаут в ini файле папки %localappdata%\QtBitcoinTrader
262  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: November 03, 2014, 03:50:47 AM
I'm not sure how you can reproduce the problem but I can see something happening.

Thanks for detailed descriptions, I'll try to reproduce it and fix soon.
263  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 28, 2014, 01:34:57 PM
не понимаю где брать этот лог.

В группе правил, "вывод консоли".
264  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 27, 2014, 03:15:31 PM
Ну это уже вообще.
Задано правилами прибавить 0.9% к цене покупки и сформировать ордер на продажу. А сформировала цену меньше покупки.
цена покупки 3.79
прибавка 0.9% это 3.79*1.009=3.82

А программа получила цену 3.78.
Вот скриншот.
<img src="http://savepic.org/6344730.jpg" border="0" alt="мой файл скрин - savepic.org — сервис хранения изображений" />


Не могу воспроизвести баг.
Пришлите лог группы правил.
265  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 26, 2014, 06:12:21 PM
Большое спасибо автору за такую замечательную программку.

Есть небольшая просьба к автору. Нельзя ли добавить дополнительную возможность к правилам.
Аналог стоп-лосса в МТ.

Сейчас правила формируются по схеме:

Когда условие ____ значение, тогда  _____

Список условий ограничен.
цена покупки
цена продажи
макс цена
мин
цена
объем
баланс
.......

Хотелось бы иметь еще одну опцию: зафиксированная цена, чтобы сравнивать её с текущими ценами, которые меняются.

Сейчас мы можем сконструировать такое правило, например:

Когда цена продажи <>= значение 300, тогда _____.

Причем значение мы должны задать числом. И не можем создать правило с изменяемым значением. А хотелось бы.

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

шаг 0 ) задать  начальное значение  фиксированной цены  с.


шаг 1) когда последняя цена > c тогда с=последняя цена.
шаг2)  когда последняя цена >c, тогда с=последняя цена
....
шаг n) когда последняя цена<c, тогда продать немедленно.

на нисходящем тренде

шаг0) запомнить начальное значение(например) с=345.

шаг1) когда последняя цена <c тогда с=посл. цена
......
шаг n) когда последняя цена >c тогда купить.

.....
для этого надо добавить в список
в блок "когда=тип"="фиксированное значение цены"
в блок "значение =тип"="фиксированное значение цены"

в опцию "Тогда=действие"= "приравнять фиксированное значение"

====
и еще хотелось бы сделать развилку действий на случай , если условие не выполняется.

Допустим блок "тогда" раздвоить и сделать "тогда 2" для случая, если условие НЕ выполняется.

То есть первое "ТОГДА" для случая, если условие выполняется, а второе "ТОГДА" для случая невыполнения условия.

Возможно ли так сделать?

Привет. Да это возможно с помощью скриптового языка.
Вы можете создавать свои переменные и события, в вашем случае, создать отдельный скрипт который будет хранить переменную "с" и транслировать ее изменения в все другие скрипты.
Таким образом вы можете создать множество комбинаций стратегий.
http://forum.centrabit.com/viewtopic.php?f=3&t=4168

Новая версия 102 очень красивая, но... не работает корректно.
Придется опять вернуться к старой версии 98-ой.

Еще в 99 были глюки, откатилась к 98-ой.
Попробовала новую 102, опять глюки.
  Итак простое правило

Если баланс BTC  станет > 1, тогда продать все ВТС по заданной цене. В 98-ом хорошо работает, а в 102-ой версии не создается. Говорит, что некорректно.

Ну я понимаю, что в данный момент еще нет ВТС, он будет после срабатывания ордера и вот тогда задание  продать все должно сработать.

В этой новой версии там есть какое-то ограничение и такое правило не создается.

Да и там вообще опция "Продать все" вообще исчезла.

Уважаемый автор, зря убрали пункт "продать все" и потрать всё".

Привет. "Продать все" заменено на "Продать 100%" поскольку это одно и то же действие.
Пришлите скриншот окна добавления правила которое у вас не получается добавить.
Если баг то исправлю.
266  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 23, 2014, 11:36:03 PM



"buy btc" is exact btc amount and "spend usd" btc amount depends on price.

could you please describe it with an example. dont  understand it. thank you.



Sell 1 BTC at 400 USD will place 1 BTC order.
Spend 400 USD will place 1 BTC order only if price is equal to 400 USD
So if you configure "Spend 50% my USD" than you will don't know exact amount of received btc (depends on price), but you will know exact % of usd.
Spend 20 USD will get 0.1BTC at 200 USD price and 0.2 BTC at 100 USD price.
Usage depends on your strategy.
267  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 23, 2014, 11:29:06 PM
i am trading exactly now and its happening about 80% of the orders. really

This bug will be fixed in upcoming update in few days.
268  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 23, 2014, 11:24:38 PM
HI,

low chance? this are 2 rule options

Sorry, mistyped messages.
There is low chance to get 383.80 instead of 383.81.

"buy btc" is exact btc amount and "spend usd" btc amount depends on price.
269  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 23, 2014, 01:31:35 AM
Спасибо автору за программу!
Совсем недавно нашел этот инструмент.
Очень хочется использовать его для торговли альткоинов.
Читал в этой ветке о проблемах с API биржи Cryptsy, MintPal закрывается, остаются из крупных Poloniex, Bittrex, Bter.
Хотел узнать у автора, есть-ли надежда, что какая-то из этих бирж будет добавлена?

Надежда есть, работаю над обновлением, но скоро займусь добавлением бирж.

Респект автору!

Есть ли возможность подключать в скриптовый язык объекты ActiveX?
  типа: var req = new ActiveXObject("Microsoft.XMLHTTP");

или что нибудь в этом направлении можно сделать, чтобы в итоге получать данные по url? а лучше сразу ajax?  Wink

Возможность делать запросы http будет, ActiveX работает только под Windows, думаю что не стоит пользователей разных ос запутывать разными документациями.
Так же запланирована возможность сохранения и восстановление состояния переменных.
Чтение запись файлов и работа с базой данных SQLite.
270  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 21, 2014, 11:25:21 PM
does anybody know that?

Hi. Thanks for bug report. I can confirm that this is bug and it happens with low chance.
It will be fixed in upcoming update.
271  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 18, 2014, 08:11:36 PM
HI Ighor,

2 things:

1. Will you add the support for OKCOIN?
2. The newest versions (1.08-1.08.02) are making in about 60% of order creating times this small mistakes (bug):
I make for example an order with 383.81USD (by typing or using the arrow buttons) but QT  creates an order with 383.80 USD

1. I'll work on it.
2. Thanks, I'll fix it soon. Can you please tell exchange and currency pair you used when this bug happens?
272  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 14, 2014, 09:06:01 PM
I made another mistake before and left out 2 return's. I think that is why the modified script wouldn't execute all day yesterday. I have corrected that issue. I really need to put in a few more log items to chase down that not executing problem to where I messed up.

Ok, give me more info when more log collected.
273  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 14, 2014, 08:04:04 PM
Question about trader.startApp():

Is it possible to pass arguments like
Code:
trader.startApp("/home/usr/test.py myOwnArgument")
or
Code:
trader.startApp("/home/usr/test.py", myOwnArgument)
?

If not, feature request, would be awesome Smiley (sorry, hadn't got the time to test it yet)

Yes, up to 4 arguments for now.
Your second code is correct.
But maybe you need to put python app first and test.py as first and myOwnArgument as second argument.
Code:
trader.startApp("python", "/home/usr/test.py", myOwnArgument)
274  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 14, 2014, 11:11:48 AM
Updated to current version and still having a selling/buying at the wrong price going on. Not on every trade. I think I have found the cause. As only a couple of my rules use the script engine I'm not sure how to correct it. Tonight the internet connection dropped for a while 2 times. The first time the rule was into the executeRule section.
The code I'm thinking was involved is the following:
Code:
 if(trader.get("ApiLag")>10)
 {
 trader.log("Api lag is to high");
 trader.delay(1,"executeRule()");
 return;
 }
The trouble seems to be that the rule will correctly decide the price is right for trading but if something goes wrong I get a trade as soon as the API is back under 10. I am not 100% positive that is it but I am unable to reliably cause this sell or buy issue with only enabling or disabling a rule. I don't have anything setup to figure out if the API is delaying too much. I will try to figure out if I can get the execute to log the API lag when the trade is placed as that should show if this is the issue. I can't be 100% sure it is as the log of the API lag being to high hasn't to my knowledge been on the console. Occasionally I do not check quickly. This leads me to an issue where I have checked after the 20 lines that the history has saved.

As another question this time on to a small problem I am having with the trader.log. I think I am messing up something but the following should be under 4 items with unlimited characters. I can't say for sure that this line has a problem but it appears the condition should have gotten far enough to trigger it.
Code:
 trader.log(baseVariable, " < ", trader.get(AskPrice));

I managed to get a code error on validation with a trader.get in front of baseVariable. I should be able to log the values prior to calling execute and see the last values that the trade should be based on.

EDIT: The second enable on the same group didn't cause a trade to happen low. The API went down while the price was too low and nothing happened when the API came back up.

Thanks I'll inspect what happens on API down.
What event have you used?
275  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 12, 2014, 02:05:30 PM
Added ability to copy the rules and rule to script conversion.
To copy rule you need edit selected rule and set destination group name at right bottom corner. Rule will be converted to script.
Press edit selected rule and you will see "Save" and "Add" buttons, first one just save changes, second adds a duplicated rule.
276  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 12, 2014, 01:56:18 PM
Добавлена возможность копирования правил и конвертация правил в скрипты.
При добавлении или редактировании правила справа внизу есть поле в котором можно указать название группы в которую копировать правило как скрипт.
При редактировании правила есть две кнопки "Сохранить" и "Добавить", первая изменит редактируемое правило, вторая добавит дубликат.
277  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 10, 2014, 06:54:51 PM
Added new JL Script events:

trader.on("OpenOrdersCount").changed()
//Open orders count changed

trader.on("OpenBidsCount").changed()
//Open bids count changed

trader.on("OpenAsksCount").changed()
//Open asks count changed
278  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 10, 2014, 06:54:26 PM
Добавлены новые события в скриптовом языке:

trader.on("OpenOrdersCount").changed()
//Количество открытых ордеров изменилось

trader.on("OpenBidsCount").changed()
//Количество открытых ордеров на покупку изменилось

trader.on("OpenAsksCount").changed()
//Количество открытых ордеров на продажу
279  Local / Трейдеры / Re: Qt Bitcoin Trader [Клиент для безопасных торгов на Mac/Windows/Linux] on: October 10, 2014, 08:39:54 AM
Вышел релиз v1.08!

Исправлены баги скриптового языка когда группа не включается.
Улучшена точность вычислений формул.
Исправлен баг HTTP в Cookies.
Исправлены мелкие баги .
Добавлена биржа Indacoin.
Добавлена серая тема.
Все бинарные файлы теперь на Qt5
API ключи теперь защищены в оперативной памяти.
Это намного усложняет сохранение оперативной памяти сторонними программами и кражу API ключей.
280  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 10, 2014, 08:35:28 AM
v1.08 Released!

Fixed script language bug when rule group can't be enabled.
Improved math calculations accuracy.
Fixed HTTP Cookies bug.
Other minor bugs fixed.
Added Indacoin exchange.
Added gray theme.
All binaries switched to Qt5
API Keys memory dump protection.
Now it impossible to dump memory of running program and get API keys from there.
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!