Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocation ¶
type PVPosition ¶
type PVRebalance ¶
type PVRebalance struct { Allocation *Allocation NextTradeDate string Transactions []*Transaction }
type PVSecurity ¶
type TradeLink ¶
type TradeLink struct { PortfolioID string AccountID string LastTradeDate time.Time NextTradeDate time.Time }
func (*TradeLink) GetStrategy ¶
func (tl *TradeLink) GetStrategy(positions []*PVPosition, balance *tradestation.Balance) (*PVRebalance, error)
GetStrategy communicates with pv-api and gets the list of transactions that TradeStation should execute
Click to show internal directories.
Click to hide internal directories.