Show Posts
|
Pages: [1] 2
|
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
|
|
|
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.
|
|
|
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?
|
|
|
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
|
|
|
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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
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 ... ?
|
|
|
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
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
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
|
|
|
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://ip.bitcointalk.org/?u=https%3A%2F%2Fibb.co%2FW0QZs6Q&t=663&c=l30XMD2kX89Lsw) 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
|
|
|
my attempt of a neprogramatora ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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: 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); }
|
|
|
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://ip.bitcointalk.org/?u=https%3A%2F%2Fibb.co%2FW0QZs6Q&t=663&c=l30XMD2kX89Lsw) 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
|
|
|
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.
|
|
|
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
|
|
|
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
|
|
|
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: 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 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/jv2niThank 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](https://bitcointalk.org/Smileys/default/smiley.gif) Thank you Ighor Damjan
|
|
|
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: 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 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/jv2niThank you Damjan
|
|
|
|