Skip to content

Commit

Permalink
fixed option url x2
Browse files Browse the repository at this point in the history
  • Loading branch information
gloriousCode committed May 3, 2024
1 parent 7f7234e commit 3fa59a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/bybit/bybit_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ func (by *Bybit) GetCurrencyTradeURL(ctx context.Context, a asset.Item, cp curre
cp.Delimiter = currency.DashDelimiter
return tradeBaseURL + "trade/futures/usdc/" + cp.Upper().String(), nil
case asset.Options:
return tradeBaseURL + "trade/option/" + cp.Base.Upper().String(), nil
return tradeBaseURL + "trade/option/usdc/" + cp.Base.Upper().String(), nil
default:
return "", fmt.Errorf("%w %v", asset.ErrNotSupported, a)
}
Expand Down

0 comments on commit 3fa59a1

Please sign in to comment.