MarketTradingSession
struct MarketTradingSession
Market trading session
Fields
Trading session
Trading session
Trading session
Methods
new
pub fn new(inner: MarketTradingSession): MarketTradingSession
[src]
fn new(inner: _MarketTradingSession): MarketTradingSession {
let market = inner.market as Market;
let trade_sessions: [TradingSessionInfo] = [];
for (let _trade_sessions in inner.trade_sessions) {
trade_sessions.push(TradingSessionInfo.new(_trade_sessions));
}
return MarketTradingSession {
market: market!,
trade_sessions,
};
}
new
pub fn new(inner: MarketTradingSession): MarketTradingSession
[src]
fn new(inner: _MarketTradingSession): MarketTradingSession {
let market = inner.market as Market;
let trade_sessions: [TradingSessionInfo] = [];
for (let _trade_sessions in inner.trade_sessions) {
trade_sessions.push(TradingSessionInfo.new(_trade_sessions));
}
return MarketTradingSession {
market: market!,
trade_sessions,
};
}