WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
BuyPositionResult Struct Reference

An auxiliary struct to hold the result of setting a buy position and calculating the total cost. More...

Data Fields

struct WU_Position_ position
double total_cost
double tx_cost

Detailed Description

An auxiliary struct to hold the result of setting a buy position and calculating the total cost.

Definition at line 196 of file basic.c.

Field Documentation

◆ position

struct WU_Position_ BuyPositionResult::position

Definition at line 197 of file basic.c.

◆ total_cost

double BuyPositionResult::total_cost

Definition at line 198 of file basic.c.

◆ tx_cost

double BuyPositionResult::tx_cost

Definition at line 199 of file basic.c.


The documentation for this struct was generated from the following file: