Class: Melaya::TradingNamespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/melaya/namespaces.rb

Overview

Namespace grouping all trading-plane modules.

Modules:

  • market — REST market-data + reference endpoints (public + authenticated).
  • account — Authenticated account reads: connected keys, tier limits, usage.
  • sim — Paper trading (sim broker): virtual balance, positions, and orders.
  • strategies — Launch, control, and inspect trading strategies (paper + live).
  • backtest — Historical backtests + parameter sweeps on the Rust engine.
  • stream — WebSocket streaming endpoints (public market data + private feeds).
  • trade — Live trading — credentialed order placement on a connected exchange.

Instance Attribute Summary collapse

Instance Attribute Details

#accountObject

Returns the value of attribute account

Returns:

  • (Object)

    the current value of account



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def 
  @account
end

#backtestObject

Returns the value of attribute backtest

Returns:

  • (Object)

    the current value of backtest



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def backtest
  @backtest
end

#marketObject

Returns the value of attribute market

Returns:

  • (Object)

    the current value of market



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def market
  @market
end

#simObject

Returns the value of attribute sim

Returns:

  • (Object)

    the current value of sim



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def sim
  @sim
end

#strategiesObject

Returns the value of attribute strategies

Returns:

  • (Object)

    the current value of strategies



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def strategies
  @strategies
end

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def stream
  @stream
end

#tradeObject

Returns the value of attribute trade

Returns:

  • (Object)

    the current value of trade



40
41
42
# File 'lib/melaya/namespaces.rb', line 40

def trade
  @trade
end