Knowledgebase:
Client Market Order
Posted by Yousef Ibrahim, Last modified by Yousef Ibrahim on 04 July 2012 10:02 AM

'###########################################################
' Script Name: Client Market Order
' Author: Ehab Kanani
' Description: This Client Script shows how to place a market order
' Website: http://www.hybrid-solutions.com
' Date: March, 22nd, 2012
'###########################################################

Public Sub main()

NewMarketOrder -1,"GOLD",0.5 '(1/-1 = Buy / Sell, SymbolName, Lots)

End Sub

Public Sub OnTick(SymbolName)

End Sub

Public Sub OnInit()
'''TODO: initialization method

End Sub

Public Sub OnDeInit()
'''TODO: deinitialization method

End Sub

Public Sub OnTimer()
'''TODO: Timer Function
End Sub



See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions