Created
April 13, 2013 07:29
-
-
Save currencysecrets/5377468 to your computer and use it in GitHub Desktop.
This function returns the spread in double digit form, eg 0.00030 rather than 30.
This file contains 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
// this function returns the spread of the currency in double form | |
double getSpread( string sym ) { | |
return( MarketInfo( sym, MODE_SPREAD ) * MarketInfo( sym, MODE_POINT ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment