Know if an alert is "At Market"
Author: abegy
Creation Date: 4/4/2012 1:50 PM
profile picture

abegy

#1
I would like to know how can I test if my alert is 'At market" ?
Sorry for this basic question but I don't know how to manage enum type in a script.
I haven't found an example in your documentation
profile picture

Cone

#2
Documentation:
1. Press F11
2. Alerts Object
3. OrderType
profile picture

Eugene

#3
Just an illustration of managing an enum:
CODE:
Please log in to see this code.
profile picture

abegy

#4
Thank you !
profile picture

abegy

#5
I have the following code and I don't understand why I have the following error : "string" does not contain a definition for 'AtClose'...
Where is the problem ?

CODE:
Please log in to see this code.

profile picture

Eugene

#6
QUOTE:
Where is the problem ?

Not in this snippet.
profile picture

abegy

#7
Sorry... I found the problem. I used a string namely OrderType. It's that why the compilation gives me the error message
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).