Multiple CCY

Posted By: marr

Multiple CCY - 11/26/19 07:42

Is there any method to use two different currency in one script? Example I am using USDT as my main currency and bought BTC then I wanted to buy XRP using the BTC that I bought and Sell the XRP back to USDT using zorro?
Posted By: AndrewAMD

Re: Multiple CCY - 11/26/19 12:51

This topic is discussed in the workshop.
https://zorro-project.com/manual/en/tutorial_kelly.htm

If you haven't already, please complete all of the workshops.
Posted By: marr

Re: Multiple CCY - 11/26/19 12:59

I don't mean multiple assets but the currecy used, on the Accounts.csv we can only set one currency that can be used BTC.B8, my goal is to use multiple currency where I can buy using BTC or XRP or USDT as base currency. So for example I use all my BTC to buy XRP then I want to use the XRP to buy other altcoin and so one and not only use BTC as base currency.
Posted By: jcl

Re: Multiple CCY - 11/27/19 09:09

I see what you mean, but the account list is not the right place for that. Set it to the main currency of your account, which is normally either USD or BTC on a crypto exchange.

In your example, use two asset pairs XRP/BTC and then Othercoin/XRP for the trading.
Posted By: marr

Re: Multiple CCY - 11/28/19 05:50

Is there specific variable for setting the account currency used documented on the manual?
Posted By: jcl

Re: Multiple CCY - 11/29/19 14:45

The account currency is inherent in the pip cost and margin cost of the asset list. The currency symbol in the account list is for displaying only.
Posted By: DdlV

Re: Multiple CCY - 06/04/20 23:33

HI all. I have a tangential question. Following on the BTC<->XRP<->altcoins mentioned above...

Zorro would do a great job of helping maximize the XRP<->altcoins trades so that I ended up with as much XRP as possible.

But what if my real objective is as much BTC as possible? In that case, it doesn't help me at all to end up with a ton of XRP if BTC/XRP has cratered.

Of course I can spend all the time Zorro is trading in church praying for that not to happen laugh , but is there a better way?

Can I cast each trade back to BTC using BTC/XRP at that trade's close and use those figures in Zorro's backtesting for this?

Or does that add so much additional uncertainty as to make the whole thing pointless?

Any other ideas?

Thanks.
© 2024 lite-C Forums