Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Different between LIVE account without PIN and DEMO account
 Post subject: Different between LIVE account without PIN and DEMO account Post rating: 0   New post Posted: Fri 23 Jan, 2015, 03:25 

User rating: 0
Joined: Thu 15 Jan, 2015, 03:00
Posts: 8
Location: Vietnam, Da Nang
Hi !
How to know user type LIVE accout without PIN or DEMO account?
Did all DEMO account contains "DEMO" string?


 
 Post subject: Re: Different between LIVE account without PIN and DEMO account Post rating: 0   New post Posted: Fri 23 Jan, 2015, 13:25 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Hi,

Maybe engine.getType() can get you further?
https://www.dukascopy.com/wiki/index.php ... ,_Run_Mode


 
 Post subject: Re: Different between LIVE account without PIN and DEMO account Post rating: 0   New post Posted: Mon 26 Jan, 2015, 02:15 

User rating: 0
Joined: Thu 15 Jan, 2015, 03:00
Posts: 8
Location: Vietnam, Da Nang
tcsabina wrote:
Hi,

Maybe engine.getType() can get you further?
https://www.dukascopy.com/wiki/index.php ... ,_Run_Mode

In my case, user haven't login yet.
Because I want to user type username and password before login. So, I don't know user fill live or demo account.
I want to my app can login both demo and live, don't need create 2 app (demo app and live app).


 
The Best Answer  Post subject: Re: Different between LIVE account without PIN and DEMO account Post rating: 0   New post Posted: Mon 26 Jan, 2015, 08:42 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can make radio button that will allow user to chose the environment he wants to connect (DEMO or LIVE).


 
 Post subject: Re: Different between LIVE account without PIN and DEMO account Post rating: 0   New post Posted: Mon 26 Jan, 2015, 08:56 

User rating: 0
Joined: Thu 15 Jan, 2015, 03:00
Posts: 8
Location: Vietnam, Da Nang
Oh. Good idea.
Thanks you very much. :D


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com