Bitcoin Forum
May 17, 2024, 04:41:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Qt Bitcoin Trader - Dedicated rule configuration thread  (Read 8065 times)
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 03, 2013, 04:16:55 PM
 #1

The Qt Bitcoin Trader is the best, opensource program available for trading IMO.  If a better one exists, I am yet to find it.  The idea behind this thread is to consolidate all input on properly designing and implementing rules within the program.  This can prove to be a daunting task for many and by tapping into the collective intelligence on Bitcointalk, I hope to simplify proper rule construction for others; both new and experienced users alike. 

Please contribute, subscribe and assist in this altruistic endeavor.    Grin





The Qt Bitcoin Trader application is absolutely amazing!  If you have not tried it, do so immediately.  After realizing the potential and ease of use the Qt Bitcoin Trader provides, be sure to make a donation to the dev, IGHOR.   Donate:  1d6iMwjjNo8ZGYeJBZKXgcgVk9o7fXcjc

IGHOR's official Qt Bitcoin Trader thread can be found here:  https://bitcointalk.org/index.php?topic=201062.0
maz
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 03, 2013, 07:13:25 PM
 #2

The Qt Bitcoin Trader is the best, opensource program available for trading IMO.  If a better one exists, I am yet to find it.  The idea behind this thread is to consolidate all input on properly designing and implementing rules within the program.  This can prove to be a daunting task for many and by tapping into the collective intelligence on Bitcointalk, I hope to simplify proper rule construction for others; both new and experienced users alike. 

Please contribute, subscribe and assist in this altruistic endeavor.    Grin

The Qt Bitcoin Trader application is absolutely amazing!  If you have not tried it, do so immediately.  After realizing the potential and ease of use the Qt Bitcoin Trader provides, be sure to make a donation to the dev, IGHOR.   Donate:  1d6iMwjjNo8ZGYeJBZKXgcgVk9o7fXcjc

IGHOR's official Qt Bitcoin Trader thread can be found here:  https://bitcointalk.org/index.php?topic=201062.0

Great idea Netprofits,

Do you have any that you could share with us?

I currently only use the rules for buying bitcoin's in the event of a flash crash when I am away from the computer. After consulting member 'sootha' on the QtTrader thread I now use the following rule for this.

Example: I am hoping the price of bitcoin will fall below $900 but I must go to work where I can't trade, so the rule I set at home is:

IF 'Market Last Price' GOES LESS THEN '$900' SPEND ALL MY FUNDS @ 'Market Last Price'

This should buy all the coins I can afford if the price plummits to 890 / 750 / 600 etc, but more probably you would get the higher price than lower, however I don't know how API lag effects the bots ability to catch the price, if the API lag is 10 seconds and the price drops to 500 in that time, then you may get a purchase at 500? not sure, but would be nice to test.
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 03, 2013, 10:19:22 PM
Last edit: December 03, 2013, 10:36:04 PM by Netprofits
 #3


Great idea Netprofits,

Do you have any that you could share with us?

Thanks and welcome, Maz!  I use a number of rather simple rules currently which allow me to quickly disable or enable them or adjust pricing as opposed to attempting to create new rules in a dynamic market.  It is obviously critical to be able to react quickly if you are attempting to interpret and reposition yourself in a fast-moving market.  

Today, I expect a test of 1185 (gox).  Therefore, I chose a top (and bottom) for my next trade(s).  I began with a rule to initiate my sale(s) using Sell All or Sell Half @ exact price) at a dollar or so below the closest wall or resistance cluster near the price(s) I chose.  My ask(s) will not appear in the order book until my pre-selected price point is broken.  My intention is to sell into a decent buy order where there is someone pushing the levels well beyond buy support.

I set a number of rules to be available based on the order book to buy back on a dip or even occasionally, bite the bullet, and buy back into a spike.  I constantly monitor the order book and adjust my prices as necessary while trading.  I also try to average my gains or losses by utilizing 2 (or more) price points up and down from my initial buy (or sell) as mentioned.  It is obviously very simple to only use two points in QT as in:

-Sell Half followed by a Sell All or conversely Spend Half my Funds followed by Spend All my Funds-

I read member @sootha's post and learned some things myself.  I am going to go through the tread once more and PM those who were kind enough to share some really great stuff.   Smiley
Voodah
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 04, 2013, 01:52:32 AM
 #4

Following.
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 04, 2013, 03:37:35 AM
 #5

Following.

Welcome, Voodah!  If you or anyone else would like to share how they use QT with rules, please do so.  I also think if someone has a question about configuring a specific rule or set of rules in order to achieve a desired result, they should post that particular query.  This way folks far more experienced than myself using QT or even trading for that matter, will hopefully see it and contribute to this thread.

Good Day!
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 04, 2013, 04:27:08 PM
 #6

Last trades:  Sell Half @ 1185.9 & Sell All @ 1199.9 executed by QT on Gox.  
r0sc0e
Full Member
***
Offline Offline

