get ask price of a certain symbol

Created at 03 Apr 2020, 19:56
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
LU

luca.tocchi

Joined 25.03.2020

get ask price of a certain symbol
03 Apr 2020, 19:56


hi how can i get the ask price of a certain symbol?

My program creates random assets, with Symbol.Ask the bot does not take the random symbol

thanks


@luca.tocchi
Replies

firemyst
05 Apr 2020, 09:57

RE:

luca.tocchi said:

hi how can i get the ask price of a certain symbol?

My program creates random assets, with Symbol.Ask the bot does not take the random symbol

thanks

Symbol mySymbol = Symbols.GetSymbol("AUS200");

double sAsk = mySymbol.Ask;


@firemyst

luca.tocchi
05 Apr 2020, 11:15

RE: RE:

firemyst ha detto:

luca.tocchi ha detto:

ciao come posso ottenere il prezzo ask di un certo simbolo?

Il mio programma crea risorse casuali, con Symbol.Ask il bot non prende il simbolo casuale

Grazie

Simbolo mySymbol - Symbols.GetSymbol("AUS200");

doppio sAsk : mySymbol.Ask;

thanks a lot!


@luca.tocchi