Skip to content

Commit

Permalink
Merge branch 'exchange-expansion' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
serkor1 committed Jun 14, 2024
2 parents 1426fb5 + 037d7db commit 0da3aab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions R/api_mexc.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ mexcDates <- function(
#
# If fundingrate the multiplier
# is 1e3
<<<<<<< HEAD
multiplier <- 1e3 / if (futures) 1e3 else 1
=======
multiplier <- 1e3 / if (futures & !grepl("fundingrate", type)) 1e3 else 1
>>>>>>> exchange-expansion

# Convert and format dates
dates <- convert_date(
Expand Down
4 changes: 2 additions & 2 deletions man/available_tickers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion playground/playground.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
rm(list = ls()); gc(); devtools::load_all()



get_quote(
ticker = "BTC-USDT",
source = "huobi",
Expand All @@ -23,5 +24,4 @@ get_quote(
futures = FALSE
)


# script end;

0 comments on commit 0da3aab

Please sign in to comment.