Class: DhanHQ::Contracts::BaseContract
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- DhanHQ::Contracts::BaseContract
- Includes:
- DhanHQ::Constants
- Defined in:
- lib/DhanHQ/contracts/base_contract.rb
Overview
Base contract that includes shared logic and constants.
Direct Known Subclasses
ExpiredOptionsDataContract, InstrumentListContract, ModifyOrderContract, OptionChainContract, OptionChainExpiryListContract, OrderContract, PlaceOrderContract, PositionConversionContract, SliceOrderContract, TradeByOrderIdContract, TradeContract, TradeHistoryContract
Constant Summary
Constants included from DhanHQ::Constants
DhanHQ::Constants::AMO_TIMINGS, DhanHQ::Constants::BO, DhanHQ::Constants::BSE, DhanHQ::Constants::BSE_FNO, DhanHQ::Constants::BUY, DhanHQ::Constants::CNC, DhanHQ::Constants::CO, DhanHQ::Constants::COMPACT_CSV_URL, DhanHQ::Constants::CUR, DhanHQ::Constants::DATA_API_PREFIXES, DhanHQ::Constants::DAY, DhanHQ::Constants::DETAILED_CSV_URL, DhanHQ::Constants::DHAN_ERROR_MAPPING, DhanHQ::Constants::EXCHANGE_SEGMENTS, DhanHQ::Constants::FNO, DhanHQ::Constants::INDEX, DhanHQ::Constants::INSTRUMENTS, DhanHQ::Constants::INTRA, DhanHQ::Constants::IOC, DhanHQ::Constants::LIMIT, DhanHQ::Constants::MARGIN, DhanHQ::Constants::MARKET, DhanHQ::Constants::MCX, DhanHQ::Constants::MTF, DhanHQ::Constants::NSE, DhanHQ::Constants::NSE_FNO, DhanHQ::Constants::OPTION_SEGMENTS, DhanHQ::Constants::ORDER_STATUSES, DhanHQ::Constants::ORDER_TYPES, DhanHQ::Constants::PRODUCT_TYPES, DhanHQ::Constants::SEGMENT_MAP, DhanHQ::Constants::SELL, DhanHQ::Constants::SL, DhanHQ::Constants::SLM, DhanHQ::Constants::TRANSACTION_TYPES, DhanHQ::Constants::VALIDITY_TYPES