Search content
Sort by

Showing 4 of 4 results by burza625
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
burza625
on 16/02/2023, 19:52:19 UTC
Hello,

Is it possible to add an Event/Function "LastMyPrice" wchich would by a combination of "LastMyBuyPrice" and "LastMySellPrice". What I mean is to get value of my last transaction without separating it to ask or bid.

   Egsample 1:

10:00 0.1 BTC sold     at 3700 $
  9:50 0.2 BTC sold     at 3500 $
  9:40 0.1 BTC bought at 3400 $

"LastMyPrice" is 3700.

   Egsample 2:

10:00 0.1 BTC bought at 2500 $
  9:50 0.2 BTC sold     at 3000 $
  9:40 0.1 BTC bought at 2700 $

"LastMyPrice" is 2500.

Existing Event/Function "MyLastTrade" is without value of the transaction.

You will able to fetch and analyze separated orders in next version of script language.

I'm refreshing the topic. Is there any possibility to select the transaction value of my last order whether it is a buy or a sell? Maybe it's possible to use, for example, javascript commands? At the moment I am using this script:

Code:
if (Math.abs(trader.get("LastMyBuyPrice") - trader.get("LastPrice")) < Math.abs(trader.get("LastMySellPrice") - trader.get("LastPrice")))
{
var MojOstatniKurs_ASTBTC = trader.get("LastMyBuyPrice");
}

if (Math.abs(trader.get("LastMyBuyPrice") - trader.get("LastPrice")) > Math.abs(trader.get("LastMySellPrice") - trader.get("LastPrice")))
{
var MojOstatniKurs_ASTBTC = trader.get("LastMySellPrice");
}

but I realize that this is not an optimal solution due to exchange rate fluctuations between LastMyBuyPrice and LastMySellPrice.
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
burza625
on 26/02/2019, 07:25:41 UTC
Thanks for the answer. Time sync was the problem. My computer is connected to the companys domain and its local time is 30 sec different from real time. I've changed it manualy and now everything works fine.
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
burza625
on 20/02/2019, 10:23:52 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

I have same problem. No balance and trading history from Binance. Yesterday everything was OK but today I restarted Qt BT (1.40.40 64bit version on Windows) and shown balance is 0. Ask/Bid Price and Volume are shown on a regular basis. I've tried with new API key - does not help.

On Bitrex everything works fine.

Update:
On my computer at home everything works fine with Binance. The problem is on computer at wotk. Both are on Win 10 x64. I thought that problem is my internet connection at work because its behind Fortigate firewall so I used VPN and temporary disabled Windows firewall - didn't help. API lag is lower than 3 sec. Have no more ideas what may be the reason of that.
Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
burza625
on 31/12/2018, 09:19:28 UTC
Hello,

Is it possible to add an Event/Function "LastMyPrice" wchich would by a combination of "LastMyBuyPrice" and "LastMySellPrice". What I mean is to get value of my last transaction without separating it to ask or bid.

   Egsample 1:

10:00 0.1 BTC sold     at 3700 $
  9:50 0.2 BTC sold     at 3500 $
  9:40 0.1 BTC bought at 3400 $

"LastMyPrice" is 3700.

   Egsample 2:

10:00 0.1 BTC bought at 2500 $
  9:50 0.2 BTC sold     at 3000 $
  9:40 0.1 BTC bought at 2700 $

"LastMyPrice" is 2500.

Existing Event/Function "MyLastTrade" is without value of the transaction.