Bitcoin Forum
May 01, 2024, 06:59:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 10, 2019, 05:52:59 AM
Now it's working, thank  you.

Could you explain to me, how to use trader.fileWrite/Read(path,data) commands?

I tried:

Code:
trader.fileWrite("/home/pullTW/testFile","something to write"); 

But nothing is written :/

edit:

I changed path to .../Documents/testFile and it worked

Next, I changed path to old one, and worked too

Strange...
2  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 09, 2019, 12:07:30 PM
Quote
Hello. In script editor dialog there is popup buttons like Functions, Commands.. They are generated automatically and contains complete list of existing functions, excluding JavaScript itself.

Hi again, I know those buttons, but I was asking about up to date documentation(how to use, proper syntax etc).

Quote
Try this trader.startApp("/bin/bash", "path to your script");

Tried your method from manually created script, works fine. But fails when using automatically generated rule with:


Additionally tried manually editing rule with these arguments:

Code:
"/bin/bash", "/home/pi/Apps/QtBitcoinTrader-skrypty/mail.sh"
and without quotation and colon:
Code:
/bin/bash /home/pi/Apps/QtBitcoinTrader-skrypty/mail.sh

but nothing happens, debug log says nothing about issue Sad

3  Bitcoin / Project Development / Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux] on: October 08, 2019, 08:04:40 AM
Hi IGHOR, I wanted to be notified about QtBitcoinTrader operations, so I have set up mail smtp configuration with ssmtp and mailutils packages and its functions properly when I run this simple mail.sh bash script from terminal:

Code:
#/bin/bash
echo "Hello, I have done something!" | mail -s "notification" *********.gmail.com

Unfortunately, using QtTraders trader.startApp(path) function, nothng happens Sad
Have I done something wrong here?

Also, where can I read about functions such as trader.write/readtofile(path,data) and such? Docs at centrabit are outdated, and doesn't include newer additions.

I'm asking because I tried to use trader.writetofile(path,data) but nothing seems to happen.

ps. Its still the best application of its kind

Regards
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!