Skip to content

Symbol.SwapLong

property · Symbol · cAlgo.API.Internals

DesktopCLICloud

Gets the SWAP charge for long positions of the symbol.

Definition

double SwapLong {get;}
api.Symbol.SwapLong: float

Returns double

Examples

Print("Swap long: {0} ({1})", Symbol.SwapLong, Symbol.SwapCalculationType);
api.Print(f"Swap long: {api.Symbol.SwapLong} ({api.Symbol.SwapCalculationType})")