Skip to content

Options Trading Contract #322

Description

@Mkalbani

Location: contracts/options_trading
Language: Rust (Soroban)
Estimated Time: 9 hours
Difficulty: Hard

Description

Implement European and American style options with strike prices, expiration, and settlement.

Tasks

  • Design options structure
  • Implement call/put options
  • Add strike price management
  • Create expiration tracking
  • Implement exercise mechanism
  • Add settlement logic
  • Create Greeks calculation
  • Write comprehensive tests
  • Implement premium collection
  • Add early exercise (American)

Acceptance Criteria

  • Options can be exercised
  • Settlement accurate
  • Greeks calculated
  • Premium collected
  • Expiration enforced
  • All tests pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions