Skip to content

Commit

Permalink
small tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptohazard committed Nov 30, 2023
1 parent 65c7529 commit 6237e52
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/provider/aevo/aevo.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ func (p Provider) fillOptions(instruments Markets) ([]rainbow.Option, error) {
UnderlyingAsset: i.UnderlyingAsset,
Strike: s,
Expiry: expiryStr,
ExchangeType: "CEX",
Chain: "-",
Layer: "-",
LayerName: "-",
ExchangeType: "DEX",
Chain: "Ethereum",
Layer: "L2",
LayerName: "Aevo",
Provider: name,
UnderlyingQuote: i.QuoteAsset,
QuoteCurrency: "USD",
Expand Down
29 changes: 29 additions & 0 deletions pkg/rainbow/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,32 @@ func ListProviders(ro []Option) map[string]int {
return providerToOptions

}

/*
for easy copy-pasta
rainbow.Option {
Name:
Type:
Asset:
UnderlyingAsset:
Strike:
Expiry:
ExchangeType:
Chain:
Layer:
LayerName:
Provider:
QuoteCurrency:
UnderlyingQuote:
URL:
Bid:
BidIV:
Ask:
AskIV:
MarketIV:
Greeks:
OpenInterest:
ProtocolID:
}
*/

0 comments on commit 6237e52

Please sign in to comment.