Search content
Sort by

Showing 20 of 40 results by drrmrr
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 25/08/2019, 10:54:46 UTC
1. So, is there any another way to do that?
2. How can I check file change in QT Bitcoin Trader? If a file was modified

Thank you
D.

1. Hello. Currently there is no other way to communicate between instances.
2. Looks like good idea to add this feature, I'll keep it in todo list.

Thank you
Damjan
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 23/08/2019, 08:34:53 UTC
Hi,

I'm testing one strategy and I'm using Qt Bitcoin Trader for staticstics, which are then processed by another app (through log files). Then, I want to send Qt Bitcoin Trader back buy & sell signal.

Can anyone give me a hint, which way is the best. Now I see only communication between two apps through files.

Thank you
Damjan

1. So, is there any another way to do that?
2. How can I check file change in QT Bitcoin Trader? If a file was modified

Thank you
D.
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 19/08/2019, 16:04:30 UTC
Hi,

I'm testing one strategy and I'm using Qt Bitcoin Trader for staticstics, which are then processed by another app (through log files). Then, I want to send Qt Bitcoin Trader back buy & sell signal.

Can anyone give me a hint, which way is the best. Now I see only communication between two apps through files.

Thank you
Damjan

Are forums removed on page from centrabit? Where is all the content?
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 10/08/2019, 17:39:17 UTC
Hi,

I'm testing one strategy and I'm using Qt Bitcoin Trader for staticstics, which are then processed by another app (through log files). Then, I want to send Qt Bitcoin Trader back buy & sell signal.

Can anyone give me a hint, which way is the best. Now I see only communication between two apps through files.

Thank you
Damjan
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 29/07/2019, 07:05:01 UTC
Each script have to run as separated group, it not possible to include from file.

Hi,

How can I call a function from another .js file? Can you give me an example please.

I want to have only main program in QT Bitcoin trader and it will call functions from another files. That way I can better organize my code.

I would like to have classes in one file and at least one for functions.

Thank you and best regards
Damjan

You can send events between two or more scripts, you can find example if you press Help button in Rules panel.

trader.sendEvent? I will look at it. Thank you. This can very be useful. I will maybe use it for some other cases.

But if I want, can I still import file, require ... ?

Thank you Ighor. Just wanted to be sure. By the way, that trader.sendEvent is hidden gem Smiley
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 28/07/2019, 20:11:07 UTC
Hi,

How can I call a function from another .js file? Can you give me an example please.

I want to have only main program in QT Bitcoin trader and it will call functions from another files. That way I can better organize my code.

I would like to have classes in one file and at least one for functions.

Thank you and best regards
Damjan

You can send events between two or more scripts, you can find example if you press Help button in Rules panel.

trader.sendEvent? I will look at it. Thank you. This can very be useful. I will maybe use it for some other cases.

But if I want, can I still import file, require ... ?
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 28/07/2019, 10:45:59 UTC
Hi,

How can I call a function from another .js file? Can you give me an example please.

I want to have only main program in QT Bitcoin trader and it will call functions from another files. That way I can better organize my code.

I would like to have classes in one file and at least one for functions.

Thank you and best regards
Damjan
Post
Topic
Board Trading Discussion
Re: How to calculate sell after all fees
by
drrmrr
on 06/03/2019, 18:04:21 UTC
Hi everybody,

Thank you for your replies and your hints. I will also consider about the profits. I wanted to trade with little amounts, more times a day and I know that I also must consider bearish or bullish market.

Best regards
Damien
Post
Topic
Board Trading Discussion
Re: How to calculate sell after all fees
by
drrmrr
on 05/03/2019, 17:32:51 UTC
Hi,

i won't trade with such little profit, but also not much bigger than that also.

I playing around with scripts in QT Bitcoin Trader.

Currently I'm trading between USDT and BTC and my take profit is set to 0.3%. If anyone have some recommended strategies to play with then please give reply.
(latest scripts are not online yet)

So thank you for all your answers and suggestions.

Best regards
Damien
Do you have any secondary plan if the market decides to move with the strong bullish or bearish trend? You just take advantage of current flat market conditions and these scripts are designed for flat markets.

Yes, I was thinking about it. Just don't know yet with which strategy should I try first.
Post
Topic
Board Trading Discussion
Re: How to calculate sell after all fees
by
drrmrr
on 05/03/2019, 13:14:40 UTC
Hi,

i won't trade with such little profit, but also not much bigger than that also.

I playing around with scripts in QT Bitcoin Trader.

Currently I'm trading between USDT and BTC and my take profit is set to 0.3%. If anyone have some recommended strategies to play with then please give reply.
(latest scripts are not online yet)

So thank you for all your answers and suggestions.

Best regards
Damien
Post
Topic
Board Trading Discussion
Topic OP
How to calculate sell after all fees
by
drrmrr
on 03/03/2019, 17:12:55 UTC
Hi,

Can someone help me with the formula?

Market fee when buying = 0.1%
Market fee when selling  = 0.15%
If I buy 0.2 BTC at 3800$, at what price must I sell so the profit will be 0.3% in USD?

Can anyone help me, please?

thank you and best regards
Damien
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 17/02/2019, 12:58:27 UTC
Hi,

I have problems with showing my real balance from Binance. It shows that my balance is empty. Is this a known problem?

I Have USDT and zero BTC. I Also have some TUSD and it won't show any balance in any pair.

https://ibb.co/W0QZs6Q

I'm using 1.40.40 64bit version on Windows.

Is it possible that also other currencies are not showing any wallet amounts?