Activity: 143
Merit: 100


View Profile
December 04, 2013, 06:41:17 PM
 #7

New version is coming today ( i hope )
soothaa
Hero Member
*****
Offline Offline

Activity: 1151
Merit: 528



View Profile
December 04, 2013, 07:03:36 PM
 #8

I really want boolean/complicated rules.

If bitcoin < 1100 && litcoin down 10%, sell all litecoin, but all bitcoin.

Want increased coin support within AwesomeMiner? Try my free plugin to add support for nearly any coin! https://bitcointalk.org/index.php?topic=2979494
Want Masternode income stats within AwesomeMiner? Try my free plugin to add support for them! https://bitcointalk.org/index.php?topic=3047367
r0sc0e
Full Member
***
Offline Offline

Activity: 143
Merit: 100


View Profile
December 04, 2013, 07:25:27 PM
 #9

for new feature we have to help IGHOR with donations, please help to get some coins for his excellent work! :-)
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 05, 2013, 04:36:10 PM
Last edit: December 05, 2013, 04:47:28 PM by Netprofits
 #10

I really want boolean/complicated rules.

If bitcoin < 1100 && litcoin down 10%, sell all litecoin, but all bitcoin.

Welcome, soothaa!  Indeed.  This is an area I would like to see us explore as well, both within and among different coins.  I lost a lot of potential profits last night while I slept and my normal strategy was implemented by QT during the retrace.  

