MCPcopy Create free account

hub / github.com/delta/dalal-street-server / types & classes

Types & classes147 in github.com/delta/dalal-street-server

StructAdjacencyList
models/InspectComponents.go:41
StructAlreadyClosedError
AlreadyClosedError is given out when user tries to Cancel an already closed order. Unlikely to happen, but still possible
models/Ask.go:207
StructAsk
models/Ask.go:65
TypeAliasAskOrderFillStatus
* * PerformOrderFillTransaction performs the following function * - Set transaction price based on order type(Limit, Market). StopLoss needs to be ha
models/User.go:1848
InterfaceAskPQueue
AskPQueue provides a heap priority queue data structure for Asks. It can be max or min ordered. It is synchronized and is safe for concurrent operatio
matchingengine/pqueue.go:24
StructBid
models/Bid.go:14
TypeAliasBidOrderFillStatus
models/User.go:1849
InterfaceBidPQueue
DO NOT DELETE THIS COMMENT : It is required to generate mocks when running "go generate ./..." go:generate mockgen -source pqueue.go -destination ../m
matchingengine/pqueue.go:14
InterfaceBroadcastStream
BroadcastStream represents an object that provides methods for handling a single stream All updates are broadcast to *all* listeners.
datastreams/BroadcastStream.go:12
StructBuyLimitExceededError
BuyLimitExceededError is generated when an Bid's StockQuantity is greater than BUY_LIMIT (for BuyFromExchange orders)
models/User.go:590
StructConfig
Config contains all the configuration options
utils/config.go:12
StructConfig
this files handles config for daily challenges Config model
models/Config.go:10
StructDailyChallenge
DailyChallenge model
models/DailyChallenge.go:21
StructDailyChallengeStatus
models/GameState.go:39
StructDailyLeaderboardRow
models/DailyLeaderboard.go:10
StructEndOfDayValue
models/EndOfDayValues.go:5
FuncTypeFillOrder
go:generate mockgen -source OrderBook.go -destination ../mocks/mock_OrderBook.go -package mocks FillOrder is a type definition for a function that fil
matchingengine/OrderBook.go:14
StructGameState
GameState struct defines different variables of the game
models/GameState.go:74
InterfaceGameStateStream
GameStateStream represents the interface for handling a game state data stream
datastreams/GameStateStream.go:14
TypeAliasGameStateType
models/GameState.go:9
StructInspectComponentResult
Inspect Component Result
models/InspectComponents.go:36
StructInspectDegreeDetails
Result of inspect users
models/InspectUserDegree.go:9
StructInspectDetails
models/InspectDetails.go:18
StructInvalidDividendAmountError
InvalidDividendAmountError is given out when the dividend amount in negative.
models/User.go:650
StructInvalidOrderIDError
InvalidOrderIDError is given out when a user tries to cancel an order he didn't make or that didn't exist
models/User.go:629
StructInvalidRetrievePriceError
InvalidRetrievePriceError is given out when a user tries to cancel an order he didn't make or that didn't exist
models/User.go:636
StructInvalidStockIdError
InvalidStockIdError is given out when the stock id is either more than the number of stocks or negative.
models/User.go:657
StructInvalidTransaction
InvalidTransaction is given out when a user tries to cancel an order he didn't make or that didn't exist
models/User.go:643
StructIpoAlreadyOpenError
models/Ipo.go:51
StructIpoBid
models/IpoBid.go:12
StructIpoNotBiddableError
models/Ipo.go:45
StructIpoOrderStockLimitExceeded
models/IpoBid.go:45
StructIpoStock
models/Ipo.go:11
StructLeaderboardRow
models/LeaderboardRow.go:12
StructLrank
models/InspectDetails.go:26
InterfaceManager
Manager manages access to all data streams
datastreams/Stream.go:28
InterfaceMarketDepthStream
DO NOT DELETE THIS COMMENT : It is required to generate mocks when running "go generate ./..." go:generate mockgen -source MarketDepth.go -destination
datastreams/MarketDepth.go:17
StructMarketEvent
models/MarketEvent.go:12
InterfaceMarketEventsStream
MarketEventsStream defines the interface for interacting with the MyOrders datastream
datastreams/MarketEvents.go:12
StructMarketState
models/GameState.go:11
InterfaceMatchingEngine
MatchingEngine represents a collection of OrderBooks for all stocks in the exchange.
matchingengine/MatchingEngine.go:18
StructMinimumPriceThresholdError
MinimumPriceThresholdError is sent when the order's price is below MINIMUM_ORDER_PRICE
models/User.go:582
StructMockAskPQueue
MockAskPQueue is a mock of AskPQueue interface
mocks/mock_pqueue.go:95
StructMockAskPQueueMockRecorder
MockAskPQueueMockRecorder is the mock recorder for MockAskPQueue
mocks/mock_pqueue.go:101
StructMockBidPQueue
MockBidPQueue is a mock of BidPQueue interface
mocks/mock_pqueue.go:14
StructMockBidPQueueMockRecorder
MockBidPQueueMockRecorder is the mock recorder for MockBidPQueue
mocks/mock_pqueue.go:20
StructMockManager
MockManager is a mock of Manager interface
mocks/mock_Stream.go:14
StructMockManagerMockRecorder
MockManagerMockRecorder is the mock recorder for MockManager
mocks/mock_Stream.go:20
StructMockMarketDepthStream
MockMarketDepthStream is a mock of MarketDepthStream interface
mocks/mock_MarketDepth.go:13
StructMockMarketDepthStreamMockRecorder
MockMarketDepthStreamMockRecorder is the mock recorder for MockMarketDepthStream
mocks/mock_MarketDepth.go:19
StructMockMatchingEngine
MockMatchingEngine is a mock of MatchingEngine interface
mocks/mock_MatchingEngine.go:14
StructMockMatchingEngineMockRecorder
MockMatchingEngineMockRecorder is the mock recorder for MockMatchingEngine
mocks/mock_MatchingEngine.go:20
StructMockOrderBook
MockOrderBook is a mock of OrderBook interface
mocks/mock_OrderBook.go:14
StructMockOrderBookMockRecorder
MockOrderBookMockRecorder is the mock recorder for MockOrderBook
mocks/mock_OrderBook.go:20
StructMortgageQueryData
MortgageQueryData stores stocks in bank of a given stockid
models/MortgageDetail.go:10
InterfaceMulticastStream
MulticastStream represents an object that provides methods for handling multiple groups in a stream. It allows you to broadcast updates to individual
datastreams/MulticastStream.go:12
InterfaceMyOrdersStream
MyOrdersStream defines the interface for interacting with the MyOrders datastream
datastreams/MyOrders.go:11
StructNotEnoughActualWorthError
NotEnoughActualWorth is generated when an Ask's StockQuantity is such that deducting those many stocks will mean that with the current stock worth mul
models/User.go:611
StructNotEnoughCashError
NotEnoughCashError is generated when a Bid's StockQuantity*Price is such that deducting so much cash from the user will leave him with less than MINIM
models/User.go:622
StructNotEnoughStocksError
NotEnoughStocksError is generated when an Ask's StockQuantity is such that deducting those many stocks will leave the user with less than SHORT_SELL_B
models/User.go:599
StructNotification
models/Notification.go:9
InterfaceNotificationsStream
NotificationsStream represents the interface for handling a notifications data stream
datastreams/Notifications.go:14
StructNumberOfUsersResult
Result of number of users
models/InspectUserDegree.go:15
StructOTP
models/OTP.go:26
InterfaceOrderBook
OrderBook stores the order book for a given stock
matchingengine/OrderBook.go:21
StructOrderDepositTransaction
models/OrderDepositTransaction.go:8
StructOrderFill
models/OrderFill.go:7
StructOrderPriceOutOfWindowError
OrderPriceOutOfWindowError is sent when the order's price is outside the allowed price window
models/User.go:571
StructOrderStockLimitExceeded
Public interface List of errors OrderStockLimitExceeded is generated when an order's StockQuantity is greater than ASK/BID_LIMIT
models/User.go:564
TypeAliasOrderType
models/Ask.go:15
StructOtpVerifiedState
models/GameState.go:21
TypeAliasPQType
PQType represents a priority queue ordering kind (see MAXPQ and MINPQ)
matchingengine/pqueue.go:33
StructPasswordChangeRequests
PasswordChangeRequests -> Defines struct
models/PasswordReset.go:13
StructPushNotification
PushNotification the message format for the notification
models/PushNotification.go:44
StructReferralCode
ReferralCode for new users
models/ReferralCode.go:12
StructRegistration
models/Registration.go:20
TypeAliasResolution
Resolution enum
models/StockHistory.go:42
InterfaceSession
Session provides an interface to access a session of a user
session/session.go:22
StructShortSellBank
Short sell bank is an abstraction of inventory, holds the number of stocks of stock available for lending (which is further used for shorting by the u
models/ShortSell.go:10
StructShortSellLends
short sell lends stores all the stock lends to a user this will be used to square-off at EOD
models/ShortSell.go:17
TypeAliasStack
Stack for DFS
models/InspectComponents.go:20
StructStock
models/Stock.go:21
StructStockBankruptError
StockBankruptError is given out when the stock is already bankrupt.
models/User.go:664
StructStockBankruptState
models/GameState.go:25
StructStockDividendState
StockDividendState determines if a company gives dividend
models/GameState.go:16
InterfaceStockExchangeStream
StockExchangeStream interface defines the interface to interact with StockExchange stream
datastreams/StockExchange.go:15
StructStockHistory
models/StockHistory.go:13
InterfaceStockHistoryStream
StockHistoryStream interface defines the interface to interact with StockHistory stream
datastreams/StockHistory.go:11
InterfaceStockPricesStream
StockPricesStream interface defines the interface to interact with StockPrices stream
datastreams/StockPrices.go:14
StructTransaction
models/Transaction.go:78
StructTransactionGraph
Transaction results
models/InspectUserDegree.go:20
StructTransactionSummary
* TransactionSummary models entries to the TransactionSummary table */
models/TransactionSummary.go:6
TypeAliasTransactionType
models/Transaction.go:12
InterfaceTransactionsStream
TransactionsStream defines the interface to interact with a Transactions stream
datastreams/Transactions.go:12
StructUser
User models the User object.
models/User.go:61
StructUserBlockState
models/GameState.go:30
StructUserId
Struct for getting user number to userID mapping
models/InspectUserDegree.go:38
StructUserOtp
models/OTP.go:38
StructUserReferredCredit
models/GameState.go:35
StructUserRewardCredit
models/GameState.go:43
next →1–100 of 147, ranked by callers