Thank you and best regards
Damien

Can you please give info, how others are trading on Binance?

Thank you
Damien
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 17/02/2019, 12:05:01 UTC
my attempt of a neprogramatora Sad


var signal1Status = variablePath + "Signal1.txt";


function readSignalFiles() {
    var scriptName = "readSignalFiles()";
    eventLogger(scriptName + ".START");

    signal1Status = trader.fileReadAll(signal1StatusFile).toString().trim();    
    signal2Status = trader.fileReadAll(signal2StatusFile).toString().trim();
    
    eventLogger(scriptName + ".signal1Status: " + signal1Status);        //what is eventLogger?
    eventLogger(scriptName + ".signal2Status: " + signal2Status);    

    //signalCorrection();

    signal1StatusOld = signal1Status;    
    signal2StatusOld = signal2Status;
    
    eventLogger(scriptName + ".END");
}



Hi EventLogger is function in my scripts, taht you can find in my github.

My signals were meant little different. To get signals from trading view which I newer finished, but I can post an idea how it could be done.

Look below:

Code:
var variablePath = "D:\\Bitcoin\\QT Bitcoin Trader\\QTBitcointTrader\\";

///////////////                  log to file or window                     ///////////////////
var logToFile = true;
var logToWindow = true;
var logFile = variablePath + "TraderLogger.txt";

function eventLogger(tempString) {
    if (logToFile)
        trader.fileAppend(logFile, trader.dateTimeString() + ": " + tempString);
    if (logToWindow)
        trader.log(tempString);
}
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 17/02/2019, 11:48:48 UTC
Hi,

I have problems with showing my real balance from Binance. It shows that my balance is empty. Is this a known problem?

I Have USDT and zero BTC. I Also have some TUSD and it won't show any balance in any pair.

https://ibb.co/W0QZs6Q

I'm using 1.40.40 64bit version on Windows.

Is it possible that also other currencies are not showing any wallet amounts?


Thank you and best regards
Damien
Post
Topic
Board Altcoin Discussion
Re: Missing withrawal balance - BCAP - tokenhub.com
by
drrmrr
on 23/11/2017, 19:04:57 UTC
Hi,

after about three weeks (not less) or a month I finally received BCAP tokens in my wallet.

I don't know, but I was starting to give up. Very slow support and reply response.

Best regards
D.
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 04/11/2017, 14:37:03 UTC
Hi Ighor,

I'm having some problems with compiling code on latest Raspian 4.9.

Can you please check log file on links below?
https://mega.nz/#!Ekx1hTBD!rQOD2AXjupn304x0CSTbPftmhCtz_iNnuibqYt4kiBE
https://mega.nz/#!M4ByTRyC!0_KleNX6qN3zd9qQtJ4rBJbA_Qr7BtaQI5k5txfKShc

Thank you and best regards
Damjan
Post
Topic
Board Altcoin Discussion
Missing withrawal balance - BCAP - tokenhub.com
by
drrmrr
on 02/11/2017, 17:01:58 UTC
Hi everyone,

I executed withraw for BCAP tokens on tokenhub.com. Now I'm having the problem, because I didn't receive any in myEtherWallet and my balance on token hub is 0.

I was sending email to tokenHub support and they have stopped responding. Can anyone give me some advice about my problem?

Thank you and best regards
Damjan
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 21/09/2017, 06:09:25 UTC
v1.40.09 Released!

- Fixed FeeCalculator crash
- Fixed account open orders filtering and calculations
- UI layout bugs fixed

Wow. That was quick fix.

Thank you
Damjan
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 21/09/2017, 06:06:30 UTC
Hello,

Yes I tried that and it didn't work to split with space charecter. Will try again.

thank you
Damjan

You need to split with endline character .split("\n")

Hi Ighor,

I tried that also with code below:
Code:
var variablePath = "D:\\";
var logFile = variablePath + "config.txt";
var string = trader.fileReadAll(logFile);
var array = string.split("\n");

trader.log("1.:" + array[0]);
trader.log("2.:" + array[1]);
trader.log("3.:" + array[2]);
trader.log("4.:" + array[3]);

and as result I get

Code:
19:15:51> 1.:#comment value1=25.0 #comment value2=25.5 value3=25.6
19:15:51> 2.:undefined
19:15:51> 3.:undefined
19:15:51> 4.:undefined

I have uploaded config file to cloud server https://ufile.io/jv2ni

Thank you
Damjan

Try to add ';' at end of each line and use ';' as split value.
It more JavaScript question than Qt, so better ask JavaScript experts.

O.k. This is how I do it now Smiley

Thank you Ighor
Damjan
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
drrmrr
on 20/09/2017, 17:23:19 UTC
Hello,

Yes I tried that and it didn't work to split with space charecter. Will try again.

thank you
Damjan

You need to split with endline character .split("\n")

Hi Ighor,

I tried that also with code below:
Code:
var variablePath = "D:\\";
var logFile = variablePath + "config.txt";
var string = trader.fileReadAll(logFile);
var array = string.split("\n");

trader.log("1.:" + array[0]);
trader.log("2.:" + array[1]);
trader.log("3.:" + array[2]);
trader.log("4.:" + array[3]);

and as result I get

Code:
19:15:51> 1.:#comment value1=25.0 #comment value2=25.5 value3=25.6
19:15:51> 2.:undefined
19:15:51> 3.:undefined
19:15:51> 4.:undefined

I have uploaded config file to cloud server https://ufile.io/jv2ni

Thank you
Damjan