Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sreenivasdoosa
GitHub Repository: sreenivasdoosa/sdoosa-algo-trade-python
Path: blob/master/src/models/Quote.py
296 views
1
2
class Quote:
3
def __init__(self, tradingSymbol):
4
self.tradingSymbol = tradingSymbol
5
self.lastTradedPrice = 0
6
self.lastTradedQuantity = 0
7
self.avgTradedPrice = 0
8
self.volume = 0
9
self.totalBuyQuantity = 0
10
self.totalSellQuantity = 0
11
self.open = 0
12
self.high = 0
13
self.low = 0
14
self.close = 0
15
self.change = 0
16
self.oiDayHigh = 0
17
self.oiDayLow = 0
18
self.lowerCiruitLimit = 0
19
self.upperCircuitLimit = 0
20