Code:
I would like to gauge the % of change and/or acceleration of a dip/rally and regulate the turning on and off of preset buy/sell orders.
Netprofits (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
December 05, 2013, 04:38:12 PM
 #11

New version is coming today ( i hope )

Welcome, r0sc0e!  Thanks for the information and I appreciate you joining the thread.   
soothaa
Hero Member
*****
Offline Offline

Activity: 1151
Merit: 528



View Profile
December 05, 2013, 07:21:02 PM
 #12

I really want boolean/complicated rules.

If bitcoin < 1100 && litcoin down 10%, sell all litecoin, but all bitcoin.

Welcome, soothaa!  Indeed.  This is an area I would like to see us explore as well, both within and among different coins.  I lost a lot of potential profits last night while I slept and my normal strategy was implemented by QT during the retrace.  

Code:
I would like to gauge the % of change and/or acceleration of a dip/rally and regulate the turning on and off of preset buy/sell orders.
I've checked out the source code and I'm beginning to write a few custom buttons for myself.

Want increased coin support within AwesomeMiner? Try my free plugin to add support for nearly any coin! https://bitcointalk.org/index.php?topic=2979494
Want Masternode income stats within AwesomeMiner? Try my free plugin to add support for them! https://bitcointalk.org/index.php?topic=3047367
paulluopaulluo
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 06, 2013, 08:19:03 AM
Last edit: December 06, 2013, 08:33:04 AM by paulluopaulluo
 #13

i've some idea

if we can set

"if the last market price is < or > my XX% last trade price(or last market price) than auto  make a  new order which amount is XX% of my balance(in $/BTC) which price is  XX% market price, & if some Condition has reached than skip out this loop"

than we can make sure if some situation happened like yesterday we still can keep our  BTC not lose too mush even we are not @ PC



surely which XX% is profitable for trade still need to be fine tune & test , i'm work out on it . if you have some idea ,welcome to discuss @ this thread~
Squeaker
Sr. Member
****
Offline Offline

Activity: 450
Merit: 250


View Profile WWW
December 08, 2013, 10:11:29 AM
 #14

Perhaps gather together a list of the various variables/functions we would expect to need for custom rules too.

Things like, the current lowest sell price on the order book, current highest buy price, perhaps functions to return how many you would need to buy or sell to reach the specified price (with an inclusive and exclusive version)

would need to do some basic math... add/subtract/multiply/divide/percent...

subsets would be nice, but if we can make the rule with multiple steps, that would work too

perhaps a timer, or variables we can set... so say, if sell price goes above my target, I could have my behavior set up so it doesn't start selling right away.

for example, say I was setting up my custom rule, that I wanted to sell above 800, if I was currently holding more than 10 BTC (or my BTC value was higher than 60% of my btc_value+usd, meaning my coin-to-fiat ratio was going up), and the highest buy price on the books, had stayed above 800 for over a minute. If all those conditions were true, then place a sell order at 800 for, say, 1% of my balance-on-hand, with a 60 second timer on it to cancel the order (if any is left unfilled), etc.

basically a scripting language of sorts, so we can tailor our own behaviors.

wouldn't really want everybody doing the same exact behavior, or we just end up getting in each other's way.

(and yeah, I know what I'm asking for is a HUGE thing, but hey... gotta have lofty goals to reach for Cheesy )

Love what you guys have done so far with the program (tho being able to change the font size would be a nice thing for these tired old eyes of mine).

EABEAB
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
December 10, 2013, 05:16:14 PM
 #15

I use BtcChina via QT-Trader via BtcChina API, works great for the most part,
but often, and I mean often the connection to the API goes down and the WebSite
is off-line at the same time.

Happen to me last night when I cashed out to Cash / Yuan and the problem did not correct itself
until the next morning, I cashed out at $50,000 Yuan, in the morning when their site came back
on-line the market had raised to $57,580 Yuan, I have been Up-Side Down all day waiting for the
market to either lower itself or make a few good trades to get the coin back I lost, I was at 10 BTC
when the BtChina site went off line, now at the current market rate I'm at 8.8 BTC, even with these
problems it's hard to leave because the trades are FREE, but I'm beginning to ask myself are they
really FREE with missed opportunity costs (a 758 Yuan rise), started out with BiFinex and never had
site down problems except for once, surprised to hear that MtGox and BitStamp also have these problems.


Also Qt-Trader Market High, Low, Last, and BTC Volume fields do not populate when using BtcChina
with those four fields not populating I'm assuming that setting rules using them would also not work on BtcChina.

Also the "All-In" button never works correctly in QT-Trader with BtcChina,
Always have to edit the price by hand manually.



Notice that many have requested "Trailing Stops", still not implemented,
many have also requested the BitFinex API, still not implemented,
which would also more than likely include the "Trailing Stops" automatically.
Percentages asked for, still not implemented.

This problem with BtcChina's API timing-out does not reflect directly upon QT-Trader,
I read another tread which stated it's DDoS attacks from other Exchanges that cause this
and it's the reason that BtcChina's owner, the former CEO of Wal-Mart China decided to offer
"ZERO TRADING FEES - FREE TRADES"

But I'm here to tell you that in the long-run you end up paying when the API and the WebSite both
times out and can't be accessed and the market goes against you, or you miss the train and the market
takes off without you as in my case now, in the end the trades are not FREE

I also have a VPN to try and circumvent the DDoS attacks by changing my I.P. sometimes I can connect again
even whereas from the previous I.P. it was impossible to connect, which leads me to belive they are not really
DDoS Attacks but API Failure, in that if they were really DDoS attacks, one would not be able to connect again
regardless if one changed I.P. or not, but I think that I've learned my lesson and would rather just pay the .12%
fee at BitFinex, this has been a really costly mistake using BtcChina and getting timed-out for a 12-Hour period.

Thanks
battani
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
December 13, 2013, 05:21:52 PM
 #16

I don't know if anyone else is having trouble here, but when I set rules on BTCChina, the rules get executed correctly (it says "done" and is highlighted in green) but the orders attached to the rules don't go through. For example, as a test, I set this rule as a stop loss for a sell I made:

https://i.imgur.com/3NhjZLP.png

This rule is executed, but the consequent order is not placed, and I'm left with the same BTC balance. Would be great if someone could comment on this.

Or perhaps there's a simpler way to set stop losses and profit targets?

Otherwise, I absolutely love QT. Great job Ighor!
IGHOR
Legendary
*
Offline Offline

Activity: 1035
Merit: 1065



View Profile WWW
December 13, 2013, 05:36:55 PM
 #17

I don't know if anyone else is having trouble here, but when I set rules on BTCChina, the rules get executed correctly (it says "done" and is highlighted in green) but the orders attached to the rules don't go through. For example, as a test, I set this rule as a stop loss for a sell I made:



This rule is executed, but the consequent order is not placed, and I'm left with the same BTC balance. Would be great if someone could comment on this.

Or perhaps there's a simpler way to set stop losses and profit targets?

Otherwise, I absolutely love QT. Great job Ighor!

Hi. Updated today with buy all in fix.
Please restart app and check for updates.
And update to newest version.

Qt Bitcoin Trader
Verify digital signature of the app in the file properties every time you download it.
battani
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
December 13, 2013, 11:15:34 PM
 #18

Still doesn't seem to be working for me, even with the latest update... Placed the below rule as a stop loss, it executed the rule, but did not make the trade.

https://i.imgur.com/OMmkbr1.png
IGHOR
Legendary
*
Offline Offline

Activity: 1035
Merit: 1065



View Profile WWW
December 14, 2013, 12:36:19 PM
 #19

Still doesn't seem to be working for me, even with the latest update... Placed the below rule as a stop loss, it executed the rule, but did not make the trade.



Hi. Do you see your correct balance?
Please contact me by email and we will debug it tomorrow.

Qt Bitcoin Trader
Verify digital signature of the app in the file properties every time you download it.
Wilma
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 28, 2013, 11:56:19 AM
 #20

Is the market high and low displayed at the upper right corner of the QT Trader showing past week rates?

If so does it start a new sequence every Sunday at 00:00 or when/how the high and low data is composed?

Thank you for the help!
Pages: [1] 2 »  All
  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!