Sha256: 3e0df2686d46f721dc0bf29e655b206079d975fe745804bcbb420caceb5ec292

Contents?: true

Size: 1.81 KB

Versions: 6

Compression:

Stored size: 1.81 KB

Contents

=begin
#SnapTrade

#Connect brokerage accounts to your app for live positions and trading

The version of the OpenAPI document: 1.0.0
Contact: api@snaptrade.com

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for SnapTrade::OptionsPosition
describe SnapTrade::OptionsPosition do
  let(:instance) { SnapTrade::OptionsPosition.new }

  describe 'test an instance of OptionsPosition' do
    it 'should create an instance of OptionsPosition' do
      expect(instance).to be_instance_of(SnapTrade::OptionsPosition)
    end
  end
  describe 'test attribute "symbol"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "price"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "units"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "currency"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "average_purchase_price"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "open_pnl"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "fractional_units"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snaptrade-1.17.1 spec/models/options_position_spec.rb
snaptrade-1.17.0 spec/models/options_position_spec.rb
snaptrade-1.16.3 spec/models/options_position_spec.rb
snaptrade-1.16.1 spec/models/options_position_spec.rb
snaptrade-1.16.0 spec/models/options_position_spec.rb
snaptrade-1.15.0 spec/models/options_position_spec.rb