Hello all,
I need a light help from a api programmer:
I am trying to get started with programming in Blackwood API in c sharp.
I have self started a few thing before and believe that if someone helps to program the logic below, I would have a start base.
The logic that I am trying program is below. Blackwood does have pair functionality built in, but that is beside the point. I need to program the below logic and make it run live.
SymbolOne = IBM
SymbolTwo = GE
SizeOne = 100
SizeTwo = 200
OneTwoDiff = SymbolOne.LastPrice - SymbolTwo.LastPrice
If (OneTwoDiff>25) and (No current positionin Symbol One and Two = 0 Then
(begin block)
Short SymbolOne SizeOne Market
Buy SymbolTwo SizeTwo Market
(End block)
Thank you very much
I need a light help from a api programmer:
I am trying to get started with programming in Blackwood API in c sharp.
I have self started a few thing before and believe that if someone helps to program the logic below, I would have a start base.
The logic that I am trying program is below. Blackwood does have pair functionality built in, but that is beside the point. I need to program the below logic and make it run live.
SymbolOne = IBM
SymbolTwo = GE
SizeOne = 100
SizeTwo = 200
OneTwoDiff = SymbolOne.LastPrice - SymbolTwo.LastPrice
If (OneTwoDiff>25) and (No current positionin Symbol One and Two = 0 Then
(begin block)
Short SymbolOne SizeOne Market
Buy SymbolTwo SizeTwo Market
(End block)
Thank you very much