Skip to main content
Ctrl
+
K
Site Navigation
Getting started
API reference
1.82.0
Site Navigation
Getting started
API reference
1.82.0
Section Navigation
otp.run
otp.Source
otp.Source.Symbol
otp.Source.__call__
otp.Source.__getitem__
otp.Source.__setitem__
otp.Source.add_prefix
otp.Source.add_suffix
otp.Source.agg
otp.Source.apply
otp.Source.copy
otp.Source.count (jupyter)
otp.Source.deepcopy
otp.Source.distinct
otp.Source.drop
otp.Source.dropna
otp.Source.dump
otp.Source.execute
otp.Source.first
otp.Source.head (jupyter)
otp.Source.high
otp.Source.high_time
otp.Source.insert_tick
otp.Source.join_with_collection
otp.Source.join_with_query
otp.Source.last
otp.Source.low
otp.Source.low_time
otp.Source.meta_fields
otp.Source.modify_query_times
otp.Source.ob_snapshot
otp.Source.ob_snapshot_flat
otp.Source.ob_snapshot_wide
otp.Source.plot (jupyter)
otp.Source.process_by_group
otp.Source.ranking
otp.Source.rename
otp.Source.render
otp.Source.schema
otp.Source.script
otp.Source.show_symbol_name_in_db
otp.Source.sink
otp.Source.sort
otp.Source.split
otp.Source.state_vars
otp.Source.switch
otp.Source.table
otp.Source.tail (jupyter)
otp.Source.time_filter
otp.Source.time_interval_change
otp.Source.time_interval_shift
otp.Source.to_df
otp.Source.to_graph
otp.Source.to_otq
otp.Source.to_symbol_param
otp.Source.transpose
otp.Source.update
otp.Source.write
otp.Operation
otp.Column.__getitem__
otp.Operation.apply
otp.Operaion.astype
otp.Column.cumsum
otp.Operation.dtype
otp.Operation.expr
otp.Operation.fillna
otp.Operation.isin
otp.Operation.map
otp.Column math operations
otp.Operation.round
otp.Operation.dt
otp.Operation.dt.date
otp.Operation.dt.date_trunc
otp.Operation.dt.day_name
otp.Operation.dt.day_of_month
otp.Operation.dt.day_of_week
otp.Operation.dt.day_of_year
otp.Operation.dt.hour
otp.Operation.dt.minute
otp.Operation.dt.month
otp.Operation.dt.month_name
otp.Operation.dt.quarter
otp.Operation.dt.second
otp.Operation.dt.strftime
otp.Operation.dt.week
otp.Operation.dt.year
otp.Operation.float
otp.Operation.float.cmp
otp.Operation.float.eq
otp.Operation.float.str
otp.Operation.decimal
otp.Operation.decimal.cmp
otp.Operation.decimal.str
otp.Operation.str
otp.Operation.str.concat
otp.Operation.str.contains
otp.Operation.str.endswith
otp.Operation.str.extract
otp.Operation.str.find
otp.Operation.str.first
otp.Operation.str.get
otp.Operation.str.insert
otp.Operation.str.last
otp.Operation.str.len
otp.Operation.str.lower
otp.Operation.str.ltrim
otp.Operation.str.match
otp.Operation.str.regex_replace
otp.Operation.str.repeat
otp.Operation.str.replace
otp.Operation.str.rtrim
otp.Operation.str.slice
otp.Operation.str.startswith
otp.Operation.str.strptime
otp.Operation.str.substr
otp.Operation.str.to_datetime
otp.Operation.str.token
otp.Operation.str.trim
otp.Operation.str.upper
datetime
otp.dt (alias for otp.datetime)
otp.date
otp.now
offsets
otp.Nano
otp.Milli
otp.Second
otp.Minute
otp.Hour
otp.Day
otp.Week
otp.Month
otp.Quarter
otp.Year
types
otp.byte
otp.decimal
otp.default_by_type
otp.msectime
otp.nsectime
otp.short
otp.string
otp.uint
otp.ulong
otp.varstring
sources
otp.CSV
otp.DataSource
otp.Empty
otp.Query
otp.Symbols
otp.Tick
otp.Ticks
order book sources
otp.ObSnapshot
otp.ObSnapshotFlat
otp.ObSnapshotWide
functions
otp.coalesce
otp.cut
otp.format
otp.join
otp.join_by_time
otp.merge
otp.corp_actions
otp.qcut
math
otp.math.cos
otp.math.exp
otp.math.floor
otp.math.ln
otp.math.log10
otp.math.max
otp.math.min
otp.math.mod
otp.math.pi
otp.math.pow
otp.math.rand
otp.math.sign
otp.math.sin
otp.math.sqrt
otp.math.tan
aggregations
otp.agg.average
otp.agg.correlation
otp.agg.count
otp.agg.distinct
otp.agg.first
otp.agg.first_tick
otp.agg.first_time
otp.agg.generic
otp.agg.high_tick
otp.agg.high_time
otp.agg.last
otp.agg.last_tick
otp.agg.last_time
otp.agg.low_tick
otp.agg.low_time
otp.agg.max
otp.agg.mean (alias for otp.agg.average)
otp.agg.median
otp.agg.min
otp.agg.num_distinct
otp.agg.ob_snapshot
otp.agg.ob_snapshot_flat
otp.agg.ob_snapshot_wide
otp.agg.option_price
otp.agg.ranking
otp.agg.stddev
otp.agg.sum
otp.agg.tw_average
otp.agg.variance
otp.agg.vwap
misc
otp.adaptive
otp.by_symbol
otp.CallbackBase
otp.eval
otp.expr
otp.inf
otp.meta_fields
otp.MultiOutputSource
otp.nan
otp.OneTickLib
otp.query (onetick.query reference)
otp.range
otp.raw
otp.remote
Symbol Parameters Objects
session
otp.Session
otp.TestSession
otp.session.Config
otp.session.Locator
otp.session.ACL
otp.DB
otp.RefDB
otp.RemoteTS
otp.LoadBalancing
otp.FaultTolerance
data inspection
otp.databases
otp.derived_databases
otp.inspection.DB
OQD
otp.oqd.sources
state
otp.state.tick_deque
otp.state.tick_list
otp.state.tick_sequence_tick
otp.state.tick_set
otp.state.tick_set_unordered
otp.state.var
otp.config
math
#
See also:
Column math operations
Show Source