Alpaca on Gecko

Hi guys i have been trying to integrate Alpaca on Gecko, i would like to use that platform to try and compare strategies.

It is made for Cryptocurrency but i think it should not be to hard to edit to make work with “real” markets.

Where i am currently stuck is i need 2 implement 2 more functions but i am a bit confuse at what they are and what they should be in alpaca

The first one is: getTicker, when i look at other exchanges implemented in gecko they all have a “ticker” method.

The second one is: getTrades which seems to be getting transactions not to sure how to implement that one, if someone wanna take a look at what i did so far here is my exchange script:

https://hastebin.com/ijiqewizaz.js

and here is my importer script:

https://hastebin.com/liwuciwora.js

Thanks alot, hope we can build something cool with Gecko!