Created
March 3, 2015 17:59
-
-
Save itsff/4682b8fe289a54198430 to your computer and use it in GitHub Desktop.
Optimization test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub.Symbol = src.Symbol | |
pub.Trade = src.Trade | |
pub.Ask = src.Ask | |
if src.MsgType == "D" | |
if src.BatCode == "B" | |
pub.Junk = veh.Bid | |
pub.Bid = 123 | |
end | |
end | |
if src.MsgType == "D" and src.BatCode == "B" | |
pub.Ask = src.Ask | |
veh.Ask = src.Ask | |
end | |
if src.MsgType == "Z" and src.BatCode == "B" | |
pub.Junk = "abc" | |
pub.Trade = "trade" | |
end | |
if src.MsgType == "D" and src.BatCode == "B" | |
pub.Junk = "DB" | |
pub.Trade = "DBT" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment